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

Unified Diff: utils/compiler/BUILD.gn

Issue 2571713004: Fuchsia: Allows building the full SDK for host and target. (Closed)
Patch Set: Created 4 years 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 | « utils/application_snapshot.gni ('k') | utils/dartanalyzer/BUILD.gn » ('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 9ec1093070579b256d1a8cfccbb87edcbe0873ad..19d7beac87b6567f2e1c6681e8544f33782e5426 100644
--- a/utils/compiler/BUILD.gn
+++ b/utils/compiler/BUILD.gn
@@ -2,13 +2,13 @@
# 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.
-import("//build/compiled_action.gni")
+import("../../build/compiled_action.gni")
import("../create_timestamp.gni")
import("../application_snapshot.gni")
create_timestamp_file("dart2js_files_stamp") {
path = rebase_path("../../pkg/compiler/lib")
- output = "$root_gen_dir/dart2js_files.stamp"
+ output = "$target_gen_dir/dart2js_files.stamp"
}
create_timestamp_file("runtime_lib_files_stamp") {
@@ -31,17 +31,17 @@ compiled_action("dart2js_create_snapshot_entries") {
dot_packages = rebase_path("../../.packages")
create_snapshot_entry = rebase_path("create_snapshot_entry.dart")
- output_dir = rebase_path(root_gen_dir)
+ output_dir = rebase_path(target_gen_dir)
inputs = [
"../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart",
create_snapshot_entry,
- "$root_gen_dir/dart2js_files.stamp",
+ "$target_gen_dir/dart2js_files.stamp",
"../../tools/VERSION",
]
- utils_output = "$root_gen_dir/utils_wrapper.dart"
- dart2js_output = "$root_gen_dir/dart2js.dart"
+ utils_output = "$target_gen_dir/utils_wrapper.dart"
+ dart2js_output = "$target_gen_dir/dart2js.dart"
outputs = [
utils_output,
dart2js_output,
@@ -59,11 +59,12 @@ application_snapshot("dart2js") {
deps = [
":dart2js_create_snapshot_entries",
]
- main_dart = "$root_gen_dir/dart2js.dart"
+ main_dart = "$target_gen_dir/dart2js.dart"
training_args = [
+ "--packages=" + rebase_path("../../.packages"),
"--library-root=" + rebase_path("../../sdk"),
"--categories=all",
- rebase_path("$root_gen_dir/dart2js.dart"),
+ rebase_path("$target_gen_dir/dart2js.dart"),
]
}
@@ -71,6 +72,6 @@ application_snapshot("utils_wrapper") {
deps = [
":dart2js_create_snapshot_entries",
]
- main_dart = "$root_gen_dir/utils_wrapper.dart"
+ main_dart = "$target_gen_dir/utils_wrapper.dart"
training_args = [ "--help" ]
}
« no previous file with comments | « utils/application_snapshot.gni ('k') | utils/dartanalyzer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698