summaryrefslogtreecommitdiffstats
path: root/BUILD.gn
diff options
context:
space:
mode:
authormcgrathr <mcgrathr@chromium.org>2015-09-14 17:06:53 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-15 00:07:41 +0000
commit916aafa6563eb600b60a683d52d0c121f2eaee92 (patch)
tree6fe41c45d87996dcc48998c3844746d75a17b0ae /BUILD.gn
parent315d1a31021a6d9e9b75ab206a0dd4df389e90f1 (diff)
downloadchromium_src-916aafa6563eb600b60a683d52d0c121f2eaee92.zip
chromium_src-916aafa6563eb600b60a683d52d0c121f2eaee92.tar.gz
chromium_src-916aafa6563eb600b60a683d52d0c121f2eaee92.tar.bz2
Refactor NaCl IRT toolchains, use arm-nacl-clang
This factors the irt_* toolchain definitions using a template to reduce copied boilerplate. It also switches the ARM build to use arm-nacl-clang rather than arm-nacl-gcc, which matches what the GYP build does now. Many of the compilation flags are still not at all right, but this is enough for the build of the IRT to complete successfully. BUG=531702 R=dpranke@chromium.org Review URL: https://codereview.chromium.org/1341143002 Cr-Commit-Position: refs/heads/master@{#348781}
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn6
1 files changed, 4 insertions, 2 deletions
diff --git a/BUILD.gn b/BUILD.gn
index e5b783a..8ca8bb3 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -630,7 +630,6 @@ group("gn_only") {
"//components/sessions:unit_tests",
"//media/blink:media_blink_unittests",
"//media/cast:udp_proxy",
- "//native_client/src/trusted/platform_qualify:vcpuid",
"//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
"//storage/browser:dump_file_system",
"//third_party/angle:libANGLE",
@@ -683,7 +682,10 @@ group("gn_only") {
]
if (target_cpu == "x86" || target_cpu == "x64") {
- deps += [ "//third_party/libjpeg_turbo:simd_asm" ]
+ deps += [
+ "//third_party/libjpeg_turbo:simd_asm",
+ "//native_client/src/trusted/platform_qualify:vcpuid",
+ ]
}
if (enable_nacl) {
deps += [ "//native_client/src/trusted/service_runtime:sel_ldr" ]