diff options
author | 2019-05-20 13:14:18 -0700 | |
---|---|---|
committer | 2019-05-24 13:43:27 -0700 | |
commit | 7211910fd0d158cd2a4e7d610f1e32b8c9d25817 (patch) | |
tree | 880199e40107060f716293930f4e6660358d131c /scripts/manifest_fixer_test.py | |
parent | 4af387c20e4d72bf2997a405e344f818f2891da2 (diff) |
Add manifest_check tool
Add a tool that can check that the <uses-library> tags in an
AndroidManifest.xml file match a list provided by the build.
Bug: 132357300
Test: manifest_check_test
Change-Id: If15abf792282bef677469595e80f19923b87ab62
Diffstat (limited to 'scripts/manifest_fixer_test.py')
-rwxr-xr-x | scripts/manifest_fixer_test.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/manifest_fixer_test.py b/scripts/manifest_fixer_test.py index 7fbbc17ba..20354218c 100755 --- a/scripts/manifest_fixer_test.py +++ b/scripts/manifest_fixer_test.py @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -"""Unit tests for manifest_fixer_test.py.""" +"""Unit tests for manifest_fixer.py.""" import StringIO import sys @@ -393,10 +393,10 @@ class AddExtractNativeLibsTest(unittest.TestCase): return output.getvalue() manifest_tmpl = ( - '<?xml version="1.0" encoding="utf-8"?>\n' - '<manifest xmlns:android="http://schemas.android.com/apk/res/android">\n' - ' <application%s/>\n' - '</manifest>\n') + '<?xml version="1.0" encoding="utf-8"?>\n' + '<manifest xmlns:android="http://schemas.android.com/apk/res/android">\n' + ' <application%s/>\n' + '</manifest>\n') def extract_native_libs(self, value): return ' android:extractNativeLibs="%s"' % value |