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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 "//components/storage_monitor", | 508 "//components/storage_monitor", |
509 "//crypto:platform", | 509 "//crypto:platform", |
510 "//device/bluetooth", | 510 "//device/bluetooth", |
511 "//device/core", | 511 "//device/core", |
512 "//device/hid", | 512 "//device/hid", |
513 "//device/serial", | 513 "//device/serial", |
514 "//device/usb", | 514 "//device/usb", |
515 "//extensions/common/api/cast_channel:cast_channel_proto", | 515 "//extensions/common/api/cast_channel:cast_channel_proto", |
516 ] | 516 ] |
517 | 517 |
518 if (use_openssl) { | |
519 sources += [ "api/cast_channel/cast_auth_util_openssl.cc" ] | |
520 } else { | |
521 sources += [ "api/cast_channel/cast_auth_util_nss.cc" ] | |
522 } | |
523 | |
524 if (is_chromeos) { | 518 if (is_chromeos) { |
525 deps += [ "//chromeos" ] | 519 deps += [ "//chromeos" ] |
526 sources += [ | 520 sources += [ |
527 "api/audio/audio_service_chromeos.cc", | 521 "api/audio/audio_service_chromeos.cc", |
528 "api/vpn_provider/vpn_provider_api.cc", | 522 "api/vpn_provider/vpn_provider_api.cc", |
529 "api/vpn_provider/vpn_provider_api.h", | 523 "api/vpn_provider/vpn_provider_api.h", |
530 "api/vpn_provider/vpn_service.cc", | 524 "api/vpn_provider/vpn_service.cc", |
531 "api/vpn_provider/vpn_service.h", | 525 "api/vpn_provider/vpn_service.h", |
532 "api/vpn_provider/vpn_service_factory.h", | 526 "api/vpn_provider/vpn_service_factory.h", |
533 ] | 527 ] |
534 } else if (is_linux) { | 528 } else if (is_linux) { |
535 sources += [ "api/audio/audio_service_linux.cc" ] | 529 sources += [ "api/audio/audio_service_linux.cc" ] |
536 } else { | 530 } else { |
537 sources += [ "api/audio/audio_service.cc" ] | 531 sources += [ "api/audio/audio_service.cc" ] |
538 } | 532 } |
539 } | 533 } |
540 | 534 |
541 if (is_win) { | 535 if (is_win) { |
542 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t
runcations. | 536 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t
runcations. |
543 } | 537 } |
544 } | 538 } |
OLD | NEW |