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 | 8 |
8 if (enable_nacl) { | 9 if (enable_nacl) { |
9 source_set("nacl") { | 10 source_set("nacl") { |
10 sources = [ | 11 sources = [ |
11 "loader/nacl_ipc_adapter.cc", | 12 "loader/nacl_ipc_adapter.cc", |
12 "loader/nacl_ipc_adapter.h", | 13 "loader/nacl_ipc_adapter.h", |
13 "loader/nacl_listener.cc", | 14 "loader/nacl_listener.cc", |
14 "loader/nacl_listener.h", | 15 "loader/nacl_listener.h", |
15 "loader/nacl_main.cc", | 16 "loader/nacl_main.cc", |
16 "loader/nacl_main_platform_delegate.h", | 17 "loader/nacl_main_platform_delegate.h", |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 120 |
120 deps = [ | 121 deps = [ |
121 ":nacl_common", | 122 ":nacl_common", |
122 "renderer/plugin:nacl_trusted_plugin", | 123 "renderer/plugin:nacl_trusted_plugin", |
123 "//content/public/renderer", | 124 "//content/public/renderer", |
124 "//third_party/jsoncpp", | 125 "//third_party/jsoncpp", |
125 "//third_party/WebKit/public:blink", | 126 "//third_party/WebKit/public:blink", |
126 ] | 127 ] |
127 } | 128 } |
128 | 129 |
129 executable("nacl_loader_unittests") { | 130 test("nacl_loader_unittests") { |
130 testonly = true | |
131 sources = [ | 131 sources = [ |
132 "loader/run_all_unittests.cc", | 132 "loader/run_all_unittests.cc", |
133 ] | 133 ] |
134 | 134 |
135 deps = [ | 135 deps = [ |
136 ":nacl", | 136 ":nacl", |
137 "//base/test:test_support", | 137 "//base/test:test_support", |
138 "//testing/gtest", | 138 "//testing/gtest", |
139 ] | 139 ] |
140 } | 140 } |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 | 259 |
260 if (is_linux) { | 260 if (is_linux) { |
261 sources += [ | 261 sources += [ |
262 "common/nacl_paths.cc", | 262 "common/nacl_paths.cc", |
263 "common/nacl_paths.h", | 263 "common/nacl_paths.h", |
264 ] | 264 ] |
265 | 265 |
266 defines = [ "__STDC_LIMIT_MACROS=1" ] | 266 defines = [ "__STDC_LIMIT_MACROS=1" ] |
267 } | 267 } |
268 } | 268 } |
OLD | NEW |