Index: chrome/android/BUILD.gn |
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn |
index bdb39fb329cc22d119393aeef154d55223ce0bae..20bb414cb43434f37826802d5595f16047578ad9 100644 |
--- a/chrome/android/BUILD.gn |
+++ b/chrome/android/BUILD.gn |
@@ -161,6 +161,7 @@ android_library("chrome_java") { |
srcjar_deps = [ |
":chrome_android_java_enums_srcjar", |
+ ":chrome_android_java_google_api_keys_srcjar", |
":chrome_version_srcjar", |
":custom_tabs_service_aidl", |
":resource_id_javagen", |
@@ -181,6 +182,19 @@ android_library("chrome_java") { |
# GYP: //chrome/chrome_browser.gypi:connection_security_levels_java |
# GYP: //chrome/chrome_browser.gypi:tab_load_status_java |
# GYP: //chrome/chrome_browser.gypi:infobar_action_type_java |
+ |
+action("chrome_android_java_google_api_keys_srcjar") { |
+ script = "//build/android/gyp/java_google_api_keys.py" |
+ _output_path = "$target_gen_dir/$target_name.srcjar" |
+ outputs = [ |
+ _output_path, |
+ ] |
+ args = [ |
+ "--srcjar", |
+ rebase_path(_output_path, root_build_dir), |
+ ] |
+} |
+ |
java_cpp_enum("chrome_android_java_enums_srcjar") { |
sources = [ |
"//chrome/browser/android/activity_type_ids.h", |