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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 "//net", | 245 "//net", |
243 "//third_party/icu", | 246 "//third_party/icu", |
244 "//third_party/libxml", | 247 "//third_party/libxml", |
245 "//third_party/re2", | 248 "//third_party/re2", |
246 "//ui/base", | 249 "//ui/base", |
247 "//ui/gfx/geometry", | 250 "//ui/gfx/geometry", |
248 "//ui/gfx/ipc", | 251 "//ui/gfx/ipc", |
249 "//url", | 252 "//url", |
250 ] | 253 ] |
251 | 254 |
| 255 if (use_openssl) { |
| 256 sources += [ "cast/cast_cert_validator_openssl.cc" ] |
| 257 } else { |
| 258 sources += [ "cast/cast_cert_validator_nss.cc" ] |
| 259 } |
| 260 |
252 if (enable_nacl) { | 261 if (enable_nacl) { |
253 sources += [ | 262 sources += [ |
254 "manifest_handlers/nacl_modules_handler.cc", | 263 "manifest_handlers/nacl_modules_handler.cc", |
255 "manifest_handlers/nacl_modules_handler.h", | 264 "manifest_handlers/nacl_modules_handler.h", |
256 ] | 265 ] |
257 } | 266 } |
258 | 267 |
259 if (is_win) { | 268 if (is_win) { |
260 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int
truncations. | 269 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int
truncations. |
261 } | 270 } |
262 } | 271 } |
263 } # enable_extensions | 272 } # enable_extensions |
OLD | NEW |