集成完直播后提交代码
This commit is contained in:
26
aioDebug.gradle
Normal file
26
aioDebug.gradle
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user