aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorVictor Hsieh <victorhsieh@google.com>2018-11-16 15:12:03 -0800
committerVictor Hsieh <victorhsieh@google.com>2018-11-19 19:30:16 +0000
commitf9919c7d5292fcd3f23d1c17600c0aee733aefef (patch)
treefb337676bdaf69e86cdd584365f45cc566547b9c /scripts
parent6028c3bdf4ee2aaa547fa134a52305597d6a807b (diff)
downloadbuild_soong-f9919c7d5292fcd3f23d1c17600c0aee733aefef.tar.gz
build_soong-f9919c7d5292fcd3f23d1c17600c0aee733aefef.tar.bz2
build_soong-f9919c7d5292fcd3f23d1c17600c0aee733aefef.zip
manifest_fixer: make --prefer-integrity an enabler
The last change should have changed this from taking a boolean to a simple switch. Test: build a package with LOCAL_PREFER_INTEGRITY=true Bug: 112037137 Change-Id: I5ce3b1455404b5c8e781496d26c0431db52a170f
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/manifest_fixer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/manifest_fixer.py b/scripts/manifest_fixer.py
index 07925df6..64f49cb2 100755
--- a/scripts/manifest_fixer.py
+++ b/scripts/manifest_fixer.py
@@ -61,7 +61,7 @@ def parse_args():
help='specify additional <uses-library> tag to add. android:requred is set to false')
parser.add_argument('--uses-non-sdk-api', dest='uses_non_sdk_api', action='store_true',
help='manifest is for a package built against the platform')
- parser.add_argument('--prefer-integrity', type=bool, dest='prefer_integrity',
+ parser.add_argument('--prefer-integrity', dest='prefer_integrity', action='store_true',
help=('specify if the app prefers strict integrity. Should not be conflict if ' +
'already declared in the manifest.'))
parser.add_argument('input', help='input AndroidManifest.xml file')