OLD | NEW |
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 if (enable_nacl) { | 9 if (enable_nacl) { |
10 source_set("nacl") { | 10 source_set("nacl") { |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 "//content/public/renderer", | 144 "//content/public/renderer", |
145 "//ipc", | 145 "//ipc", |
146 "//net", | 146 "//net", |
147 "//ppapi/c", | 147 "//ppapi/c", |
148 "//ppapi/proxy:ipc", | 148 "//ppapi/proxy:ipc", |
149 "//ppapi/shared_impl", | 149 "//ppapi/shared_impl", |
150 "//third_party/WebKit/public:blink", | 150 "//third_party/WebKit/public:blink", |
151 ] | 151 ] |
152 } | 152 } |
153 | 153 |
| 154 # TODO(GYP): Delete this after we've converted everything to GN. |
| 155 # The _run targets exist only for compatibility w/ GYP. |
| 156 group("nacl_loader_unittests_run") { |
| 157 testonly = true |
| 158 deps = [ |
| 159 ":nacl_loader_unittests", |
| 160 ] |
| 161 } |
| 162 |
154 test("nacl_loader_unittests") { | 163 test("nacl_loader_unittests") { |
155 sources = [ | 164 sources = [ |
156 "loader/nacl_ipc_adapter_unittest.cc", | 165 "loader/nacl_ipc_adapter_unittest.cc", |
157 "loader/nacl_validation_query_unittest.cc", | 166 "loader/nacl_validation_query_unittest.cc", |
158 "loader/run_all_unittests.cc", | 167 "loader/run_all_unittests.cc", |
159 ] | 168 ] |
160 | 169 |
161 deps = [ | 170 deps = [ |
162 ":nacl", | 171 ":nacl", |
163 "//base/test:test_support", | 172 "//base/test:test_support", |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 | 311 |
303 if (is_linux) { | 312 if (is_linux) { |
304 sources += [ | 313 sources += [ |
305 "common/nacl_paths.cc", | 314 "common/nacl_paths.cc", |
306 "common/nacl_paths.h", | 315 "common/nacl_paths.h", |
307 ] | 316 ] |
308 | 317 |
309 defines = [ "__STDC_LIMIT_MACROS=1" ] | 318 defines = [ "__STDC_LIMIT_MACROS=1" ] |
310 } | 319 } |
311 } | 320 } |
OLD | NEW |