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

Unified Diff: utils/compiler/BUILD.gn

Issue 2832353002: Add support for building patched_sdk and platform.dill for dart2js: (Closed)
Patch Set: fix .gn circularity by removing use of rebase_path Created 3 years, 8 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 | « tools/patch_sdk.dart ('k') | utils/generate_patch_sdk.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/compiler/BUILD.gn
diff --git a/utils/compiler/BUILD.gn b/utils/compiler/BUILD.gn
index 19d7beac87b6567f2e1c6681e8544f33782e5426..f459b4e1f8decb77bea875cb22bc1d455db709dc 100644
--- a/utils/compiler/BUILD.gn
+++ b/utils/compiler/BUILD.gn
@@ -3,6 +3,8 @@
# BSD-style license that can be found in the LICENSE file.
import("../../build/compiled_action.gni")
+import("../../build/prebuilt_dart_sdk.gni")
+import("../../utils/generate_patch_sdk.gni")
import("../create_timestamp.gni")
import("../application_snapshot.gni")
@@ -75,3 +77,10 @@ application_snapshot("utils_wrapper") {
main_dart = "$target_gen_dir/utils_wrapper.dart"
training_args = [ "--help" ]
}
+
+generate_patched_sdk("patched_dart2js_sdk") {
+ mode = "dart2js"
+ deps = ["../../runtime/vm:patched_sdk"]
+ input_patches_dir = "../../sdk/lib/_internal/js_runtime/lib"
+ patched_sdk_dir = "patched_dart2js_sdk"
+}
« no previous file with comments | « tools/patch_sdk.dart ('k') | utils/generate_patch_sdk.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698