mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-17 08:38:30 +09:00
[Build] (Android): map mobilegl.buildDisaggregated and mobilegl.buildDisaggregatedInproc to the CMake options so the trace APK has a split flavour beside pull and push
This commit is contained in:
@@ -29,6 +29,11 @@ subprojects {
|
||||
}
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
// P5 trace A/B: :MobileGL owns libMobileGL.so, not :app's replay runner.
|
||||
arguments += listOf(
|
||||
"-DMOBILEGL_BUILD_DISAGGREGATED=${project.findProperty("mobilegl.buildDisaggregated") ?: "OFF"}",
|
||||
"-DMOBILEGL_BUILD_DISAGGREGATED_INPROC=${project.findProperty("mobilegl.buildDisaggregatedInproc") ?: "OFF"}",
|
||||
)
|
||||
mobileGlCmakeCompilerLauncher().takeIf(String::isNotEmpty)?.let { compilerLauncher ->
|
||||
arguments += listOf(
|
||||
"-DCMAKE_C_COMPILER_LAUNCHER=$compilerLauncher",
|
||||
|
||||
Reference in New Issue
Block a user