Lines Matching refs:common
9 import common
24 common.die("Could not read signing key passwords")
28 deqpDir = os.path.normpath(os.path.join(common.ANDROID_DIR, ".."))
32 deqpDir = os.path.normpath(os.path.join(common.ANDROID_DIR, ".."))
35 libsDir = os.path.join(common.ANDROID_DIR, "package", "libs", nativeLib.abiVersion)
54 common.execArgs([
56 '-G%s' % common.CMAKE_GENERATOR,
57 '-DCMAKE_TOOLCHAIN_FILE=%s/framework/delibs/cmake/toolchain-android-%s.cmake' % (deqpDir, common.ANDROID_NDK_TOOLCHAIN_VERSION),
58 '-DANDROID_NDK_HOST_OS=%s' % common.ANDROID_NDK_HOST_OS,
59 '-DANDROID_NDK_PATH=%s' % common.ANDROID_NDK_PATH,
68 common.execute(common.BUILD_CMD)
79 shutil.copyfile(os.path.join(common.ANDROID_NDK_PATH, "prebuilt/android-x86/gdbserver/gdbserver"), os.path.join(libsDir, "gdbserver"))
81 shutil.copyfile(os.path.join(common.ANDROID_NDK_PATH, "prebuilt/android-arm/gdbserver/gdbserver"), os.path.join(libsDir, "gdbserver"))
90 dstDir = os.path.join(common.ANDROID_DIR, "package", "assets")
106 appDir = os.path.join(common.ANDROID_DIR, "package")
110 common.execute("%s update project --name dEQP --path . --target %s" % (common.shellquote(common.ANDROID_BIN), common.ANDROID_JAVA_API))
113 common.execute("%s %s" % (common.shellquote(common.ANT_BIN), "release" if isRelease else "debug"))
116 os.chdir(os.path.join(common.ANDROID_DIR, "package"))
117 common.execute("%s -keystore %s -storepass %s -keypass %s -sigfile CERT -digestalg SHA1 -sigalg MD5withRSA -signedjar bin/dEQP-unaligned.apk bin/dEQP-release-unsigned.apk %s" % (common.shellquote(common.JARSIGNER_BIN), common.shellquote(keystore), storepass, keypass, keyname))
118 common.execute("%s -f 4 bin/dEQP-unaligned.apk bin/dEQP-release.apk" % (common.shellquote(common.ZIPALIGN_BIN)))
125 for lib in common.NATIVE_LIBS:
129 copyAssets(common.NATIVE_LIBS[0], nativeBuildType)