| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 "//third_party/jsoncpp", | 151 "//third_party/jsoncpp", |
| 152 ] | 152 ] |
| 153 } | 153 } |
| 154 | 154 |
| 155 # TODO(GYP): Delete this after we've converted everything to GN. |
| 156 # The _run targets exist only for compatibility w/ GYP. |
| 157 group("nacl_loader_unittests_run") { |
| 158 testonly = true |
| 159 deps = [ |
| 160 ":nacl_loader_unittests", |
| 161 ] |
| 162 } |
| 163 |
| 155 test("nacl_loader_unittests") { | 164 test("nacl_loader_unittests") { |
| 156 sources = [ | 165 sources = [ |
| 157 "loader/nacl_ipc_adapter_unittest.cc", | 166 "loader/nacl_ipc_adapter_unittest.cc", |
| 158 "loader/nacl_validation_query_unittest.cc", | 167 "loader/nacl_validation_query_unittest.cc", |
| 159 "loader/run_all_unittests.cc", | 168 "loader/run_all_unittests.cc", |
| 160 ] | 169 ] |
| 161 | 170 |
| 162 deps = [ | 171 deps = [ |
| 163 ":nacl", | 172 ":nacl", |
| 164 "//base/test:test_support", | 173 "//base/test:test_support", |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 | 312 |
| 304 if (is_linux) { | 313 if (is_linux) { |
| 305 sources += [ | 314 sources += [ |
| 306 "common/nacl_paths.cc", | 315 "common/nacl_paths.cc", |
| 307 "common/nacl_paths.h", | 316 "common/nacl_paths.h", |
| 308 ] | 317 ] |
| 309 | 318 |
| 310 defines = [ "__STDC_LIMIT_MACROS=1" ] | 319 defines = [ "__STDC_LIMIT_MACROS=1" ] |
| 311 } | 320 } |
| 312 } | 321 } |
| OLD | NEW |