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