Hash :
3e493db2
Author :
Date :
2021-11-19T10:47:04
tests/AndroidManifest: Disable allowNativeHeapPointerTagging. In order for the mprotect tests to pass on Android, tagged pointers need to be disabled. Bug: angleproject:5857 Change-Id: I2a9703b98443a96b486581c5c5d57e40c3365555 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3291655 Commit-Queue: Lubosz Sarnecki <lubosz.sarnecki@collabora.com> Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2021 The ANGLE Project 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"
package="com.android.angle.test"
android:versionCode="1"
android:versionName="1.0">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.CHANGE_CONFIGURATION"/>
<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.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.SET_TIME_ZONE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<!-- Explicitly set the attribute requestLegacyExternalStorage to "true"
since it is "false" by default on apps targeting Android 10, and that
breaks test listing. See
https://developer.android.com/training/data-storage#scoped-storage and
https://developer.android.com/training/data-storage/compatibility. -->
<!-- Disable allowNativeHeapPointerTagging for siginfo_t POSIX struct
pointers to match heap allocations. This is required for the
SystemUtils.PageFaultHandler* tests.
https://source.android.com/devices/tech/debug/tagged-pointers -->
<application android:label="NativeTests"
android:requestLegacyExternalStorage="true"
android:allowNativeHeapPointerTagging="false">
<uses-library android:name="android.test.runner"/>
<activity android:name=".AngleUnitTestActivity"
android:label="NativeTest"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
android:exported="true"
android:process=":test_process">
{% if is_component_build == 'true' %}
<meta-data android:name="android.app.lib_name"
android:value="{{ native_library_name }}.cr" />
{% else %}
<meta-data android:name="android.app.lib_name"
android:value="{{ native_library_name }}" />
{% endif %}
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<instrumentation android:name="org.chromium.build.gtest_apk.NativeTestInstrumentationTestRunner"
android:targetPackage="com.android.angle.test"
android:label="Instrumentation entry point for com.android.angle.test"
chromium-junit3="true"/>
</manifest>