Plz advice about emerge-${BOARD} chromeos-chrome's internal process.

21 views
Skip to first unread message

Bin

unread,
Jul 10, 2024, 6:01:39 AMJul 10
to ChromiumOS Development
emerge-reven chromeos-chrome doesn't embed ~/.googleapikeys.
Because...
In the ebuild file, there is add_api_keys() function.
But the function is never called by src_prepare(), since the google_apis/internal dir appears with src_unpack().

When I manually execute add_api_keys() function by src_prepare() modification, It works.
emerge-reven chromeos-chrome embeds ~/.googleapikeys.

Now I am curious what makes the google_apis/internal dir? and what is the purpose?
I didn't add any IUSE flags (chrome_internal flag is offed), but why it appears and screw up?

Raul Rangel

unread,
Jul 10, 2024, 12:48:31 PM (14 days ago) Jul 10
to ChromiumOS Development, Bin
google_apis/internal is creates by the chrome source checkout: https://chromium.googlesource.com/chromium/src/+/main/DEPS#4804

You need to have an internal check out for that git repo to be present.

Dominik Behr

unread,
Jul 11, 2024, 8:24:02 PM (13 days ago) Jul 11
to ChromiumOS Development, Raul Rangel, Bin
You may want to read this article https://www.chromium.org/developers/how-tos/api-keys/
Reply all
Reply to author
Forward
0 new messages