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

Unified Diff: src/trusted/service_runtime/linux/BUILD.gn

Issue 1805353002: Do not pass default values from GN to ld_bfd.py if CXX is specified (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Check if defined Created 4 years, 9 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/linux/BUILD.gn
diff --git a/src/trusted/service_runtime/linux/BUILD.gn b/src/trusted/service_runtime/linux/BUILD.gn
index 42a14ac6d284fb8987acb0d568f85bb305d9b76b..37cc61fa1059ed8af6cc12fc2c86235f8eed72cd 100644
--- a/src/trusted/service_runtime/linux/BUILD.gn
+++ b/src/trusted/service_runtime/linux/BUILD.gn
@@ -50,6 +50,11 @@ if (current_toolchain == bootstrap_toolchain) {
compiler = "g++"
}
+ if (target_os == "chromeos" && defined(cros_target_cxx) &&
+ cros_target_cxx != "") {
+ compiler = cros_target_cxx
+ }
+
static_library("nacl_bootstrap_lib") {
# This code has very specific requirements related to its static
# linking and minimal libc use. It cannot support the normal variety
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698