summaryrefslogtreecommitdiffstats
path: root/build/jni_generator.gypi
diff options
context:
space:
mode:
authortorne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 14:16:12 +0000
committertorne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 14:16:12 +0000
commitb31395502f844ed1de3f6189247859bc0747dbf1 (patch)
treeb469bf8a84dc617e56b30691da769e1c413ede00 /build/jni_generator.gypi
parent50641fcd9e224d94cbdc39243f1979254e0b86bb (diff)
downloadchromium_src-b31395502f844ed1de3f6189247859bc0747dbf1.zip
chromium_src-b31395502f844ed1de3f6189247859bc0747dbf1.tar.gz
chromium_src-b31395502f844ed1de3f6189247859bc0747dbf1.tar.bz2
Android WebView: add empty jarjar ruleset.
We don't have any jarjar rules yet, but add the empty file now in order that the downstream build can enable jarjar. This way, when rules are added later it will just work, instead of breaking the downstream build temporarily. Also, make sure that when a jarjar rule file is being used, it's considered as an input to the JNI generator step, to make sure the JNI header files get regenerated when the rules change. BUG= Review URL: https://chromiumcodereview.appspot.com/15888011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203141 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/jni_generator.gypi')
-rw-r--r--build/jni_generator.gypi7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/jni_generator.gypi b/build/jni_generator.gypi
index a5b9db6..680a0ee 100644
--- a/build/jni_generator.gypi
+++ b/build/jni_generator.gypi
@@ -55,6 +55,13 @@
],
'message': 'Generating JNI bindings from <(RULE_INPUT_PATH)',
'process_outputs_as_sources': 1,
+ 'conditions': [
+ ['jni_generator_jarjar_file != ""', {
+ 'inputs': [
+ '<(jni_generator_jarjar_file)',
+ ],
+ }]
+ ],
},
],
# This target exports a hard dependency because it generates header