Google Api Keys missing message after building chromium

306 views
Skip to first unread message

pratik dand

unread,
Mar 8, 2015, 9:53:30 PM3/8/15
to chromi...@chromium.org
Dear,

I checked out the recent version of chromium and built it using ninja. On running I get a message saying "Google Api keys are missing, Some functionality of chromium will be disabled." and hint me to a page to get the keys. I have got the keys and baked it into my building.

I performed a clean build but still see the message and the following errors in my console. Any help to resolve this error will be appreciated.
Thanks.



[5599:5599:0309/094747:ERROR:url_pattern_set.cc(240)] Invalid url pattern: chrome://print/*
[5599:5599:0309/094747:ERROR:background_mode_manager_aura.cc(14)] Not implemented reached in virtual void BackgroundModeManager::EnableLaunchOnStartup(bool)
[5599:5625:0309/094748:WARNING:data_reduction_proxy_config.cc(211)] SPDY proxy OFF at startup
[5599:5599:0309/094748:WARNING:gcm_driver_desktop.cc(840)] request_gcm_statistics_callback_ is NULL.
[5599:5599:0309/094750:INFO:CONSOLE(19)] "Uncaught ReferenceError: $ is not defined", source: chrome-extension://ijhlikjoigjegofbedmfmlcfkmhabldh/background.html (19)
[5599:5599:0309/094751:INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://www.google.com.sg/_/chrome/newtab/manifest?espv=2&ie=UTF-8", source: https://www.google.com.sg/_/chrome/newtab?espv=2&ie=UTF-8 (0)
[5599:5599:0309/094751:INFO:CONSOLE(0)] "Application Cache Checking event", source: https://www.google.com.sg/_/chrome/newtab?espv=2&ie=UTF-8 (0)
[5599:5599:0309/094751:INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://www.google.com.sg/_/chrome/newtab?espv=2&ie=UTF-8 (0)
[5599:5599:0309/094751:ERROR:CONSOLE(0)] "Error in event handler for (unknown): TypeError: Cannot read property 'hiding' of undefined
    at Object.adblock_begin.handleHiding (chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/adblock_start_chrome.js:104:13)
    at chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/adblock_start_common.js:194:12", source: https://www.google.com.sg/_/chrome/newtab?espv=2&ie=UTF-8 (0)
[5599:5599:0309/094754:ERROR:CONSOLE(17)] "Uncaught ReferenceError: Runtime is not defined", source: chrome-devtools://devtools/bundled/devtools.html?&can_dock=true&dockSide=undocked&toolbarColor=rgba(242,242,242,1)&textColor=rgba(76,76,76,1) (17)
[5599:5599:0309/094754:ERROR:CONSOLE(1)] "Uncaught ReferenceError: DevToolsAPI is not defined", source:  (1)
[5599:5599:0309/094754:ERROR:CONSOLE(1)] "Uncaught ReferenceError: DevToolsAPI is not defined", source:  (1)
[5599:5599:0309/094754:ERROR:CONSOLE(1)] "Uncaught ReferenceError: DevToolsAPI is not defined", source:  (1)
[6:7:0309/094803:WARNING:channel.cc(547)] Failed to send message to ack remove remote endpoint (local ID 1, remote ID 1)
[6:7:0309/094803:WARNING:channel.cc(547)] Failed to send message to ack remove remote endpoint (local ID 2147483648, remote ID 2)

pratik dand

unread,
Mar 9, 2015, 3:31:55 AM3/9/15
to chromi...@chromium.org
I was able to get resolve the "Google Apis keys are missing" error.
Thanks!

Paweł Hajdan, Jr.

unread,
Mar 10, 2015, 5:20:52 AM3/10/15
to pratik...@gmail.com, chromium-dev
If possible please post what did you do to resolve the error.


Paweł

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

pratik dand

unread,
Mar 10, 2015, 5:24:21 AM3/10/15
to chromi...@chromium.org
Please follow this procedure described here:


Get the keys as described in the above link. In the section, Providing keys at runtime, its preferable to use the gyp flags method.
Do a clean build next. It should start working!


On Monday, 9 March 2015 09:53:30 UTC+8, pratik dand wrote:
Reply all
Reply to author
Forward
0 new messages