summaryrefslogtreecommitdiff
path: root/tools/aapt2/integration-tests
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2016-03-03 10:09:26 -0800
committerAdam Lesinski <adamlesinski@google.com>2016-03-04 17:02:42 -0800
commit626a69f34536d01db0847df0051199beaecce060 (patch)
tree96f2c6b77d3db445c6e81de7b0ac416329416c73 /tools/aapt2/integration-tests
parentf311b01b843434151d04e75c1b50f36447031278 (diff)
AAPT2: Support --no-version-vectors
Change-Id: I8029b2f9e2f7ab8e37a49565f95210f47a7be609
Diffstat (limited to 'tools/aapt2/integration-tests')
-rw-r--r--tools/aapt2/integration-tests/AppOne/Android.mk1
-rw-r--r--tools/aapt2/integration-tests/StaticLibTwo/res/drawable/vector.xml3
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/aapt2/integration-tests/AppOne/Android.mk b/tools/aapt2/integration-tests/AppOne/Android.mk
index 859cc8cbf4e5..bc40a6269382 100644
--- a/tools/aapt2/integration-tests/AppOne/Android.mk
+++ b/tools/aapt2/integration-tests/AppOne/Android.mk
@@ -24,4 +24,5 @@ LOCAL_SRC_FILES := $(call all-java-files-under,src)
LOCAL_STATIC_ANDROID_LIBRARIES := \
AaptTestStaticLibOne \
AaptTestStaticLibTwo
+LOCAL_AAPT_FLAGS := --no-version-vectors
include $(BUILD_PACKAGE)
diff --git a/tools/aapt2/integration-tests/StaticLibTwo/res/drawable/vector.xml b/tools/aapt2/integration-tests/StaticLibTwo/res/drawable/vector.xml
new file mode 100644
index 000000000000..dd5979f7e838
--- /dev/null
+++ b/tools/aapt2/integration-tests/StaticLibTwo/res/drawable/vector.xml
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf-8"?>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:pathData="1123"/>