Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: android_webview/apk/java/AndroidManifest.xml

Issue 2634563002: android_webview: support building a stub WebView. (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/config/android/rules.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- 2 <!--
3 Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of this 3 Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of this
4 source code is governed by a BSD-style license that can be found in the 4 source code is governed by a BSD-style license that can be found in the
5 LICENSE file. 5 LICENSE file.
6 --> 6 -->
7 7
8 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 8 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
9 xmlns:tools="http://schemas.android.com/tools" 9 xmlns:tools="http://schemas.android.com/tools"
10 package="{{package|default('com.android.webview')}}"> 10 package="{{package|default('com.android.webview')}}">
11 <uses-sdk android:minSdkVersion="{{minsdk|default(21)}}" 11 <uses-sdk android:minSdkVersion="{{minsdk|default(21)}}"
12 android:targetSdkVersion="{{targetsdk|default(24)}}"> 12 android:targetSdkVersion="{{targetsdk|default(24)}}">
13 </uses-sdk> 13 </uses-sdk>
14 14
15 <uses-feature android:name="android.hardware.touchscreen" 15 <uses-feature android:name="android.hardware.touchscreen"
16 android:required="false"/> 16 android:required="false"/>
17 17
18 <uses-permission android:name="android.permission.INTERNET"/> 18 <uses-permission android:name="android.permission.INTERNET"/>
19 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 19 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
20 20
21 <application android:label="Android System WebView" 21 <application android:label="Android System WebView"
22 android:icon="@drawable/icon_webview" 22 android:icon="@drawable/icon_webview"
23 android:multiArch="true" 23 android:multiArch="true"
24 android:use32bitAbi="true"> 24 android:use32bitAbi="true">
25 {# This part is shared between stand-alone WebView and Monochrome #} 25 {# This part is shared between stand-alone WebView and Monochrome #}
26 {% macro common(manifest_package, webview_lib) %} 26 {% macro common(manifest_package, webview_lib) %}
27 <activity android:name="com.android.webview.chromium.LicenseActivity "
28 android:label="@string/license_activity_title">
29 <intent-filter>
30 <action android:name="android.settings.WEBVIEW_LICENSE" />
31 <category android:name="android.intent.category.DEFAULT" />
32 </intent-filter>
33 <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CO NTROLLED"
34 android:value="true" />
35 </activity>
36 <provider android:name="com.android.webview.chromium.LicenseContentP rovider"
37 android:exported="true"
38 android:authorities="{{ manifest_package }}.LicenseContentPr ovider" />
39 <meta-data android:name="com.android.webview.WebViewLibrary" 27 <meta-data android:name="com.android.webview.WebViewLibrary"
40 android:value="{{ webview_lib }}" /> 28 android:value="{{ webview_lib }}" />
41 <service android:name="org.chromium.android_webview.crash.CrashRecei verService" 29 {% if donor_package is not defined %}
42 android:exported="true" 30 <activity android:name="com.android.webview.chromium.LicenseActi vity"
43 android:process=":crash_receiver_service"/> 31 android:label="@string/license_activity_title">
44 <service android:name="org.chromium.android_webview.crash.AwMinidump UploadJobService" 32 <intent-filter>
45 android:permission="android.permission.BIND_JOB_SERVICE" 33 <action android:name="android.settings.WEBVIEW_LICENSE" />
46 android:exported="true" 34 <category android:name="android.intent.category.DEFAULT" />
47 android:process=":crash_receiver_service"/> 35 </intent-filter>
36 <meta-data android:name="com.android.settings.PRIMARY_PROFIL E_CONTROLLED"
37 android:value="true" />
38 </activity>
39 <provider android:name="com.android.webview.chromium.LicenseCont entProvider"
40 android:exported="true"
41 android:authorities="{{ manifest_package }}.LicenseCon tentProvider" />
42 <service android:name="org.chromium.android_webview.crash.CrashR eceiverService"
43 android:exported="true"
44 android:process=":crash_receiver_service"/>
45 <service android:name="org.chromium.android_webview.crash.AwMini dumpUploadJobService"
46 android:permission="android.permission.BIND_JOB_SERVICE "
47 android:exported="true"
48 android:process=":crash_receiver_service"/>
49 {% endif %}
48 {% endmacro %} 50 {% endmacro %}
49 {{ common(package|default('com.android.webview'), 'libwebviewchromium.so ') }} 51 {{ common(package|default('com.android.webview'), library|default('libwe bviewchromium.so')) }}
52 {% if donor_package is defined %}
53 <meta-data android:name="com.android.webview.WebViewDonorPackage"
54 android:value="{{ donor_package }}" />
55 {% endif %}
50 {% set num_sandboxed_services = 20 %} 56 {% set num_sandboxed_services = 20 %}
51 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERV ICES" 57 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERV ICES"
52 android:value="{{ num_sandboxed_services }}"/> 58 android:value="{{ num_sandboxed_services }}"/>
53 {% for i in range(num_sandboxed_services) %} 59 {% for i in range(num_sandboxed_services) %}
54 <service android:name="org.chromium.content.app.SandboxedProcessService{ { i }}" 60 <service android:name="org.chromium.content.app.SandboxedProcessServ ice{{ i }}"
55 android:process=":sandboxed_process{{ i }}" 61 android:process=":sandboxed_process{{ i }}"
56 android:isolatedProcess="true" 62 android:isolatedProcess="true"
57 android:exported="true" 63 android:exported="true"
58 android:externalService="true" 64 android:externalService="true"
59 tools:ignore="ExportedService" /> 65 tools:ignore="ExportedService" />
60 {% endfor %} 66 {% endfor %}
61 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SER VICES" 67 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SER VICES"
62 android:value="0"/> 68 android:value="0"/>
63 </application> 69 </application>
64 </manifest> 70 </manifest>
OLDNEW
« no previous file with comments | « no previous file | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698