summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authoryfriedman <yfriedman@chromium.org>2016-03-23 17:14:05 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-24 00:14:59 +0000
commit5c1bca05189d7e8024b848e25ecb2813b53b6056 (patch)
tree9263c91b2618e5df8340c99d37d8346f19d7de40 /build
parent034eb016c60d2a6fa3cb4d7747c7a9dfe036ad48 (diff)
downloadchromium_src-5c1bca05189d7e8024b848e25ecb2813b53b6056.zip
chromium_src-5c1bca05189d7e8024b848e25ecb2813b53b6056.tar.gz
chromium_src-5c1bca05189d7e8024b848e25ecb2813b53b6056.tar.bz2
Default no-locals to 0 in dex.py.
gyp always specified a value for --no-locals when compiling targets but GN doesn't. This resulted in GN erroneously stripping them. BUG=596134 Review URL: https://codereview.chromium.org/1830693003 Cr-Commit-Position: refs/heads/master@{#382985}
Diffstat (limited to 'build')
-rwxr-xr-xbuild/android/gyp/dex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/android/gyp/dex.py b/build/android/gyp/dex.py
index 10d7ca0..9400ff2 100755
--- a/build/android/gyp/dex.py
+++ b/build/android/gyp/dex.py
@@ -47,7 +47,7 @@ def _ParseArgs(args):
parser.add_option('--proguard-enabled-input-path',
help=('Path to dex in Release mode when proguard '
'is enabled.'))
- parser.add_option('--no-locals',
+ parser.add_option('--no-locals', default='0',
help='Exclude locals list from the dex file.')
parser.add_option('--incremental',
action='store_true',