OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/crypto.gni") |
5 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
6 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 8 |
8 # GYP version: extensions/extensions.gyp:extensions_common_constants | 9 # GYP version: extensions/extensions.gyp:extensions_common_constants |
9 source_set("common_constants") { | 10 source_set("common_constants") { |
10 sources = [ | 11 sources = [ |
11 "constants.cc", | 12 "constants.cc", |
12 "constants.h", | 13 "constants.h", |
13 ] | 14 ] |
14 | 15 |
(...skipping 19 matching lines...) Expand all Loading... |
34 "api/bluetooth/bluetooth_manifest_handler.cc", | 35 "api/bluetooth/bluetooth_manifest_handler.cc", |
35 "api/bluetooth/bluetooth_manifest_handler.h", | 36 "api/bluetooth/bluetooth_manifest_handler.h", |
36 "api/bluetooth/bluetooth_manifest_permission.cc", | 37 "api/bluetooth/bluetooth_manifest_permission.cc", |
37 "api/bluetooth/bluetooth_manifest_permission.h", | 38 "api/bluetooth/bluetooth_manifest_permission.h", |
38 "api/sockets/sockets_manifest_data.cc", | 39 "api/sockets/sockets_manifest_data.cc", |
39 "api/sockets/sockets_manifest_data.h", | 40 "api/sockets/sockets_manifest_data.h", |
40 "api/sockets/sockets_manifest_handler.cc", | 41 "api/sockets/sockets_manifest_handler.cc", |
41 "api/sockets/sockets_manifest_handler.h", | 42 "api/sockets/sockets_manifest_handler.h", |
42 "api/sockets/sockets_manifest_permission.cc", | 43 "api/sockets/sockets_manifest_permission.cc", |
43 "api/sockets/sockets_manifest_permission.h", | 44 "api/sockets/sockets_manifest_permission.h", |
| 45 "cast/cast_cert_validator.cc", |
| 46 "cast/cast_cert_validator.h", |
44 "common_manifest_handlers.cc", | 47 "common_manifest_handlers.cc", |
45 "common_manifest_handlers.h", | 48 "common_manifest_handlers.h", |
46 "csp_validator.cc", | 49 "csp_validator.cc", |
47 "csp_validator.h", | 50 "csp_validator.h", |
48 "dom_action_types.h", | 51 "dom_action_types.h", |
49 "draggable_region.cc", | 52 "draggable_region.cc", |
50 "draggable_region.h", | 53 "draggable_region.h", |
51 "error_utils.cc", | 54 "error_utils.cc", |
52 "error_utils.h", | 55 "error_utils.h", |
53 "event_filter.cc", | 56 "event_filter.cc", |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 "//net", | 241 "//net", |
239 "//third_party/icu", | 242 "//third_party/icu", |
240 "//third_party/libxml", | 243 "//third_party/libxml", |
241 "//third_party/re2", | 244 "//third_party/re2", |
242 "//ui/base", | 245 "//ui/base", |
243 "//ui/gfx/geometry", | 246 "//ui/gfx/geometry", |
244 "//ui/gfx/ipc", | 247 "//ui/gfx/ipc", |
245 "//url", | 248 "//url", |
246 ] | 249 ] |
247 | 250 |
| 251 if (use_openssl) { |
| 252 sources += [ "cast/cast_cert_validator_openssl.cc" ] |
| 253 } else { |
| 254 sources += [ "cast/cast_cert_validator_nss.cc" ] |
| 255 } |
| 256 |
248 if (enable_nacl) { | 257 if (enable_nacl) { |
249 sources += [ | 258 sources += [ |
250 "manifest_handlers/nacl_modules_handler.cc", | 259 "manifest_handlers/nacl_modules_handler.cc", |
251 "manifest_handlers/nacl_modules_handler.h", | 260 "manifest_handlers/nacl_modules_handler.h", |
252 ] | 261 ] |
253 } | 262 } |
254 | 263 |
255 if (is_win) { | 264 if (is_win) { |
256 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int
truncations. | 265 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int
truncations. |
257 } | 266 } |
258 } | 267 } |
259 } # enable_extensions | 268 } # enable_extensions |
OLD | NEW |