Skip to content

Commit fef7985

Browse files
authored
[test] Remove now unused variables in the lit.cfg for the Android emulator (#79263)
1 parent 04b2174 commit fef7985

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

test/lit.cfg

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,22 +1878,9 @@ elif run_os == 'linux-androideabi' or run_os == 'linux-android':
18781878
target_specific_module_triple)
18791879
config.variant_triple = re.sub(r'androideabi', 'android', config.variant_triple)
18801880
config.target_cc_options = "-fPIE"
1881-
def get_architecture_value(**kwargs):
1882-
result = kwargs[run_cpu]
1883-
if result is None:
1884-
if run_cpu.startswith("armv7"):
1885-
result = kwargs["armv7"]
1886-
elif run_cpu == "arm64":
1887-
result = kwards["aarch64"]
1888-
return result
1889-
18901881
config.target_cxx_lib = "-lstdc++"
18911882
config.target_pic_opt = "-fPIC"
18921883

1893-
ndk_platform_tuple = get_architecture_value(armv7="armeabi-v7a",
1894-
aarch64="arm64-v8a")
1895-
ndk_platform_triple = get_architecture_value(armv7="arm-linux-androideabi",
1896-
aarch64="aarch64-linux-android")
18971884
if platform.system() == 'Linux':
18981885
prebuilt_directory = 'linux-x86_64'
18991886
elif platform.system() == 'Darwin':

0 commit comments

Comments
 (0)