OLD | NEW |
---|---|
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//sky/engine/bindings/bindings.gni") | 5 import("//sky/engine/bindings/bindings.gni") |
6 import("//sky/engine/core/core.gni") | 6 import("//sky/engine/core/core.gni") |
7 | 7 |
8 source_set("bindings") { | 8 source_set("bindings") { |
9 sources = [ | 9 sources = [ |
10 "builtin.cc", | 10 "builtin.cc", |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
82 rebase_path("$gen_snapshot_dir/gen_snapshot"), | 82 rebase_path("$gen_snapshot_dir/gen_snapshot"), |
83 "--package_root", | 83 "--package_root", |
84 rebase_path("$root_gen_dir"), | 84 rebase_path("$root_gen_dir"), |
85 "--script", | 85 "--script", |
86 rebase_path("snapshot.dart"), | 86 rebase_path("snapshot.dart"), |
87 "--vm_output_bin", | 87 "--vm_output_bin", |
88 rebase_path(vm_isolate_snapshot, root_build_dir), | 88 rebase_path(vm_isolate_snapshot, root_build_dir), |
89 "--output_bin", | 89 "--output_bin", |
90 rebase_path(isolate_snapshot, root_build_dir), | 90 rebase_path(isolate_snapshot, root_build_dir), |
91 "--target_os", | 91 "--target_os", |
92 os, | 92 target_os, |
Nick Bray (chromium)
2015/05/05 23:27:23
Yes, it's kinda freaky you would pass "current_os"
| |
93 "--url_mapping=dart:sky,$dart_sky_path", | 93 "--url_mapping=dart:sky,$dart_sky_path", |
94 "--url_mapping=dart:mojo.internal,$internal_path", | 94 "--url_mapping=dart:mojo.internal,$internal_path", |
95 "--url_mapping=dart:sky_builtin,$builtin_path", | 95 "--url_mapping=dart:sky_builtin,$builtin_path", |
96 ] | 96 ] |
97 } | 97 } |
98 | 98 |
99 action("generate_snapshot_file") { | 99 action("generate_snapshot_file") { |
100 deps = [ | 100 deps = [ |
101 ":generate_snapshot_bin", | 101 ":generate_snapshot_bin", |
102 ] | 102 ] |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
381 ] | 381 ] |
382 | 382 |
383 include_dirs = [ | 383 include_dirs = [ |
384 "..", | 384 "..", |
385 "$root_build_dir", | 385 "$root_build_dir", |
386 ] | 386 ] |
387 | 387 |
388 sources = get_target_outputs(":compile_idls") | 388 sources = get_target_outputs(":compile_idls") |
389 sources += get_target_outputs(":generate_dart_globals") | 389 sources += get_target_outputs(":generate_dart_globals") |
390 } | 390 } |
OLD | NEW |