summaryrefslogtreecommitdiffstats
path: root/build/toolchain/mac/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'build/toolchain/mac/BUILD.gn')
-rw-r--r--build/toolchain/mac/BUILD.gn29
1 files changed, 28 insertions, 1 deletions
diff --git a/build/toolchain/mac/BUILD.gn b/build/toolchain/mac/BUILD.gn
index 423de77..d198299 100644
--- a/build/toolchain/mac/BUILD.gn
+++ b/build/toolchain/mac/BUILD.gn
@@ -289,7 +289,6 @@ mac_toolchain("clang_arm") {
}
mac_toolchain("ios_clang_arm") {
- # TODO(GYP): Do we need ios_clang_armv7 and ios_clang_arm64 ?
toolchain_cpu = "arm"
toolchain_os = "mac"
@@ -303,6 +302,34 @@ mac_toolchain("ios_clang_arm") {
is_clang = true
}
+mac_toolchain("ios_clang_armv7") {
+ toolchain_cpu = "armv7"
+ toolchain_os = "mac"
+
+ # TODO(GYP): We need to support being able to use the version of clang
+ # shipped w/ XCode instead of the one pulled from upstream.
+ prefix = rebase_path("//third_party/llvm-build/Release+Asserts/bin",
+ root_build_dir)
+ cc = "${goma_prefix}$prefix/clang"
+ cxx = "${goma_prefix}$prefix/clang++"
+ ld = cxx
+ is_clang = true
+}
+
+mac_toolchain("ios_clang_arm64") {
+ toolchain_cpu = "arm64"
+ toolchain_os = "mac"
+
+ # TODO(GYP): We need to support being able to use the version of clang
+ # shipped w/ XCode instead of the one pulled from upstream.
+ prefix = rebase_path("//third_party/llvm-build/Release+Asserts/bin",
+ root_build_dir)
+ cc = "${goma_prefix}$prefix/clang"
+ cxx = "${goma_prefix}$prefix/clang++"
+ ld = cxx
+ is_clang = true
+}
+
mac_toolchain("arm") {
toolchain_cpu = "arm"
toolchain_os = "mac"