aboutsummaryrefslogtreecommitdiff
path: root/build-android/AndroidManifest.xml
diff options
context:
space:
mode:
authorCody Northrop <cnorthrop@google.com>2016-07-13 17:24:59 -0600
committerCody Northrop <cnorthrop@google.com>2016-07-28 10:44:55 -0600
commit7b71e4f4d0fd918ce33a39041673cde143e2fbc9 (patch)
tree74deef9b612c6dc2a0ec61d3a80e9c9192bddf50 /build-android/AndroidManifest.xml
parenta2a6781a13aa06048eef06e326d51166a5fa191b (diff)
downloadusermoji-7b71e4f4d0fd918ce33a39041673cde143e2fbc9.tar.xz
tests: Create APK version of layer validation tests
Diffstat (limited to 'build-android/AndroidManifest.xml')
-rw-r--r--build-android/AndroidManifest.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/build-android/AndroidManifest.xml b/build-android/AndroidManifest.xml
new file mode 100644
index 00000000..45a26b63
--- /dev/null
+++ b/build-android/AndroidManifest.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.VulkanLayerValidationTests" android:versionCode="1" android:versionName="1.0">
+
+ <!-- This is the platform API where NativeActivity was introduced. -->
+ <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="23"/>
+
+ <!-- This .apk has no Java code itself, so set hasCode to false. -->
+ <application android:label="@string/app_name" android:hasCode="false" android:debuggable='false'>
+
+ <!-- This allows writing log files to sdcard -->
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+
+ <!-- Our activity is the built-in NativeActivity framework class.
+ This will take care of integrating with our NDK code. -->
+ <activity android:name="android.app.NativeActivity" android:label="@string/app_name" android:exported="true">
+ <!-- Tell NativeActivity the name of or .so -->
+ <meta-data android:name="android.app.lib_name" android:value="VulkanLayerValidationTests"/>
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
+ </intent-filter>
+ </activity>
+ </application>
+
+</manifest>