| 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/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 | 7 |
| 8 # GYP version: extensions/extensions.gyp:extensions_browser | 8 # GYP version: extensions/extensions.gyp:extensions_browser |
| 9 source_set("browser") { | 9 source_set("browser") { |
| 10 sources = [ | 10 sources = [ |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 "admin_policy.h", | 36 "admin_policy.h", |
| 37 "api/api_resource.cc", | 37 "api/api_resource.cc", |
| 38 "api/api_resource.h", | 38 "api/api_resource.h", |
| 39 "api/api_resource_manager.h", | 39 "api/api_resource_manager.h", |
| 40 "api/app_runtime/app_runtime_api.cc", | 40 "api/app_runtime/app_runtime_api.cc", |
| 41 "api/app_runtime/app_runtime_api.h", | 41 "api/app_runtime/app_runtime_api.h", |
| 42 "api/app_view/app_view_internal_api.cc", | 42 "api/app_view/app_view_internal_api.cc", |
| 43 "api/app_view/app_view_internal_api.h", | 43 "api/app_view/app_view_internal_api.h", |
| 44 "api/async_api_function.cc", | 44 "api/async_api_function.cc", |
| 45 "api/async_api_function.h", | 45 "api/async_api_function.h", |
| 46 "api/bluetooth/bluetooth_api.cc", |
| 47 "api/bluetooth/bluetooth_api.h", |
| 48 "api/bluetooth/bluetooth_api_pairing_delegate.cc", |
| 49 "api/bluetooth/bluetooth_api_pairing_delegate.h", |
| 50 "api/bluetooth/bluetooth_api_utils.cc", |
| 51 "api/bluetooth/bluetooth_api_utils.h", |
| 52 "api/bluetooth/bluetooth_event_router.cc", |
| 53 "api/bluetooth/bluetooth_event_router.h", |
| 54 "api/bluetooth/bluetooth_extension_function.cc", |
| 55 "api/bluetooth/bluetooth_extension_function.h", |
| 56 "api/bluetooth/bluetooth_private_api.cc", |
| 57 "api/bluetooth/bluetooth_private_api.h", |
| 58 "api/bluetooth_low_energy/bluetooth_low_energy_api.cc", |
| 59 "api/bluetooth_low_energy/bluetooth_low_energy_api.h", |
| 60 "api/bluetooth_low_energy/bluetooth_low_energy_connection.cc", |
| 61 "api/bluetooth_low_energy/bluetooth_low_energy_connection.h", |
| 62 "api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc", |
| 63 "api/bluetooth_low_energy/bluetooth_low_energy_event_router.h", |
| 64 "api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc", |
| 65 "api/bluetooth_low_energy/bluetooth_low_energy_notify_session.h", |
| 66 "api/bluetooth_low_energy/utils.cc", |
| 67 "api/bluetooth_low_energy/utils.h", |
| 68 "api/bluetooth_socket/bluetooth_api_socket.cc", |
| 69 "api/bluetooth_socket/bluetooth_api_socket.h", |
| 70 "api/bluetooth_socket/bluetooth_socket_api.cc", |
| 71 "api/bluetooth_socket/bluetooth_socket_api.h", |
| 72 "api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc", |
| 73 "api/bluetooth_socket/bluetooth_socket_event_dispatcher.h", |
| 46 "api/cast_channel/cast_auth_util.cc", | 74 "api/cast_channel/cast_auth_util.cc", |
| 47 "api/cast_channel/cast_auth_util.h", | 75 "api/cast_channel/cast_auth_util.h", |
| 48 "api/cast_channel/cast_channel_api.cc", | 76 "api/cast_channel/cast_channel_api.cc", |
| 49 "api/cast_channel/cast_channel_api.h", | 77 "api/cast_channel/cast_channel_api.h", |
| 50 "api/cast_channel/cast_message_util.cc", | 78 "api/cast_channel/cast_message_util.cc", |
| 51 "api/cast_channel/cast_message_util.h", | 79 "api/cast_channel/cast_message_util.h", |
| 52 "api/cast_channel/cast_socket.cc", | 80 "api/cast_channel/cast_socket.cc", |
| 53 "api/cast_channel/cast_socket.h", | 81 "api/cast_channel/cast_socket.h", |
| 54 "api/cast_channel/logger.cc", | 82 "api/cast_channel/logger.cc", |
| 55 "api/cast_channel/logger.h", | 83 "api/cast_channel/logger.h", |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 "value_store/value_store_util.h", | 325 "value_store/value_store_util.h", |
| 298 "verified_contents.cc", | 326 "verified_contents.cc", |
| 299 "verified_contents.h", | 327 "verified_contents.h", |
| 300 "view_type_utils.cc", | 328 "view_type_utils.cc", |
| 301 "view_type_utils.h", | 329 "view_type_utils.h", |
| 302 ] | 330 ] |
| 303 | 331 |
| 304 deps += [ | 332 deps += [ |
| 305 "//components/usb_service", | 333 "//components/usb_service", |
| 306 "//crypto:platform", | 334 "//crypto:platform", |
| 335 "//device/bluetooth", |
| 307 "//device/hid", | 336 "//device/hid", |
| 308 "//device/serial", | 337 "//device/serial", |
| 309 "//extensions/browser/api/cast_channel:cast_channel_proto", | 338 "//extensions/browser/api/cast_channel:cast_channel_proto", |
| 310 ] | 339 ] |
| 311 | 340 |
| 312 if (use_openssl) { | 341 if (use_openssl) { |
| 313 sources += [ | 342 sources += [ |
| 314 "api/cast_channel/cast_auth_util_openssl.cc", | 343 "api/cast_channel/cast_auth_util_openssl.cc", |
| 315 ] | 344 ] |
| 316 } else { | 345 } else { |
| 317 sources += [ | 346 sources += [ |
| 318 "api/cast_channel/cast_auth_util_nss.cc", | 347 "api/cast_channel/cast_auth_util_nss.cc", |
| 319 ] | 348 ] |
| 320 } | 349 } |
| 321 } | 350 } |
| 322 | 351 |
| 323 if (is_win) { | 352 if (is_win) { |
| 324 cflags = [ | 353 cflags = [ |
| 325 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 354 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 326 ] | 355 ] |
| 327 } | 356 } |
| 328 } | 357 } |
| OLD | NEW |