Merge "Check configs before mutable_render_buffer negative test"
[platform/upstream/VK-GL-CTS.git] / android / scripts / common.py
index 888f4de..1680b41 100644 (file)
@@ -211,7 +211,7 @@ def getExtraBuildArgs (generator):
 
 NDK_HOST_OS_NAMES = [
        "windows",
-       "windows_x86-64",
+       "windows-x86_64",
        "darwin-x86",
        "darwin-x86_64",
        "linux-x86",
@@ -236,13 +236,13 @@ NATIVE_LIBS                               = [
                NativeLib(21,           "arm64-v8a",    'android-arm64'),       # ARM64 v8a ABI
        ]
 
-ANDROID_JAVA_API               = "android-13"
+ANDROID_JAVA_API               = "android-22"
 NATIVE_LIB_NAME                        = "libdeqp.so"
 
 def selectNDKPath ():
        candidates =  [
-               os.path.expanduser("~/android-ndk-r10e"),
-               "C:/android/android-ndk-r10e",
+               os.path.expanduser("~/android-ndk-r11"),
+               "C:/android/android-ndk-r11",
                os.environ.get("ANDROID_NDK_PATH", None), # If not defined, return None
        ]
 
@@ -262,7 +262,7 @@ def noneSafePathJoin (*components):
 # NDK paths
 ANDROID_NDK_PATH                               = selectNDKPath()
 ANDROID_NDK_HOST_OS                            = getNDKHostOsName(ANDROID_NDK_PATH)
-ANDROID_NDK_TOOLCHAIN_VERSION  = "r10e" # Toolchain file is selected based on this
+ANDROID_NDK_TOOLCHAIN_VERSION  = "r11" # Toolchain file is selected based on this
 
 # Native code build settings
 CMAKE_GENERATOR                        = selectByOS({