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

Unified Diff: sdk/BUILD.gn

Issue 2984243002: Include platform.dill files in sdk builds (Closed)
Patch Set: Created 3 years, 5 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.gn ('K') | « BUILD.gn ('k') | utils/generate_patch_sdk.gni » ('j') | 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 116f72104a2791b6341687d1014a9df9ff85cf87..fa015d2ab6cbd21b355f81285fd8a915f58ce172 100644
--- a/sdk/BUILD.gn
+++ b/sdk/BUILD.gn
@@ -65,6 +65,8 @@ if (is_fuchsia ||
# ......_internal/
#.........spec.sum
#.........strong.sum
+#.........web_full.dill
Siggi Cherem (dart-lang) 2017/07/26 04:51:56 I've been debating the names here, and I'm not eve
Siggi Cherem (dart-lang) 2017/07/26 19:52:39 I continued iterating on this - I decided for now
+#.........server_outline.dill
#.........dev_compiler/
# ......analysis_server/
# ......analyzer/
@@ -444,6 +446,44 @@ copy("copy_analysis_summaries") {
]
}
+# This rule copies .dill files to lib/_internal
+group("copy_dill_files") {
+ visibility = [ ":create_common_sdk" ]
+ deps = [
+ ":copy_libraries",
+ ":copy_vm_dill_files",
+ ":copy_dart2js_dill_files",
zra 2017/07/26 05:04:58 The "platform" SDK shouldn't include the dart2js d
Siggi Cherem (dart-lang) 2017/07/26 19:52:39 Thanks Zach. Done.
+ ]
+}
+
+copy("copy_vm_dill_files") {
+ visibility = [ ":copy_dill_files" ]
+ deps = [
+ ":copy_libraries",
+ "../runtime/vm:patched_sdk",
+ ]
+ sources = [
+ "$root_out_dir/patched_sdk/outline.dill",
+ ]
+ outputs = [
+ "$root_out_dir/dart-sdk/lib/_internal/server_{{source_file_part}}",
+ ]
+}
+
+copy("copy_dart2js_dill_files") {
+ visibility = [ ":copy_dill_files" ]
+ deps = [
+ ":copy_libraries",
+ "../utils/compiler:patched_dart2js_sdk",
+ ]
+ sources = [
+ "$root_out_dir/patched_dart2js_sdk/platform.dill",
+ ]
+ outputs = [
+ "$root_out_dir/dart-sdk/lib/_internal/web_full.dill",
+ ]
+}
+
# This rule copies ddc summaries to lib/_internal
copy("copy_dev_compiler_summary") {
visibility = [ ":copy_dev_compiler_sdk" ]
@@ -704,6 +744,7 @@ group("create_common_sdk") {
":copy_api_readme",
":copy_dart",
":copy_dartdoc_files",
+ ":copy_dill_files",
":copy_headers",
":copy_libraries_dart",
":copy_license",
« BUILD.gn ('K') | « BUILD.gn ('k') | utils/generate_patch_sdk.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698