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") { |
(...skipping 10 matching lines...) Expand all Loading... |
21 "nacl_service.h", | 21 "nacl_service.h", |
22 "nacl_types.cc", | 22 "nacl_types.cc", |
23 "nacl_types.h", | 23 "nacl_types.h", |
24 "nacl_types_param_traits.cc", | 24 "nacl_types_param_traits.cc", |
25 "nacl_types_param_traits.h", | 25 "nacl_types_param_traits.h", |
26 ] | 26 ] |
27 | 27 |
28 public_deps = [ | 28 public_deps = [ |
29 ":minimal_content_dummy", | 29 ":minimal_content_dummy", |
30 ":switches", | 30 ":switches", |
| 31 "//ipc", |
31 ] | 32 ] |
32 | 33 |
33 deps = [ | 34 deps = [ |
34 ":nacl_error_code", | 35 ":nacl_error_code", |
35 "//base", | 36 "//base", |
36 "//base:base_static", | 37 "//base:base_static", |
37 "//content/public/common:service_names", | 38 "//content/public/common:service_names", |
38 "//ipc", | |
39 "//mojo/edk/system", | 39 "//mojo/edk/system", |
40 "//services/service_manager/public/cpp", | 40 "//services/service_manager/public/cpp", |
41 ] | 41 ] |
42 } | 42 } |
43 | 43 |
44 # This exists just to make 'gn check' happy with :minimal. It can't | 44 # This exists just to make 'gn check' happy with :minimal. It can't |
45 # depend on //content/public/common or anything like that, because that | 45 # depend on //content/public/common or anything like that, because that |
46 # would bring in lots more than counts as "minimal" (stuff that should | 46 # would bring in lots more than counts as "minimal" (stuff that should |
47 # not be in the nacl64.exe build). | 47 # not be in the nacl64.exe build). |
48 source_set("minimal_content_dummy") { | 48 source_set("minimal_content_dummy") { |
(...skipping 19 matching lines...) Expand all Loading... |
68 "nacl_nonsfi_util.cc", | 68 "nacl_nonsfi_util.cc", |
69 "nacl_nonsfi_util.h", | 69 "nacl_nonsfi_util.h", |
70 "pnacl_types.cc", | 70 "pnacl_types.cc", |
71 "pnacl_types.h", | 71 "pnacl_types.h", |
72 ] | 72 ] |
73 | 73 |
74 public_deps = [ | 74 public_deps = [ |
75 ":minimal", | 75 ":minimal", |
76 ":mojo_bindings", | 76 ":mojo_bindings", |
77 ":switches", | 77 ":switches", |
| 78 "//ipc", |
78 ] | 79 ] |
79 | 80 |
80 deps = [ | 81 deps = [ |
81 "//base", | 82 "//base", |
82 "//content/public/common", | 83 "//content/public/common", |
83 "//ipc", | |
84 "//url", | 84 "//url", |
85 ] | 85 ] |
86 | 86 |
87 if (is_linux) { | 87 if (is_linux) { |
88 sources += [ | 88 sources += [ |
89 "nacl_paths.cc", | 89 "nacl_paths.cc", |
90 "nacl_paths.h", | 90 "nacl_paths.h", |
91 ] | 91 ] |
92 | 92 |
93 defines = [ "__STDC_LIMIT_MACROS=1" ] | 93 defines = [ "__STDC_LIMIT_MACROS=1" ] |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 "//content/public/common", | 129 "//content/public/common", |
130 ] | 130 ] |
131 } | 131 } |
132 | 132 |
133 static_library("switches") { | 133 static_library("switches") { |
134 sources = [ | 134 sources = [ |
135 "nacl_switches.cc", | 135 "nacl_switches.cc", |
136 "nacl_switches.h", | 136 "nacl_switches.h", |
137 ] | 137 ] |
138 } | 138 } |
OLD | NEW |