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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
8 if (enable_nacl) { | 8 if (enable_nacl) { |
9 # This is separate so it can be used by ../broker:nacl64. | 9 # This is separate so it can be used by ../broker:nacl64. |
10 static_library("minimal") { | 10 static_library("minimal") { |
11 sources = [ | 11 sources = [ |
12 "nacl_cmd_line.cc", | 12 "nacl_cmd_line.cc", |
13 "nacl_cmd_line.h", | 13 "nacl_cmd_line.h", |
14 "nacl_constants.cc", | 14 "nacl_constants.cc", |
15 "nacl_constants.h", | 15 "nacl_constants.h", |
16 "nacl_messages.cc", | 16 "nacl_messages.cc", |
17 "nacl_messages.h", | 17 "nacl_messages.h", |
18 "nacl_process_type.h", | 18 "nacl_process_type.h", |
19 "nacl_sandbox_type.h", | 19 "nacl_sandbox_type.h", |
| 20 "nacl_service.cc", |
| 21 "nacl_service.h", |
20 "nacl_types.cc", | 22 "nacl_types.cc", |
21 "nacl_types.h", | 23 "nacl_types.h", |
22 "nacl_types_param_traits.cc", | 24 "nacl_types_param_traits.cc", |
23 "nacl_types_param_traits.h", | 25 "nacl_types_param_traits.h", |
24 ] | 26 ] |
25 | 27 |
26 public_deps = [ | 28 public_deps = [ |
| 29 ":minimal_content_dummy", |
27 ":switches", | 30 ":switches", |
28 ] | 31 ] |
29 | 32 |
30 deps = [ | 33 deps = [ |
31 ":minimal_content_dummy", | |
32 ":nacl_error_code", | 34 ":nacl_error_code", |
33 "//base", | 35 "//base", |
34 "//base:base_static", | 36 "//base:base_static", |
| 37 "//content/public/common:service_names", |
35 "//ipc", | 38 "//ipc", |
| 39 "//ipc:mojom", |
| 40 "//mojo/edk/system", |
| 41 "//services/service_manager/public/cpp", |
36 ] | 42 ] |
37 } | 43 } |
38 | 44 |
39 # This exists just to make 'gn check' happy with :minimal. It can't | 45 # This exists just to make 'gn check' happy with :minimal. It can't |
40 # depend on //content/public/common or anything like that, because that | 46 # depend on //content/public/common or anything like that, because that |
41 # would bring in lots more than counts as "minimal" (stuff that should | 47 # would bring in lots more than counts as "minimal" (stuff that should |
42 # not be in the nacl64.exe build). | 48 # not be in the nacl64.exe build). |
43 source_set("minimal_content_dummy") { | 49 source_set("minimal_content_dummy") { |
44 check_includes = false | 50 check_includes = false |
45 sources = [ | 51 sources = [ |
| 52 "//content/public/common/content_descriptors.h", |
46 "//content/public/common/content_switches.h", | 53 "//content/public/common/content_switches.h", |
| 54 "//content/public/common/mojo_channel_switches.h", |
47 "//content/public/common/process_type.h", | 55 "//content/public/common/process_type.h", |
48 "//content/public/common/sandbox_type.h", | 56 "//content/public/common/sandbox_type.h", |
49 ] | 57 ] |
50 | 58 |
51 # Deps required by the above headers. | 59 # Deps required by the above headers. |
52 deps = [ | 60 deps = [ |
53 "//media:media_features", | 61 "//media:media_features", |
54 ] | 62 ] |
55 } | 63 } |
56 | 64 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 "//content/public/common", | 130 "//content/public/common", |
123 ] | 131 ] |
124 } | 132 } |
125 | 133 |
126 static_library("switches") { | 134 static_library("switches") { |
127 sources = [ | 135 sources = [ |
128 "nacl_switches.cc", | 136 "nacl_switches.cc", |
129 "nacl_switches.h", | 137 "nacl_switches.h", |
130 ] | 138 ] |
131 } | 139 } |
OLD | NEW |