-
Notifications
You must be signed in to change notification settings - Fork 54
/
project.gradle
26 lines (22 loc) · 1.04 KB
/
project.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ext {
Properties properties = new Properties()
def propertiesFile = project.rootProject.file('local.properties')
if (propertiesFile.exists()) {
properties.load(propertiesFile.newDataInputStream())
}
thirparty_folder = "nativeLibs"
thirparty_build_root = rootDir.canonicalPath + "/" + thirparty_folder
mupdf = thirparty_build_root + "/mupdf/"
libarchive = thirparty_build_root + "/libarchive/"
mupdfModule = thirparty_build_root + "/mupdfModule/"
mupdf_libs = mupdfModule + "/libs"
mupdfAndroid = thirparty_build_root + "/mupdf-android-viewer-old/"
djvu = thirparty_build_root + "/djvu/"
djvuModule = thirparty_build_root + "/djvuModule/"
djvu_libs = djvuModule + "/libs"
excludeNativeLibsSources = (project.findProperty('orion.exclude_native_libs_source')
?: properties.getProperty('orion.exclude_native_libs_source'))
?.toBoolean() ?: false
onyxSdkPath = (project.findProperty('orion.onyxSdkPath')
?: properties.getProperty('orion.onyxSdkPath'))
}