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

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..314dbd150b684a076325592f4fdfe7c5aa50239d 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,20 @@ 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 = rebase_path("${target_name}.srcjar", ".", target_gen_dir)
agrieve 2015/11/04 02:09:11 These two lines are a bit weird. I copied this par
dvh 2015/11/04 05:26:11 Done.
+ _output_file = get_path_info(_output_path, "abspath")
+ outputs = [
+ _output_file,
+ ]
+ args = [
+ "--srcjar",
+ _output_path,
+ ]
+}
+
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