OSDN Git Service

Game Driver: process sphal libraries in GPU service
authorYiwei Zhang <zzyiwei@google.com>
Thu, 14 Feb 2019 20:05:47 +0000 (12:05 -0800)
committerYiwei Zhang <zzyiwei@google.com>
Thu, 21 Feb 2019 08:26:17 +0000 (00:26 -0800)
commit1c51f05ab47c987291bb3be083603c045f884579
tree3336c0ff5fe3f834a28e55ef89aa6c46acb6d25c
parent0f1f043f0eac151362411a0e473f4987cac9ff87
Game Driver: process sphal libraries in GPU service

This change adds the sphal libraries text file parsing to the GPU
service. As the result, when the Game Driver apk is updated, the sphal
library list will be read out to the GAME_DRIVER_SPHAL_LIBRARIES
settings global property to be used in the graphics environment to
extend the current linker namespace.

Bug: 124448366
Test: Build, flash and boot. Install the apk to verify settings global.

Change-Id: Ifb4007a1fe7269e0a2857fe7badc8642342b1449
core/java/android/os/GraphicsEnvironment.java
core/jni/android_os_GraphicsEnvironment.cpp
services/core/java/com/android/server/gpu/GpuService.java