| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 } | 53 } |
| 54 | 54 |
| 55 action("generate_snapshot_bin") { | 55 action("generate_snapshot_bin") { |
| 56 deps = [ | 56 deps = [ |
| 57 "//dart/runtime/bin:gen_snapshot($host_toolchain)", | 57 "//dart/runtime/bin:gen_snapshot($host_toolchain)", |
| 58 ":generate_dart_sky", | 58 ":generate_dart_sky", |
| 59 ] | 59 ] |
| 60 inputs = [ | 60 inputs = [ |
| 61 "//dart/runtime/tools/create_snapshot_bin.py", | 61 "//dart/runtime/tools/create_snapshot_bin.py", |
| 62 "//sky/engine/bindings/builtin.dart", | 62 "//sky/engine/bindings/builtin.dart", |
| 63 "//mojo/public/dart/internal.dart", | 63 "//mojo/public/dart/lib/internal.dart", |
| 64 "//mojo/public/dart/src/handle_watcher.dart", | 64 "//mojo/public/dart/lib/src/handle_watcher.dart", |
| 65 "//mojo/public/dart/src/natives.dart", | 65 "//mojo/public/dart/lib/src/natives.dart", |
| 66 "//mojo/public/dart/src/timer_queue.dart", | 66 "//mojo/public/dart/lib/src/timer_queue.dart", |
| 67 "snapshot.dart", | 67 "snapshot.dart", |
| 68 ] | 68 ] |
| 69 vm_isolate_snapshot = "$target_gen_dir/vm_isolate_snapshot.bin" | 69 vm_isolate_snapshot = "$target_gen_dir/vm_isolate_snapshot.bin" |
| 70 isolate_snapshot = "$target_gen_dir/isolate_snapshot.bin" | 70 isolate_snapshot = "$target_gen_dir/isolate_snapshot.bin" |
| 71 outputs = [ | 71 outputs = [ |
| 72 vm_isolate_snapshot, | 72 vm_isolate_snapshot, |
| 73 isolate_snapshot, | 73 isolate_snapshot, |
| 74 ] | 74 ] |
| 75 | 75 |
| 76 builtin_path = rebase_path("//sky/engine/bindings/builtin.dart") | 76 builtin_path = rebase_path("//sky/engine/bindings/builtin.dart") |
| 77 dart_sky_path = rebase_path("$bindings_output_dir/dart_sky.dart") | 77 dart_sky_path = rebase_path("$bindings_output_dir/dart_sky.dart") |
| 78 internal_path = rebase_path("//mojo/public/dart/internal.dart") | 78 internal_path = rebase_path("//mojo/public/dart/lib/internal.dart") |
| 79 | 79 |
| 80 gen_snapshot_dir = | 80 gen_snapshot_dir = |
| 81 get_label_info("//dart/runtime/bin:gen_snapshot($host_toolchain)", | 81 get_label_info("//dart/runtime/bin:gen_snapshot($host_toolchain)", |
| 82 "root_out_dir") | 82 "root_out_dir") |
| 83 script = "//dart/runtime/tools/create_snapshot_bin.py" | 83 script = "//dart/runtime/tools/create_snapshot_bin.py" |
| 84 | 84 |
| 85 args = [ | 85 args = [ |
| 86 "--executable", | 86 "--executable", |
| 87 rebase_path("$gen_snapshot_dir/gen_snapshot"), | 87 rebase_path("$gen_snapshot_dir/gen_snapshot"), |
| 88 "--package_root", | 88 "--package_root", |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 ] | 386 ] |
| 387 | 387 |
| 388 include_dirs = [ | 388 include_dirs = [ |
| 389 "..", | 389 "..", |
| 390 "$root_build_dir", | 390 "$root_build_dir", |
| 391 ] | 391 ] |
| 392 | 392 |
| 393 sources = get_target_outputs(":compile_idls") | 393 sources = get_target_outputs(":compile_idls") |
| 394 sources += get_target_outputs(":generate_dart_globals") | 394 sources += get_target_outputs(":generate_dart_globals") |
| 395 } | 395 } |
| OLD | NEW |