Index: sdk/BUILD.gn |
diff --git a/sdk/BUILD.gn b/sdk/BUILD.gn |
index f0458053bb42a589eb986a7194cb2190cf9943b4..2cbf8e337da0e54acb6f1e03ecb6fddc2cbbcaf8 100644 |
--- a/sdk/BUILD.gn |
+++ b/sdk/BUILD.gn |
@@ -17,14 +17,8 @@ import("../build/copy_tree.gni") |
declare_args() { |
# Build a SDK with less stuff. It excludes dart2js, ddc, and web libraries. |
- dart_platform_sdk = false |
-} |
- |
-if (is_fuchsia || |
- is_fuchsia_host || |
- current_cpu == "arm64" || |
- current_cpu == "arm") { |
dart_platform_sdk = true |
+ dart_stripped_binary = "dart" |
zra
2017/08/08 21:10:24
Please add a comment.
aam
2017/08/08 21:18:24
Done.
|
} |
# The directory layout of the SDK is as follows: |
@@ -226,13 +220,9 @@ copy("copy_dart") { |
sources = [ |
"$dart_out/dart.exe", |
zra
2017/08/08 21:10:24
May need to check in with bkonyi to see if this is
aam
2017/08/08 21:18:24
Do you mean in Flutter engine build on Windows onc
zra
2017/08/08 21:42:42
Yes
|
] |
- } else if (is_fuchsia || is_fuchsia_host) { |
- sources = [ |
- "$dart_out/dart", |
- ] |
} else { |
sources = [ |
- "$dart_out/exe.stripped/dart", |
+ "$dart_out/$dart_stripped_binary" |
] |
} |
if (is_win) { |