Files
babelive_and/aioDebug.gradle
2026-02-06 14:55:21 +08:00

26 lines
912 B
Groovy

def allInOneRootProjectPath = System.getProperty("allInOneRootProject")
def is_aio_debug = false
def media_core_path = ""
def all_in_one_path = ""
def acpm_path = ""
if (new File(allInOneRootProjectPath).exists()) {
is_aio_debug = true
media_core_path = new File(allInOneRootProjectPath, "media_core").absolutePath
all_in_one_path = new File(allInOneRootProjectPath, "all_in_one").absolutePath
acpm_path = new File(all_in_one_path, "ACPM").absolutePath
}
ext {
isAioDebug = is_aio_debug
TARGET_LIST_STR = hasProperty("targets") ? targets : "live"
BUILD_FOR_AIO = is_aio_debug
MEDIA_CORE_PATH = media_core_path
MEDIA_CORE_BUILD_ID = "test_debug"
ALL_IN_ONE_PATH = all_in_one_path
ACPM_PATH = acpm_path + '/'
//兼容 all-in-one里边配置的属性
is_source_debug = is_aio_debug
source_path = all_in_one_path
mediabox_root = allInOneRootProjectPath
}