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

Unified Diff: build/java_apk.gypi

Issue 477903003: Make the WebView apk build in the Chrome tree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« android_webview/android_webview_glue.gypi ('K') | « build/all.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/java_apk.gypi
diff --git a/build/java_apk.gypi b/build/java_apk.gypi
index be5033bb4a9dc899edbc9d43c077f7c64fc4d8e2..d7e1312e570afe3a733e531dee74b5d4f1e1ba62 100644
--- a/build/java_apk.gypi
+++ b/build/java_apk.gypi
@@ -56,6 +56,7 @@
# code. This allows a test APK to inject a Linker.TestRunner instance at
# runtime. Should only be used by the chromium_linker_test_apk target!!
# never_lint - Set to 1 to not run lint on this target.
+# java_in_dir_suffix - To override the /src suffix on java_in_dir.
{
'variables': {
'tested_apk_obfuscated_jar_path%': '/',
@@ -99,6 +100,7 @@
'lint_result': '<(intermediate_dir)/lint_result.xml',
'lint_config': '<(intermediate_dir)/lint_config.xml',
'never_lint%': 0,
+ 'java_in_dir_suffix%': '/src',
'instr_stamp': '<(intermediate_dir)/instr.stamp',
'jar_stamp': '<(intermediate_dir)/jar.stamp',
'obfuscate_stamp': '<(intermediate_dir)/obfuscate.stamp',
@@ -624,7 +626,7 @@
# Java files instead of using find. (As is, this will be broken if two
# targets use the same java_in_dir and both use java_apk.gypi or
# both use java.gypi.)
- 'java_sources': ['>!@(find >(java_in_dir)/src >(additional_src_dirs) -name "*.java" # apk)'],
+ 'java_sources': ['>!@(find >(java_in_dir)>(java_in_dir_suffix) >(additional_src_dirs) -name "*.java" # apk)'],
},
'inputs': [
@@ -676,7 +678,7 @@
{
'variables': {
'src_dirs': [
- '<(java_in_dir)/src',
+ '<(java_in_dir)<(java_in_dir_suffix)',
'>@(additional_src_dirs)',
],
'lint_jar_path': '<(jar_path)',
« android_webview/android_webview_glue.gypi ('K') | « build/all.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698