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 | 6 |
7 if (enable_nacl) { | 7 if (enable_nacl) { |
8 # This is separate so it can be used by ../broker:nacl64. | 8 # This is separate so it can be used by ../broker:nacl64. |
9 static_library("minimal") { | 9 static_library("minimal") { |
10 sources = [ | 10 sources = [ |
11 "nacl_cmd_line.cc", | 11 "nacl_cmd_line.cc", |
12 "nacl_cmd_line.h", | 12 "nacl_cmd_line.h", |
13 "nacl_constants.cc", | 13 "nacl_constants.cc", |
14 "nacl_constants.h", | 14 "nacl_constants.h", |
15 "nacl_messages.cc", | 15 "nacl_messages.cc", |
16 "nacl_messages.h", | 16 "nacl_messages.h", |
17 "nacl_process_type.h", | 17 "nacl_process_type.h", |
18 "nacl_renderer_messages.cc", | 18 "nacl_renderer_messages.cc", |
19 "nacl_renderer_messages.h", | 19 "nacl_renderer_messages.h", |
20 "nacl_sandbox_type.h", | 20 "nacl_sandbox_type.h", |
| 21 "nacl_service.cc", |
| 22 "nacl_service.h", |
21 "nacl_types.cc", | 23 "nacl_types.cc", |
22 "nacl_types.h", | 24 "nacl_types.h", |
23 "nacl_types_param_traits.cc", | 25 "nacl_types_param_traits.cc", |
24 "nacl_types_param_traits.h", | 26 "nacl_types_param_traits.h", |
25 ] | 27 ] |
26 | 28 |
27 public_deps = [ | 29 public_deps = [ |
| 30 ":minimal_content_dummy", |
28 ":switches", | 31 ":switches", |
29 ] | 32 ] |
30 | 33 |
31 deps = [ | 34 deps = [ |
32 ":minimal_content_dummy", | |
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 "//content/public/common", | 117 "//content/public/common", |
110 ] | 118 ] |
111 } | 119 } |
112 | 120 |
113 static_library("switches") { | 121 static_library("switches") { |
114 sources = [ | 122 sources = [ |
115 "nacl_switches.cc", | 123 "nacl_switches.cc", |
116 "nacl_switches.h", | 124 "nacl_switches.h", |
117 ] | 125 ] |
118 } | 126 } |
OLD | NEW |