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

Unified Diff: build/config/android/rules.gni

Issue 617103007: Revert of Revert of Use the new java_cpp_enum rule in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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 | « android_webview/libwebviewchromium.gypi ('k') | build/get_landmines.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/rules.gni
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni
index 4e9f3a81002609eaea2bb9d49922ad5eb925d410..e211bbe1947a7af1729fcd091d82eb930cc22e12 100644
--- a/build/config/android/rules.gni
+++ b/build/config/android/rules.gni
@@ -301,7 +301,7 @@
assert(defined(invoker.outputs))
action("${target_name}__generate_enum") {
- sources = rebase_path(invoker.sources, root_build_dir)
+ sources = invoker.sources
script = "//build/android/gyp/java_cpp_enum.py"
gen_dir = "${target_gen_dir}/${target_name}/enums"
outputs = get_path_info(
@@ -313,7 +313,7 @@
foreach(output, rebase_path(outputs, root_build_dir)) {
args += ["--assert_file", output]
}
- args += sources
+ args += rebase_path(invoker.sources, root_build_dir)
}
generate_enum_outputs = get_target_outputs(":${target_name}__generate_enum")
« no previous file with comments | « android_webview/libwebviewchromium.gypi ('k') | build/get_landmines.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698