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