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 "//dart/runtime/bin/dartutils.cc", | |
11 "//dart/runtime/bin/dartutils.h", | |
12 "//dart/runtime/bin/directory.cc", | |
13 "//dart/runtime/bin/directory.h", | |
14 "//dart/runtime/bin/directory_android.cc", | |
15 "//dart/runtime/bin/eventhandler.cc", | |
16 "//dart/runtime/bin/eventhandler_android.cc", | |
17 "//dart/runtime/bin/fdutils.h", | |
18 "//dart/runtime/bin/fdutils_android.cc", | |
19 "//dart/runtime/bin/file.cc", | |
20 "//dart/runtime/bin/file.h", | |
21 "//dart/runtime/bin/file_android.cc", | |
22 "//dart/runtime/bin/file_system_watcher.cc", | |
23 "//dart/runtime/bin/file_system_watcher.h", | |
24 "//dart/runtime/bin/file_system_watcher_android.cc", | |
25 "//dart/runtime/bin/filter.cc", | |
26 "//dart/runtime/bin/filter.h", | |
27 "//dart/runtime/bin/io_buffer.cc", | |
28 "//dart/runtime/bin/io_buffer.h", | |
29 "//dart/runtime/bin/io_natives.cc", | |
30 "//dart/runtime/bin/io_natives.h", | |
31 "//dart/runtime/bin/io_service.cc", | |
32 "//dart/runtime/bin/io_service.h", | |
33 "//dart/runtime/bin/log.h", | |
34 "//dart/runtime/bin/log_android.cc", | |
35 "//dart/runtime/bin/platform.cc", | |
36 "//dart/runtime/bin/platform.h", | |
37 "//dart/runtime/bin/platform_android.cc", | |
38 "//dart/runtime/bin/process.cc", | |
39 "//dart/runtime/bin/process.h", | |
40 "//dart/runtime/bin/process_android.cc", | |
41 "//dart/runtime/bin/secure_socket_unsupported.cc", | |
42 "//dart/runtime/bin/socket.cc", | |
43 "//dart/runtime/bin/socket.h", | |
44 "//dart/runtime/bin/socket_android.cc", | |
45 "//dart/runtime/bin/stdio.cc", | |
46 "//dart/runtime/bin/stdio.h", | |
47 "//dart/runtime/bin/stdio_android.cc", | |
48 "//dart/runtime/bin/thread.h", | |
49 "//dart/runtime/bin/thread_android.cc", | |
50 "//dart/runtime/bin/thread_android.h", | |
51 "//dart/runtime/bin/utils.h", | |
52 "//dart/runtime/bin/utils_android.cc", | |
abarth-chromium
2015/04/26 21:51:35
Will this list of files be a burden to maintain?
Cutch
2015/04/27 14:59:10
It shouldn't be a burden to maintain (the list of
| |
10 "builtin.cc", | 53 "builtin.cc", |
11 "builtin.h", | 54 "builtin.h", |
12 "builtin_natives.cc", | 55 "builtin_natives.cc", |
13 "builtin_natives.h", | 56 "builtin_natives.h", |
14 "builtin_sky.cc", | 57 "builtin_sky.cc", |
15 "builtin_sky.h", | 58 "builtin_sky.h", |
16 "custom/dart_element_custom.cc", | 59 "custom/dart_element_custom.cc", |
17 "dart_callback.cc", | 60 "dart_callback.cc", |
18 "dart_callback.h", | 61 "dart_callback.h", |
19 "dart_event_listener.cc", | 62 "dart_event_listener.cc", |
20 "dart_event_listener.h", | 63 "dart_event_listener.h", |
21 "exception_messages.cc", | 64 "exception_messages.cc", |
22 "exception_messages.h", | 65 "exception_messages.h", |
23 "exception_state.cc", | 66 "exception_state.cc", |
24 "exception_state.h", | 67 "exception_state.h", |
25 "exception_state_placeholder.cc", | 68 "exception_state_placeholder.cc", |
26 "exception_state_placeholder.h", | 69 "exception_state_placeholder.h", |
27 "mojo_natives.cc", | 70 "mojo_natives.cc", |
28 "mojo_natives.h", | 71 "mojo_natives.h", |
29 "nullable.h", | 72 "nullable.h", |
30 "scheduled_action.cc", | 73 "scheduled_action.cc", |
31 "scheduled_action.h", | 74 "scheduled_action.h", |
32 ] | 75 ] |
76 | |
77 defines = [ "DART_IO_SECURE_SOCKET_DISABLED" ] | |
78 | |
33 deps = [ | 79 deps = [ |
34 "//base", | 80 "//base", |
35 "//dart/runtime/bin:libdart_withcore", | 81 "//dart/runtime/bin:libdart_withcore", |
36 "//mojo/public/c/system", | 82 "//mojo/public/c/system", |
37 "//mojo/public/cpp/system", | 83 "//mojo/public/cpp/system", |
38 "//sky/engine/platform:platform", | 84 "//sky/engine/platform:platform", |
39 "//sky/engine/tonic", | 85 "//sky/engine/tonic", |
40 "//sky/engine/wtf", | 86 "//sky/engine/wtf", |
41 ":generated_bindings", | 87 ":generated_bindings", |
42 ":snapshot_cc", | 88 ":snapshot_cc", |
43 ] | 89 ] |
44 include_dirs = [ | 90 include_dirs = [ |
45 "..", | 91 "..", |
46 "$root_build_dir", | 92 "$root_build_dir", |
93 rebase_path("//dart/runtime"), | |
94 rebase_path("//third_party"), | |
47 ] | 95 ] |
48 } | 96 } |
49 | 97 |
50 action("generate_snapshot_bin") { | 98 action("generate_snapshot_bin") { |
51 deps = [ | 99 deps = [ |
52 "//dart/runtime/bin:gen_snapshot($host_toolchain)", | 100 "//dart/runtime/bin:gen_snapshot($host_toolchain)", |
53 ":generate_dart_sky", | 101 ":generate_dart_sky", |
54 ] | 102 ] |
55 inputs = [ | 103 inputs = [ |
56 "//dart/runtime/tools/create_snapshot_bin.py", | 104 "//dart/runtime/tools/create_snapshot_bin.py", |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
381 ] | 429 ] |
382 | 430 |
383 include_dirs = [ | 431 include_dirs = [ |
384 "..", | 432 "..", |
385 "$root_build_dir", | 433 "$root_build_dir", |
386 ] | 434 ] |
387 | 435 |
388 sources = get_target_outputs(":compile_idls") | 436 sources = get_target_outputs(":compile_idls") |
389 sources += get_target_outputs(":generate_dart_globals") | 437 sources += get_target_outputs(":generate_dart_globals") |
390 } | 438 } |
OLD | NEW |