Chromium change: https://source.chromium.org/chromium/chromium/src/+/3de380708a7011c04afacd6518a8696eefda3bdf Reland "Android: Enable R8 for android_browsertests" This reverts commit 5e1b879b2ca5e88d04fd34a4eaa108e1fb34e746. Reason for reland: fix arm32 build Original change's description: > Revert "Android: Enable R8 for android_browsertests" > > This reverts commit 41f6affc510597a34f5ad211cc52dc15e4d64901. > > Reason for revert: Believed to be causing a tree closure because of compile failure for android-archive-rel bot > > Original change's description: > > Android: Enable R8 for android_browsertests > > > > Should make the tests run a bit faster and also reduce logspam about dex > > verification failures. > > > > Include-Ci-Only-Tests: true > > Bug: 40277467 > > Change-Id: I0bc52427421bb68ee30b866f874f9a64448be27e > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4743219 > > Reviewed-by: Haiyang Pan <hypan@google.com> > > Commit-Queue: Andrew Grieve <agrieve@chromium.org> > > Auto-Submit: Andrew Grieve <agrieve@chromium.org> > > Cr-Commit-Position: refs/heads/main@{#1331978} > > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > > Bug: 40277467 > Change-Id: I41c12a887721ac108dc8578fddc493d25e5da5d4 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5736492 > Owners-Override: David Pennington <dpenning@google.com> > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> > Commit-Queue: David Pennington <dpenning@chromium.org> > Reviewed-by: Haiyang Pan <hypan@google.com> > Cr-Commit-Position: refs/heads/main@{#1332011} Bug: 40277467
173 lines
8.8 KiB
Django/Jinja
173 lines
8.8 KiB
Django/Jinja
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- Copyright 2021 The Brave 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="org.chromium.android_browsertests_apk">
|
|
|
|
<uses-feature android:glEsVersion="0x00020000" />
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
|
|
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
|
|
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
|
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
|
|
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
|
|
<uses-permission android:name="android.permission.VIBRATE"/>
|
|
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
|
|
|
|
<application android:name="org.chromium.android_browsertests_apk.ChromeBrowserTestsApplication"
|
|
android:label="ChromeBrowserTests"
|
|
android:requestLegacyExternalStorage="true">
|
|
<activity android:name="org.chromium.android_browsertests_apk.ChromeBrowserTestsActivity"
|
|
android:launchMode="singleTask"
|
|
android:theme="@style/Theme.Chromium.TabbedMode"
|
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize"
|
|
android:hardwareAccelerated="true"
|
|
android:process=":test_process"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity android:name="org.chromium.chrome.browser.media.MediaLauncherActivity"
|
|
android:theme="@android:style/Theme.NoDisplay"
|
|
android:excludeFromRecents="true"
|
|
android:exported="true"
|
|
android:enabled="false"><!-- This will be selectively enabled at runtime. -->
|
|
<intent-filter tools:ignore="AppLinkUrlError">
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<!-- TODO(https://crbug.com/800875): Limit these to
|
|
supported MIME types. -->
|
|
<data android:mimeType="image/*" />
|
|
<data android:mimeType="video/*" />
|
|
<data android:scheme="file" />
|
|
<data android:scheme="content" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity-alias android:name="org.chromium.chrome.browser.media.AudioLauncherActivity"
|
|
android:targetActivity="org.chromium.chrome.browser.media.MediaLauncherActivity"
|
|
android:theme="@android:style/Theme.NoDisplay"
|
|
android:excludeFromRecents="true"
|
|
android:exported="true"
|
|
android:enabled="false"><!-- This will be selectively enabled at runtime. -->
|
|
<intent-filter tools:ignore="AppLinkUrlError">
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<!-- TODO(https://crbug.com/800875): Limit these to supported MIME types. -->
|
|
<data android:mimeType="audio/*" />
|
|
<data android:scheme="file" />
|
|
<data android:scheme="content" />
|
|
</intent-filter>
|
|
</activity-alias>
|
|
|
|
<activity android:name="org.chromium.chrome.browser.incognito.IncognitoTabLauncher"
|
|
android:theme="@android:style/Theme.NoDisplay"
|
|
android:taskAffinity=""
|
|
android:enabled="false"
|
|
android:excludeFromRecents="true"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="org.chromium.chrome.browser.incognito.OPEN_PRIVATE_TAB" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<receiver android:name="org.chromium.chrome.browser.quickactionsearchwidget.QuickActionSearchWidgetProvider"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<receiver android:name="org.chromium.chrome.browser.quickactionsearchwidget.QuickActionSearchWidgetProvider$QuickActionSearchWidgetProviderSearch"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<receiver android:name="org.chromium.chrome.browser.quickactionsearchwidget.QuickActionSearchWidgetProvider$QuickActionSearchWidgetProviderSmall"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<receiver android:name="org.chromium.chrome.browser.quickactionsearchwidget.QuickActionSearchWidgetProvider$QuickActionSearchWidgetProviderMedium"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<receiver android:name="org.chromium.chrome.browser.quickactionsearchwidget.QuickActionSearchWidgetProvider$QuickActionSearchWidgetProviderDino"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<service android:name="org.chromium.components.background_task_scheduler.internal.BackgroundTaskJobService"
|
|
android:exported="false"
|
|
android:permission="android.permission.BIND_JOB_SERVICE"
|
|
tools:node="remove"/>
|
|
|
|
<service android:name="org.chromium.chrome.browser.crash.ChromeMinidumpUploadJobService"
|
|
android:permission="android.permission.BIND_JOB_SERVICE"
|
|
android:exported="false"/>
|
|
|
|
<!-- The following service entries exist in order to allow us
|
|
to start more than one sandboxed process. -->
|
|
|
|
<!-- NOTE: If you change the values of "android:process" for any of the below services,
|
|
you also need to update kHelperProcessExecutableName in chrome_constants.cc. -->
|
|
{% set num_sandboxed_services = 40 %}
|
|
<meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERVICES"
|
|
android:value="{{ num_sandboxed_services }}"/>
|
|
|
|
{% for i in range(num_sandboxed_services) %}
|
|
<service android:name="org.chromium.content.app.SandboxedProcessService{{ i }}"
|
|
android:process=":sandboxed_process{{ i }}"
|
|
android:isolatedProcess="true"
|
|
android:exported="false" />
|
|
{% endfor %}
|
|
|
|
{% set num_privileged_services = 5 %}
|
|
<meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SERVICES"
|
|
android:value="{{ num_privileged_services }}"/>
|
|
|
|
{% for i in range(num_privileged_services) %}
|
|
<service android:name="org.chromium.content.app.PrivilegedProcessService{{ i }}"
|
|
android:process=":privileged_process{{ i }}"
|
|
android:isolatedProcess="false"
|
|
android:exported="false" />
|
|
{% endfor %}
|
|
|
|
<!-- Disables at startup init of Emoji2. See http://crbug.com/1205141 -->
|
|
<provider
|
|
android:authorities="org.chromium.android_browsertests_apk.androidx-startup"
|
|
android:name="androidx.startup.InitializationProvider"
|
|
android:exported="false"
|
|
tools:node="remove" />
|
|
{% include "//brave/android/java/AndroidManifest.xml" %}
|
|
</application>
|
|
|
|
<instrumentation android:name="org.chromium.android_browsertests_apk.ChromeBrowserTestsInstrumentationTestRunner"
|
|
android:label="ChromeBrowserTests"
|
|
android:targetPackage="org.chromium.android_browsertests_apk"/>
|
|
</manifest>
|