Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: chrome/android/BUILD.gn

Issue 1411913005: Make Google API keys available for the Java codebase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/constants/__init__.py ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « build/android/pylib/constants/__init__.py ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698