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 # From third_party/libjingle/libjingle.gyp's target_defaults. | 8 # From third_party/libjingle/libjingle.gyp's target_defaults. |
9 config("jingle_unexported_configs") { | 9 config("jingle_unexported_configs") { |
10 defines = [ | 10 defines = [ |
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 "source/talk/media/webrtc/webrtcvoiceengine.cc", | 523 "source/talk/media/webrtc/webrtcvoiceengine.cc", |
524 "source/talk/media/webrtc/webrtcvoiceengine.h", | 524 "source/talk/media/webrtc/webrtcvoiceengine.h", |
525 ] | 525 ] |
526 | 526 |
527 configs += [ ":jingle_unexported_configs" ] | 527 configs += [ ":jingle_unexported_configs" ] |
528 public_configs = [ ":jingle_public_configs" ] | 528 public_configs = [ ":jingle_public_configs" ] |
529 configs -= [ "//build/config/compiler:chromium_code" ] | 529 configs -= [ "//build/config/compiler:chromium_code" ] |
530 configs += [ "//build/config/compiler:no_chromium_code" ] | 530 configs += [ "//build/config/compiler:no_chromium_code" ] |
531 | 531 |
532 deps = [ | 532 deps = [ |
| 533 # TODO(GYP): crbug.com/481633. Consider depending on :libjingle_webrtc |
| 534 # instead. |
533 ":libjingle_webrtc_common", | 535 ":libjingle_webrtc_common", |
534 "//third_party/webrtc", | 536 "//third_party/webrtc", |
535 "//third_party/webrtc/system_wrappers", | 537 "//third_party/webrtc/system_wrappers", |
536 "//third_party/webrtc/voice_engine", | 538 "//third_party/webrtc/voice_engine", |
537 ] | 539 ] |
538 } | 540 } |
539 } # enable_webrtc | 541 } # enable_webrtc |
540 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. | 542 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. |
OLD | NEW |