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

Unified Diff: build/dart_host_toolchain.gni

Issue 2944103003: Introduce dart_host_toolchain arg, remove '--checked' option from patch_sdk.py (Closed)
Patch Set: Add comment Created 3 years, 6 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 | « build/compiled_action.gni ('k') | runtime/observatory/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/dart_host_toolchain.gni
diff --git a/build/dart_host_toolchain.gni b/build/dart_host_toolchain.gni
new file mode 100644
index 0000000000000000000000000000000000000000..4100d513b0aba958341b74f5b5d26c6bfad22b18
--- /dev/null
+++ b/build/dart_host_toolchain.gni
@@ -0,0 +1,13 @@
+# Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
+# for details. All rights reserved. Use of this source code is governed by a
+# BSD-style license that can be found in the LICENSE file.
+
+declare_args() {
+ # This argument allows to override host_toolchain used to build dart artifacts.
+ # This is needed to make sure that word size of the code produced on host
+ # machine matches word size of target architecture. For example, when
+ # targeting android arm 32-bit while building on linux 64-bit machine, dart vm
+ # that is used to produce snapshots for that android arm 32, has to be built
+ # using linux 32-bit toolchain.
+ dart_host_toolchain = host_toolchain
+}
« no previous file with comments | « build/compiled_action.gni ('k') | runtime/observatory/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698