Home | History | Annotate | Download | only in scripts

Lines Matching refs:common

9 import common
24 common.die("Could not read signing key passwords")
47 deqpDir = os.path.normpath(os.path.join(common.ANDROID_DIR, ".."))
50 srcLibFile = os.path.join(buildDir, common.NATIVE_LIB_NAME)
51 dstLibFile = os.path.join(libsDir, common.NATIVE_LIB_NAME)
57 toolchainFile = '%s/framework/delibs/cmake/toolchain-android-%s.cmake' % (deqpDir, common.ANDROID_NDK_TOOLCHAIN_VERSION)
58 common.execArgs([
60 '-G%s' % common.CMAKE_GENERATOR,
62 '-DANDROID_NDK_HOST_OS=%s' % common.ANDROID_NDK_HOST_OS,
63 '-DANDROID_NDK_PATH=%s' % common.ANDROID_NDK_PATH,
72 common.execArgs(['cmake', '--build', '.'] + common.EXTRA_BUILD_ARGS)
81 srcGdbserverPath = os.path.join(common.ANDROID_NDK_PATH,
97 manifestSrcPath = os.path.normpath(os.path.join(common.ANDROID_DIR, "package", "AndroidManifest.xml"))
104 common.execArgs([
105 common.ANDROID_BIN,
109 '--target', str(common.ANDROID_JAVA_API),
113 common.execArgs([
114 common.ANT_BIN,
116 "-Dsource.dir=" + os.path.join(common.ANDROID_DIR, "package", "src"),
117 "-Dresource.absolute.dir=" + os.path.join(common.ANDROID_DIR, "package", "res")
121 os.chdir(os.path.join(common.ANDROID_DIR, "package"))
122 common.execArgs([
123 common.JARSIGNER_BIN,
134 common.execArgs([
135 common.ZIPALIGN_BIN,
141 def build (buildRoot=common.ANDROID_DIR, isRelease=False, nativeBuildType="Release"):
145 assetsSrcDir = getAssetsDir(buildRoot, common.NATIVE_LIBS[0], nativeBuildType)
162 for lib in common.NATIVE_LIBS:
180 parser.add_argument('--build-root', dest='buildRoot', default=common.ANDROID_DIR, help="Root directory for storing build results.")