Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: mojo/dart/embedder/BUILD.gn

Issue 1760523007: Add support for compression filters in the mojo dart:io (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 import("//mojo/dart/packages/mojo/sources.gni") 7 import("//mojo/dart/packages/mojo/sources.gni")
8 import("//mojo/dart/packages/mojo/sdk_ext_sources.gni") 8 import("//mojo/dart/packages/mojo/sdk_ext_sources.gni")
9 9
10 group("embedder") { 10 group("embedder") {
11 deps = [ 11 deps = [
12 ":dart_controller_no_snapshot", 12 ":dart_controller_no_snapshot",
13 ":generate_snapshot_file", 13 ":generate_snapshot_file",
14 "//mojo/dart/embedder/snapshotter", 14 "//mojo/dart/embedder/snapshotter",
15 ] 15 ]
16 } 16 }
17 17
18 source_set("dart_controller_no_snapshot") { 18 source_set("dart_controller_no_snapshot") {
19 sources = [ 19 sources = [
20 "$target_gen_dir/dart_embedder_patch_resources.cc", 20 "$target_gen_dir/dart_embedder_patch_resources.cc",
21 "$target_gen_dir/dart_embedder_service_isolate_resources.cc", 21 "$target_gen_dir/dart_embedder_service_isolate_resources.cc",
22 "builtin.cc", 22 "builtin.cc",
23 "builtin.h", 23 "builtin.h",
24 "builtin_natives.cc", 24 "builtin_natives.cc",
25 "common.cc", 25 "common.cc",
26 "common.h", 26 "common.h",
27 "dart_controller.cc", 27 "dart_controller.cc",
28 "dart_controller.h", 28 "dart_controller.h",
29 "io/filter.cc",
30 "io/filter.h",
29 "io/internet_address.h", 31 "io/internet_address.h",
30 "io/internet_address_posix.cc", 32 "io/internet_address_posix.cc",
31 "mojo_dart_state.h", 33 "mojo_dart_state.h",
32 "mojo_io_natives.cc", 34 "mojo_io_natives.cc",
33 "mojo_io_natives.h", 35 "mojo_io_natives.h",
34 "vmservice.cc", 36 "vmservice.cc",
35 "vmservice.h", 37 "vmservice.h",
36 ] 38 ]
37 39
38 deps = [ 40 deps = [
39 ":dart_embedder_packages", 41 ":dart_embedder_packages",
40 ":generate_dart_embedder_patch_resources_cc", 42 ":generate_dart_embedder_patch_resources_cc",
41 ":generate_dart_embedder_service_isolate_resources_cc", 43 ":generate_dart_embedder_service_isolate_resources_cc",
42 "//base", 44 "//base",
43 "//base:i18n", 45 "//base:i18n",
44 "//dart/runtime:libdart", 46 "//dart/runtime:libdart",
45 "//dart/runtime/bin:libdart_embedder_noio", 47 "//dart/runtime/bin:libdart_embedder_noio",
46 "//dart/runtime/observatory:embedded_observatory_archive", 48 "//dart/runtime/observatory:embedded_observatory_archive",
47 "//mojo/message_pump", 49 "//mojo/message_pump",
48 "//mojo/public/c/system", 50 "//mojo/public/c/system",
49 "//mojo/public/cpp/environment", 51 "//mojo/public/cpp/environment",
50 "//mojo/public/cpp/system", 52 "//mojo/public/cpp/system",
51 "//mojo/public/platform/dart:mojo_internal_impl", 53 "//mojo/public/platform/dart:mojo_internal_impl",
52 "//mojo/services/files/interfaces", 54 "//mojo/services/files/interfaces",
53 "//mojo/services/network/interfaces", 55 "//mojo/services/network/interfaces",
56 "//third_party/zlib",
54 "//tonic", 57 "//tonic",
55 ] 58 ]
56 59
57 defines = [] 60 defines = []
58 if (is_debug) { 61 if (is_debug) {
59 defines += [ "DEBUG" ] 62 defines += [ "DEBUG" ]
60 } else { 63 } else {
61 defines += [ "NDEBUG" ] 64 defines += [ "NDEBUG" ]
62 } 65 }
63 } 66 }
64 67
65 dart_embedder_resources("generate_dart_embedder_patch_resources_cc") { 68 dart_embedder_resources("generate_dart_embedder_patch_resources_cc") {
66 inputs = [ 69 inputs = [
67 "//mojo/dart/embedder/core/natives_patch.dart", 70 "//mojo/dart/embedder/core/natives_patch.dart",
68 "//mojo/dart/embedder/io/file_patch.dart", 71 "//mojo/dart/embedder/io/file_patch.dart",
72 "//mojo/dart/embedder/io/filter_patch.dart",
69 "//mojo/dart/embedder/io/internet_address_patch.dart", 73 "//mojo/dart/embedder/io/internet_address_patch.dart",
70 "//mojo/dart/embedder/io/mojo_patch.dart", 74 "//mojo/dart/embedder/io/mojo_patch.dart",
71 "//mojo/dart/embedder/io/platform_patch.dart", 75 "//mojo/dart/embedder/io/platform_patch.dart",
72 "//mojo/dart/embedder/io/process_patch.dart", 76 "//mojo/dart/embedder/io/process_patch.dart",
73 "//mojo/dart/embedder/io/socket_patch.dart", 77 "//mojo/dart/embedder/io/socket_patch.dart",
74 "//mojo/dart/embedder/io/server_socket_patch.dart", 78 "//mojo/dart/embedder/io/server_socket_patch.dart",
75 ] 79 ]
76 root_prefix = "//mojo/dart/embedder/" 80 root_prefix = "//mojo/dart/embedder/"
77 output = "$target_gen_dir/dart_embedder_patch_resources.cc" 81 output = "$target_gen_dir/dart_embedder_patch_resources.cc"
78 table_name = "dart_embedder_patch" 82 table_name = "dart_embedder_patch"
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 274
271 source_set("dart_snapshot_cc") { 275 source_set("dart_snapshot_cc") {
272 sources = [ 276 sources = [
273 "$root_gen_dir/dart_snapshot.cc", 277 "$root_gen_dir/dart_snapshot.cc",
274 ] 278 ]
275 279
276 deps = [ 280 deps = [
277 ":generate_snapshot_file", 281 ":generate_snapshot_file",
278 ] 282 ]
279 } 283 }
OLDNEW
« no previous file with comments | « mojo/dart/apptests/dart_apptests/lib/src/filter_apptests.dart ('k') | mojo/dart/embedder/builtin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698