Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(813)

Unified Diff: ppapi/native_client/src/untrusted/pnacl_support_extension/BUILD.gn

Issue 1417823006: Build NaCl in the CrOS GN builds and make sure "all" works (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and make sure "all" works also (fix remoting) Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/features.gni ('k') | remoting/host/it2me/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/untrusted/pnacl_support_extension/BUILD.gn
diff --git a/ppapi/native_client/src/untrusted/pnacl_support_extension/BUILD.gn b/ppapi/native_client/src/untrusted/pnacl_support_extension/BUILD.gn
index a502f98bada4497f7bbdab0b4fa237ddffc05e7e..34f826c4a8dbffa3aaee517410a8868609ce494e 100644
--- a/ppapi/native_client/src/untrusted/pnacl_support_extension/BUILD.gn
+++ b/ppapi/native_client/src/untrusted/pnacl_support_extension/BUILD.gn
@@ -101,6 +101,12 @@ if (enable_nacl && enable_nacl_untrusted && enable_pnacl) {
]
args += shim_override_args
+ if (current_os == "chromeos") {
+ toolchain_os = "linux"
+ } else {
+ toolchain_os = current_os
+ }
+
args += [
"--target_arch",
target_cpu,
@@ -109,7 +115,7 @@ if (enable_nacl && enable_nacl_untrusted && enable_pnacl) {
root_build_dir),
"--pnacl_translator_path",
rebase_path(
- "//native_client/toolchain/${current_os}_x86/pnacl_translator",
+ "//native_client/toolchain/${toolchain_os}_x86/pnacl_translator",
root_build_dir),
"--package_version_path",
rebase_path("//native_client/build/package_version/package_version.py",
« no previous file with comments | « build/config/features.gni ('k') | remoting/host/it2me/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698