[llvm] c053893 - [gn build] (manually) merge e51631ca4cf

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 14 07:12:25 PST 2020


Author: Nico Weber
Date: 2020-11-14T10:12:15-05:00
New Revision: c0538938c9323fb99114e2ad0305ad7a740cd0ec

URL: https://github.com/llvm/llvm-project/commit/c0538938c9323fb99114e2ad0305ad7a740cd0ec
DIFF: https://github.com/llvm/llvm-project/commit/c0538938c9323fb99114e2ad0305ad7a740cd0ec.diff

LOG: [gn build] (manually) merge e51631ca4cf

Added: 
    

Modified: 
    llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
    llvm/utils/gn/secondary/compiler-rt/test/test.gni

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
index 72c9103e7bca..5cbfaf392b96 100644
--- a/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
@@ -55,6 +55,7 @@ write_cmake_config("lit_common_configured") {
     "COMPILER_RT_HAS_LLD_PYBOOL=True",
     "COMPILER_RT_HAS_GWP_ASAN_PYBOOL=False",
     "HAVE_RPC_XDR_H=0",
+    "ANDROID_API_LEVEL=$android_api_level",
     "ANDROID_SERIAL_FOR_TESTING=$android_serial_for_testing",
   ]
 

diff  --git a/llvm/utils/gn/secondary/compiler-rt/test/test.gni b/llvm/utils/gn/secondary/compiler-rt/test/test.gni
index e2335933659f..72d5bc202fbc 100644
--- a/llvm/utils/gn/secondary/compiler-rt/test/test.gni
+++ b/llvm/utils/gn/secondary/compiler-rt/test/test.gni
@@ -3,6 +3,9 @@ import("//llvm/utils/gn/build/toolchain/target_flags.gni")
 declare_args() {
   # Specifies the serial number of the Android device to be used for testing.
   android_serial_for_testing = ""
+
+  # Android API level used in compiler-rt tests.
+  android_api_level = 29
 }
 
 target_flags_string = ""


        


More information about the llvm-commits mailing list