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 # embedder specific template rules. | 5 # embedder specific template rules. |
6 import("embedder.gni") | 6 import("embedder.gni") |
7 | 7 |
8 source_set("dart_controller_no_snapshot") { | 8 source_set("dart_controller_no_snapshot") { |
9 sources = [ | 9 sources = [ |
10 "$target_gen_dir/dart_embedder_patch_resources.cc", | 10 "$target_gen_dir/dart_embedder_patch_resources.cc", |
11 "$target_gen_dir/dart_embedder_service_isolate_resources.cc", | 11 "$target_gen_dir/dart_embedder_service_isolate_resources.cc", |
12 "builtin.cc", | 12 "builtin.cc", |
13 "builtin.h", | 13 "builtin.h", |
14 "builtin_natives.cc", | 14 "builtin_natives.cc", |
15 "common.cc", | 15 "common.cc", |
16 "common.h", | 16 "common.h", |
17 "dart_controller.cc", | 17 "dart_controller.cc", |
18 "dart_controller.h", | 18 "dart_controller.h", |
19 "io/internet_address.h", | 19 "io/internet_address.h", |
| 20 "io/internet_address_posix.cc", |
20 "mojo_dart_state.h", | 21 "mojo_dart_state.h", |
21 "mojo_io_natives.cc", | 22 "mojo_io_natives.cc", |
22 "mojo_io_natives.h", | 23 "mojo_io_natives.h", |
23 "mojo_natives.cc", | 24 "mojo_natives.cc", |
24 "mojo_natives.h", | 25 "mojo_natives.h", |
25 "vmservice.cc", | 26 "vmservice.cc", |
26 "vmservice.h", | 27 "vmservice.h", |
27 ] | 28 ] |
28 | 29 |
29 if (is_linux) { | |
30 sources += [ "io/internet_address_linux.cc" ] | |
31 } | |
32 | |
33 if (is_android) { | |
34 sources += [ "io/internet_address_android.cc" ] | |
35 } | |
36 | |
37 deps = [ | 30 deps = [ |
38 ":dart_embedder_packages", | 31 ":dart_embedder_packages", |
39 ":generate_dart_embedder_patch_resources_cc", | 32 ":generate_dart_embedder_patch_resources_cc", |
40 ":generate_dart_embedder_service_isolate_resources_cc", | 33 ":generate_dart_embedder_service_isolate_resources_cc", |
41 "//base", | 34 "//base", |
42 "//base:i18n", | 35 "//base:i18n", |
43 "//dart/runtime:libdart", | 36 "//dart/runtime:libdart", |
44 "//dart/runtime/bin:libdart_embedder_noio", | 37 "//dart/runtime/bin:libdart_embedder_noio", |
45 "//third_party/dart-pkg", | 38 "//third_party/dart-pkg", |
46 "//mojo/message_pump", | 39 "//mojo/message_pump", |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 | 406 |
414 source_set("dart_snapshot_cc") { | 407 source_set("dart_snapshot_cc") { |
415 sources = [ | 408 sources = [ |
416 "$root_gen_dir/dart_snapshot.cc", | 409 "$root_gen_dir/dart_snapshot.cc", |
417 ] | 410 ] |
418 | 411 |
419 deps = [ | 412 deps = [ |
420 ":generate_snapshot_file", | 413 ":generate_snapshot_file", |
421 ] | 414 ] |
422 } | 415 } |
OLD | NEW |