summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author John Wu <topjohnwu@google.com> 2024-09-25 00:43:28 +0000
committer John Wu <topjohnwu@google.com> 2024-09-26 22:59:51 +0000
commit5e13e25d51685f4cf1ae4c9188ae19577538c6f7 (patch)
treebc8bf33dad91ab85b2dbe311a1dedea7542ac4f6 /opengl/java
parent983461633b96db0bc58205a657edeffad3ce4080 (diff)
[Ravenwood] Use native system property implementation
System properties are not only used by Java code, but also native code. To make the property values consistent across Java and native code, make the "source of truth" of property values on the native side. In order to achieve this, we have to introduce a new native library "libravenwood_sysprops" that does NOT link against libbase, and load that library first. By doing so, we can override the low-level sysprop function symbols with our own implementation. Once that is done, all existing native code accessing system properties, regardless whether they use the libbase/libcutils wrappers or the raw sysprop functions will go through Ravenwood's implementation. Other than improving system properties, this provides the infrastructure to override/implement C functions that is used in native code. Bug: 292141694 Flag: EXEMPT host test change only Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh Merged-in: I14678e2ac52ace0b23bd53df7b6092a1cbb881b3 Change-Id: I14678e2ac52ace0b23bd53df7b6092a1cbb881b3
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions