| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of this |
| source code is governed by a BSD-style license that can be found in the |
| LICENSE file. |
| --> |
| |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:tools="http://schemas.android.com/tools" |
| package="{{package|default('com.android.webview')}}"> |
| <uses-sdk android:minSdkVersion="{{minsdk|default(21)}}" |
| android:targetSdkVersion="{{targetsdk|default(24)}}"> |
| </uses-sdk> |
| |
| <uses-feature android:name="android.hardware.touchscreen" |
| android:required="false"/> |
| |
| <application android:label="Android System WebView" |
| android:icon="@drawable/icon_webview" |
| android:multiArch="true" |
| android:use32bitAbi="true"> |
| {# This part is shared between stand-alone WebView and Monochrome #} |
| {% macro common(manifest_package, webview_lib) %} |
| <activity android:name="com.android.webview.chromium.LicenseActivity" |
| android:label="@string/license_activity_title"> |
| <intent-filter> |
| <action android:name="android.settings.WEBVIEW_LICENSE" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED" |
| android:value="true" /> |
| </activity> |
| <provider android:name="com.android.webview.chromium.LicenseContentProvider" |
| android:exported="true" |
| android:authorities="{{ manifest_package }}.LicenseContentProvider" /> |
| <meta-data android:name="com.android.webview.WebViewLibrary" |
| android:value="{{ webview_lib }}" /> |
| {% endmacro %} |
| {{ common(package|default('com.android.webview'), 'libwebviewchromium.so') }} |
| <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERVICES" |
| android:value="1"/> |
| <service android:name="org.chromium.content.app.SandboxedProcessService0" |
| android:process=":sandboxed_process0" |
| android:isolatedProcess="true" |
| android:exported="true" |
| android:externalService="true" |
| tools:ignore="ExportedService" /> |
| <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SERVICES" |
| android:value="0"/> |
| </application> |
| </manifest> |