| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 rebase_path("$gen_snapshot_dir/gen_snapshot"), | 95 rebase_path("$gen_snapshot_dir/gen_snapshot"), |
| 96 "--package_root", | 96 "--package_root", |
| 97 rebase_path("$root_gen_dir"), | 97 rebase_path("$root_gen_dir"), |
| 98 "--script", | 98 "--script", |
| 99 rebase_path("snapshot.dart"), | 99 rebase_path("snapshot.dart"), |
| 100 "--output_bin", | 100 "--output_bin", |
| 101 rebase_path(output, root_build_dir), | 101 rebase_path(output, root_build_dir), |
| 102 "--target_os", | 102 "--target_os", |
| 103 os, | 103 os, |
| 104 "--url_mapping=dart:sky,$sky_core_path", | 104 "--url_mapping=dart:sky,$sky_core_path", |
| 105 "--url_mapping=dart:mojo_bindings,$mojo_bindings_path", | 105 "--url_mapping=mojo:bindings,$mojo_bindings_path", |
| 106 "--url_mapping=dart:mojo_core,$mojo_core_path", | 106 "--url_mapping=mojo:core,$mojo_core_path", |
| 107 "--url_mapping=dart:sky_builtin,$builtin_path", | 107 "--url_mapping=dart:sky_builtin,$builtin_path", |
| 108 ] | 108 ] |
| 109 } | 109 } |
| 110 | 110 |
| 111 action("generate_snapshot_file") { | 111 action("generate_snapshot_file") { |
| 112 deps = [ | 112 deps = [ |
| 113 ":generate_snapshot_bin", | 113 ":generate_snapshot_bin", |
| 114 ] | 114 ] |
| 115 inputs = [ | 115 inputs = [ |
| 116 "//dart/runtime/tools/create_snapshot_file.py", | 116 "//dart/runtime/tools/create_snapshot_file.py", |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 ] | 390 ] |
| 391 | 391 |
| 392 include_dirs = [ | 392 include_dirs = [ |
| 393 "..", | 393 "..", |
| 394 "$root_build_dir", | 394 "$root_build_dir", |
| 395 ] | 395 ] |
| 396 | 396 |
| 397 sources = get_target_outputs(":compile_idls") | 397 sources = get_target_outputs(":compile_idls") |
| 398 sources += get_target_outputs(":generate_dart_globals") | 398 sources += get_target_outputs(":generate_dart_globals") |
| 399 } | 399 } |
| OLD | NEW |