Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / test / android / browsertests_apk / AndroidManifest.xml.jinja2
blob42b9282911714c262dc1f048d7ba07662f336c85
1 <?xml version="1.0" encoding="utf-8"?>
3 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
7 -->
9 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
10 package="org.chromium.components_browsertests_apk">
12 <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="23" />
13 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
14 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
15 <uses-permission android:name="android.permission.CAMERA" />
16 <uses-permission android:name="android.permission.INTERNET"/>
17 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
18 <uses-permission android:name="android.permission.RECORD_AUDIO"/>
19 <uses-permission android:name="android.permission.VIBRATE"/>
20 <uses-permission android:name="android.permission.WAKE_LOCK"/>
21 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
23 <application android:name="ComponentsBrowserTestsApplication"
24 android:label="ComponentsBrowserTests">
25 <activity android:name="ComponentsBrowserTestsActivity"
26 android:launchMode="singleTask"
27 android:theme="@android:style/Theme.Holo.Light.NoActionBar"
28 android:configChanges="orientation|keyboardHidden|keyboard|screenSize"
29 android:hardwareAccelerated="true"
30 android:process=":test_process">
31 <intent-filter>
32 <action android:name="android.intent.action.MAIN"/>
33 <category android:name="android.intent.category.LAUNCHER"/>
34 </intent-filter>
35 </activity>
36 <!-- The following service entries exist in order to allow us to
37 start more than one sandboxed process. -->
39 <!-- NOTE: If you change the values of "android:process" for any of the below services,
40 you also need to update kHelperProcessExecutableName in chrome_constants.cc. -->
41 {% set num_sandboxed_services = 20 %}
42 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERVICES"
43 android:value="{{ num_sandboxed_services }}"/>
44 {% for i in range(num_sandboxed_services) %}
45 <service android:name="org.chromium.content.app.SandboxedProcessService{{ i }}"
46 android:process=":sandboxed_process{{ i }}"
47 android:isolatedProcess="true"
48 android:exported="false" />
49 {% endfor %}
51 {% set num_privileged_services = 3 %}
52 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SERVICES"
53 android:value="{{ num_privileged_services }}"/>
54 {% for i in range(num_privileged_services) %}
55 <service android:name="org.chromium.content.app.PrivilegedProcessService{{ i }}"
56 android:process=":privileged_process{{ i }}"
57 android:isolatedProcess="false"
58 android:exported="false" />
59 {% endfor %}
60 </application>
62 <instrumentation android:name="org.chromium.native_test.NativeTestInstrumentationTestRunner"
63 android:label="ComponentsBrowserTests"
64 android:targetPackage="org.chromium.components_browsertests_apk"/>
65 </manifest>