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

Unified Diff: build/java_apk.gypi

Issue 11189010: Make resource directory option in gyp template optional. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « no previous file | 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 0973f8dbba2df85dccbc0c2f5e9f70afcf43891c..0181a16784e61a1db322d4affda6fa796aad2d73 100644
--- a/build/java_apk.gypi
+++ b/build/java_apk.gypi
@@ -66,6 +66,7 @@
'proguard_flags%': '',
'native_libs_paths': [],
'manifest_package_name%': 'unknown.package.name',
+ 'resource_dir%':'',
},
'sources': [
'<@(native_libs_paths)'
@@ -106,11 +107,16 @@
# If there is a separate find for additional_src_dirs, it will find the
# wrong .java files when additional_src_dirs is empty.
'>!@(find >(java_in_dir) >(additional_src_dirs) -name "*.java")',
- '<!@(find <(java_in_dir)/<(resource_dir) -name "*")',
'>@(input_jars_paths)',
'>@(native_libs_paths)',
'>@(additional_input_paths)',
],
+ 'conditions': [
+ ['"<(resource_dir)"!=""', {
+ 'inputs': ['<!@(find <(java_in_dir)/<(resource_dir) -name "*")']
cjhopman 2012/10/16 20:27:12 Nit: indentation
+ },
+ ]
+ ],
'outputs': [
# TODO(cjhopman): Apks are built with a -debug suffix even when they are
# built in release. This should be fixed.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698