Skip to content

Commit

Permalink
Define a native_target toolchain for android-arm64 (#3901)
Browse files Browse the repository at this point in the history
This is unused for now but will be used to build crashpad_handler for
Evergreen-AOSP on arm64.

b/355499070
  • Loading branch information
hlwarriner authored Jul 26, 2024
1 parent 39cf99d commit e25e899
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions starboard/android/arm64/toolchain/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,19 @@ gcc_toolchain("target") {
is_clang = true
}
}

gcc_toolchain("native_target") {
prefix = rebase_path("$android_toolchain_path/bin", root_build_dir)
cc = "$prefix/aarch64-linux-android${android_ndk_api_level}-clang"
cxx = "$prefix/aarch64-linux-android${android_ndk_api_level}-clang++"
ld = cxx
readelf = "readelf"
ar = "ar"
nm = "nm"

toolchain_args = {
is_starboard = false
is_native_target_build = true
is_clang = true
}
}

0 comments on commit e25e899

Please sign in to comment.