| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 action("generate_snapshot_bin") { | 5 action("generate_snapshot_bin") { |
| 6 deps = [ | 6 deps = [ |
| 7 "//dart/runtime/bin:gen_snapshot", | 7 "//dart/runtime/bin:gen_snapshot", |
| 8 ] | 8 ] |
| 9 inputs = [ | 9 inputs = [ |
| 10 "snapshot.dart", |
| 10 "//dart/runtime/tools/create_snapshot_bin.py", | 11 "//dart/runtime/tools/create_snapshot_bin.py", |
| 11 "//mojo/dart/embedder/builtin.dart", | 12 "//mojo/dart/embedder/builtin.dart", |
| 12 "//mojo/public/dart/bindings.dart", | 13 "//mojo/public/dart/bindings.dart", |
| 13 "//mojo/public/dart/core.dart", | 14 "//mojo/public/dart/core.dart", |
| 14 "snapshot.dart", | 15 "//mojo/public/dart/src/buffer.dart", |
| 16 "//mojo/public/dart/src/client.dart", |
| 17 "//mojo/public/dart/src/codec.dart", |
| 18 "//mojo/public/dart/src/data_pipe.dart", |
| 19 "//mojo/public/dart/src/handle.dart", |
| 20 "//mojo/public/dart/src/handle_watcher.dart", |
| 21 "//mojo/public/dart/src/interface.dart", |
| 22 "//mojo/public/dart/src/message_pipe.dart", |
| 23 "//mojo/public/dart/src/timer_impl.dart", |
| 24 "//mojo/public/dart/src/timer_queue.dart", |
| 25 "//mojo/public/dart/src/types.dart", |
| 15 ] | 26 ] |
| 16 output = "$target_gen_dir/snapshot_gen.bin" | 27 output = "$target_gen_dir/snapshot_gen.bin" |
| 17 outputs = [ | 28 outputs = [ |
| 18 output, | 29 output, |
| 19 ] | 30 ] |
| 20 | 31 |
| 21 script = "//dart/runtime/tools/create_snapshot_bin.py" | 32 script = "//dart/runtime/tools/create_snapshot_bin.py" |
| 22 builtin_path = rebase_path("//mojo/dart/embedder/builtin.dart") | 33 builtin_path = rebase_path("//mojo/dart/embedder/builtin.dart") |
| 23 bindings_path = rebase_path("//mojo/public/dart/bindings.dart") | 34 bindings_path = rebase_path("//mojo/public/dart/bindings.dart") |
| 24 core_path = rebase_path("//mojo/public/dart/core.dart") | 35 core_path = rebase_path("//mojo/public/dart/core.dart") |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 "dart_controller.cc", | 74 "dart_controller.cc", |
| 64 "dart_controller.h", | 75 "dart_controller.h", |
| 65 "isolate_data.h", | 76 "isolate_data.h", |
| 66 "mojo_natives.cc", | 77 "mojo_natives.cc", |
| 67 "mojo_natives.h", | 78 "mojo_natives.h", |
| 68 "$target_gen_dir/snapshot.cc", | 79 "$target_gen_dir/snapshot.cc", |
| 69 ] | 80 ] |
| 70 | 81 |
| 71 deps = [ | 82 deps = [ |
| 72 ":generate_snapshot_file", | 83 ":generate_snapshot_file", |
| 84 "//base", |
| 85 "//base:i18n", |
| 86 "//crypto", |
| 87 "//dart/runtime:libdart", |
| 73 "//dart/runtime/bin:libdart_embedder_noio", | 88 "//dart/runtime/bin:libdart_embedder_noio", |
| 89 "//mojo/public/c/system", |
| 90 "//mojo/public/cpp/system", |
| 74 ] | 91 ] |
| 75 | 92 |
| 76 defines = [] | 93 defines = [] |
| 77 if (is_debug) { | 94 if (is_debug) { |
| 78 defines += [ "DEBUG" ] | 95 defines += [ "DEBUG" ] |
| 79 } else { | 96 } else { |
| 80 defines += [ "NDEBUG" ] | 97 defines += [ "NDEBUG" ] |
| 81 } | 98 } |
| 82 | 99 |
| 83 include_dirs = [ "//dart/runtime" ] | 100 include_dirs = [ "//dart/runtime" ] |
| 84 } | 101 } |
| OLD | NEW |