Commit 736c43a1 by Tobin Ehlis Committed by Commit Bot

Rename ANGLE apk package to org.chromium.angle

Bug: b/167223999 Change-Id: Iaa0b7c779bf744da17a0defba32c966225300a4c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2385915Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarTim Van Patten <timvp@google.com> Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com> Commit-Queue: Tobin Ehlis <tobine@google.com>
parent c21fdb07
...@@ -1176,7 +1176,7 @@ if (build_with_chromium && !is_component_build && is_android && ...@@ -1176,7 +1176,7 @@ if (build_with_chromium && !is_component_build && is_android &&
current_toolchain == default_toolchain) { current_toolchain == default_toolchain) {
# Package ANGLE libraries # Package ANGLE libraries
angle_apk("angle_chromium_apk") { angle_apk("angle_chromium_apk") {
package_name = "com.chromium.angle" package_name = "org.chromium.angle"
apk_name = "AngleLibraries" apk_name = "AngleLibraries"
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
package="{{manifest_package|default('com.chromium.angle')}}"> package="{{manifest_package|default('org.chromium.angle')}}">
<application android:label="Angle for Android" <application android:label="Angle for Android"
android:extractNativeLibs="{{extract_native_libs|default('false')}}" android:extractNativeLibs="{{extract_native_libs|default('false')}}"
......
...@@ -88,14 +88,14 @@ adb install out/Debug/apks/AngleLibraries.apk ...@@ -88,14 +88,14 @@ adb install out/Debug/apks/AngleLibraries.apk
``` ```
You can verify installation by looking for the package name: You can verify installation by looking for the package name:
``` ```
$ adb shell pm path com.chromium.angle $ adb shell pm path org.chromium.angle
package:/data/app/com.chromium.angle-HpkUceNFjoLYKPbIVxFWLQ==/base.apk package:/data/app/org.chromium.angle-HpkUceNFjoLYKPbIVxFWLQ==/base.apk
``` ```
## Selecting ANGLE as the OpenGL ES driver ## Selecting ANGLE as the OpenGL ES driver
For debuggable applications or root users, you can tell the platform to load ANGLE libraries from the installed package. For debuggable applications or root users, you can tell the platform to load ANGLE libraries from the installed package.
``` ```
adb shell settings put global angle_debug_package com.chromium.angle adb shell settings put global angle_debug_package org.chromium.angle
``` ```
Remember that ANGLE can only be used by applications launched by the Java runtime. Remember that ANGLE can only be used by applications launched by the Java runtime.
...@@ -134,7 +134,7 @@ Check to see that ANGLE was loaded by your application: ...@@ -134,7 +134,7 @@ Check to see that ANGLE was loaded by your application:
``` ```
$ adb logcat -d | grep ANGLE $ adb logcat -d | grep ANGLE
V GraphicsEnvironment: ANGLE developer option for <package name>: angle V GraphicsEnvironment: ANGLE developer option for <package name>: angle
I GraphicsEnvironment: ANGLE package enabled: com.chromium.angle I GraphicsEnvironment: ANGLE package enabled: org.chromium.angle
I ANGLE : Version (2.1.0.f87fac56d22f), Renderer (Vulkan 1.1.87(Adreno (TM) 615 (0x06010501))) I ANGLE : Version (2.1.0.f87fac56d22f), Renderer (Vulkan 1.1.87(Adreno (TM) 615 (0x06010501)))
``` ```
## Clean up ## Clean up
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"UseANGLE":true, "UseANGLE":true,
"Applications":[ "Applications":[
{ {
"AppName":"com.chromium.angle" "AppName":"org.chromium.angle"
} }
], ],
"Devices":[ "Devices":[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment