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 | |
528 if (is_chromeos) { | 522 if (is_chromeos) { |
529 deps += [ "//chromeos" ] | 523 deps += [ "//chromeos" ] |
530 sources += [ | 524 sources += [ |
531 "api/audio/audio_service_chromeos.cc", | 525 "api/audio/audio_service_chromeos.cc", |
532 "api/vpn_provider/vpn_provider_api.cc", | 526 "api/vpn_provider/vpn_provider_api.cc", |
533 "api/vpn_provider/vpn_provider_api.h", | 527 "api/vpn_provider/vpn_provider_api.h", |
534 "api/vpn_provider/vpn_service.cc", | 528 "api/vpn_provider/vpn_service.cc", |
535 "api/vpn_provider/vpn_service.h", | 529 "api/vpn_provider/vpn_service.h", |
536 "api/vpn_provider/vpn_service_factory.h", | 530 "api/vpn_provider/vpn_service_factory.h", |
537 ] | 531 ] |
538 } else if (is_linux) { | 532 } else if (is_linux) { |
539 sources += [ "api/audio/audio_service_linux.cc" ] | 533 sources += [ "api/audio/audio_service_linux.cc" ] |
540 } else { | 534 } else { |
541 sources += [ "api/audio/audio_service.cc" ] | 535 sources += [ "api/audio/audio_service.cc" ] |
542 } | 536 } |
543 } | 537 } |
544 | 538 |
545 if (is_win) { | 539 if (is_win) { |
546 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t
runcations. | 540 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t
runcations. |
547 } | 541 } |
548 } | 542 } |
OLD | NEW |