mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-20 08:21:56 +09:00
[Tool] (P11 B1): trace flavour gate tooling - package the retrace CLI as libMobileGLRetrace.so (packageRetraceExe) and run an external client as a child of the app kept in front (mobilegl_exec_argv)
This commit is contained in:
@@ -189,6 +189,15 @@ android {
|
||||
// Debuggable dev APK: adb (tcp_device_server.py, the CI TCP lane) starts the
|
||||
// server components directly by explicit component name.
|
||||
manifestPlaceholders["serverComponentsExported"] = "true"
|
||||
// P11 B1 (gate tooling): -Pmobilegl.packageRetraceExe=ON packages the adb-shell retrace CLI
|
||||
// (tools/trace_replay) as nativeLibraryDir/libMobileGLRetrace.so, so an app - the external
|
||||
// client of the B1 device gate - can exec it (targetSdk 34 forbids exec anywhere else).
|
||||
val packageRetraceExe = (findProperty("mobilegl.packageRetraceExe") ?: "OFF").toString()
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
arguments += "-DMOBILEGL_PACKAGE_RETRACE_EXE=$packageRetraceExe"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user