1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3Copyright 2021 The ANGLE Project Authors. All rights reserved. 4Use of this source code is governed by a BSD-style license that can be 5found in the LICENSE file. 6--> 7 8<manifest xmlns:android="http://schemas.android.com/apk/res/android" 9 package="com.android.angle.test" 10 android:versionCode="1" 11 android:versionName="1.0"> 12 13 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 14 <uses-permission android:name="android.permission.BLUETOOTH"/> 15 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> 16 <uses-permission android:name="android.permission.CHANGE_CONFIGURATION"/> 17 <uses-permission android:name="android.permission.CAMERA" /> 18 <uses-permission android:name="android.permission.INTERNET"/> 19 <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/> 20 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/> 21 <uses-permission android:name="android.permission.RECORD_AUDIO"/> 22 <uses-permission android:name="android.permission.SET_TIME_ZONE"/> 23 <uses-permission android:name="android.permission.WAKE_LOCK"/> 24 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 25 26 <!-- Explicitly set the attribute requestLegacyExternalStorage to "true" 27 since it is "false" by default on apps targeting Android 10, and that 28 breaks test listing. See 29 https://developer.android.com/training/data-storage#scoped-storage and 30 https://developer.android.com/training/data-storage/compatibility. --> 31 <application android:label="NativeTests" 32 android:requestLegacyExternalStorage="true"> 33 <uses-library android:name="android.test.runner"/> 34 <activity android:name=".AngleUnitTestActivity" 35 android:label="NativeTest" 36 android:configChanges="orientation|screenSize|screenLayout|keyboardHidden" 37 android:exported="true" 38 android:process=":test_process"> 39 {% if is_component_build == 'true' %} 40 <meta-data android:name="android.app.lib_name" 41 android:value="{{ native_library_name }}.cr" /> 42 {% else %} 43 <meta-data android:name="android.app.lib_name" 44 android:value="{{ native_library_name }}" /> 45 {% endif %} 46 <intent-filter> 47 <action android:name="android.intent.action.MAIN" /> 48 <category android:name="android.intent.category.LAUNCHER" /> 49 </intent-filter> 50 </activity> 51 </application> 52 53 <instrumentation android:name="org.chromium.build.gtest_apk.NativeTestInstrumentationTestRunner" 54 android:targetPackage="com.android.angle.test" 55 android:label="Instrumentation entry point for com.android.angle.test" 56 chromium-junit3="true"/> 57 58</manifest> 59