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

Unified Diff: sdk/BUILD.gn

Issue 2998503002: Change defaults for build args to accommodate Flutter and Fuchsia. (Closed)
Patch Set: Move is_flutter from BUILDCONFIG to it's own gni Created 3 years, 4 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
« build/flutter_args.gni ('K') | « build/flutter_args.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/BUILD.gn
diff --git a/sdk/BUILD.gn b/sdk/BUILD.gn
index f0458053bb42a589eb986a7194cb2190cf9943b4..ce76969e2dc16a5ed68de009b535f774b903d107 100644
--- a/sdk/BUILD.gn
+++ b/sdk/BUILD.gn
@@ -14,6 +14,7 @@
# fail.
import("../build/copy_tree.gni")
+import("../build/flutter_args.gni")
declare_args() {
# Build a SDK with less stuff. It excludes dart2js, ddc, and web libraries.
@@ -22,6 +23,7 @@ declare_args() {
if (is_fuchsia ||
is_fuchsia_host ||
+ is_flutter ||
current_cpu == "arm64" ||
current_cpu == "arm") {
dart_platform_sdk = true
@@ -226,7 +228,7 @@ copy("copy_dart") {
sources = [
"$dart_out/dart.exe",
]
- } else if (is_fuchsia || is_fuchsia_host) {
+ } else if (is_fuchsia || is_fuchsia_host || is_flutter) {
zra 2017/08/07 22:11:13 As with the platform_sdk flag, we should change th
sources = [
"$dart_out/dart",
]
« build/flutter_args.gni ('K') | « build/flutter_args.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698