OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 import("audio_coding.gni") | 10 import("audio_coding.gni") |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 ":audio_decoder_interface", | 533 ":audio_decoder_interface", |
534 ":audio_encoder_interface", | 534 ":audio_encoder_interface", |
535 ":isac_common", | 535 ":isac_common", |
536 ] | 536 ] |
537 public_deps = [ | 537 public_deps = [ |
538 ":isac_c", | 538 ":isac_c", |
539 ] | 539 ] |
540 } | 540 } |
541 | 541 |
542 rtc_static_library("isac_c") { | 542 rtc_static_library("isac_c") { |
543 visibility = [ ":*" ] # Only targets in this file can depend on this. | 543 # Only targets in this file should depend on this. |
| 544 # We are adding an exception for the ../:modules_tests target. |
| 545 visibility = [ |
| 546 ":*", |
| 547 "//webrtc/modules:modules_tests", |
| 548 "//webrtc/modules:modules_unittests", |
| 549 ] |
| 550 |
544 sources = [ | 551 sources = [ |
545 "codecs/isac/main/include/audio_decoder_isac.h", | 552 "codecs/isac/main/include/audio_decoder_isac.h", |
546 "codecs/isac/main/include/audio_encoder_isac.h", | 553 "codecs/isac/main/include/audio_encoder_isac.h", |
547 "codecs/isac/main/include/isac.h", | 554 "codecs/isac/main/include/isac.h", |
548 "codecs/isac/main/source/arith_routines.c", | 555 "codecs/isac/main/source/arith_routines.c", |
549 "codecs/isac/main/source/arith_routines.h", | 556 "codecs/isac/main/source/arith_routines.h", |
550 "codecs/isac/main/source/arith_routines_hist.c", | 557 "codecs/isac/main/source/arith_routines_hist.c", |
551 "codecs/isac/main/source/arith_routines_logist.c", | 558 "codecs/isac/main/source/arith_routines_logist.c", |
552 "codecs/isac/main/source/bandwidth_estimator.c", | 559 "codecs/isac/main/source/bandwidth_estimator.c", |
553 "codecs/isac/main/source/bandwidth_estimator.h", | 560 "codecs/isac/main/source/bandwidth_estimator.h", |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 "../..:webrtc_common", | 808 "../..:webrtc_common", |
802 "../../base:rtc_base_approved", | 809 "../../base:rtc_base_approved", |
803 ] | 810 ] |
804 public_deps = [ | 811 public_deps = [ |
805 ":pcm16b_c", | 812 ":pcm16b_c", |
806 ] | 813 ] |
807 public_configs = [ ":pcm16b_config" ] | 814 public_configs = [ ":pcm16b_config" ] |
808 } | 815 } |
809 | 816 |
810 rtc_source_set("pcm16b_c") { | 817 rtc_source_set("pcm16b_c") { |
811 visibility = [ ":*" ] # Only targets in this file can depend on this. | 818 # Only targets in this file should depend on this. |
| 819 # We are adding an exception for the ../:modules_tests target. |
| 820 visibility = [ |
| 821 ":*", |
| 822 "//webrtc/modules/:modules_tests", |
| 823 ] |
812 sources = [ | 824 sources = [ |
813 "codecs/pcm16b/pcm16b.c", | 825 "codecs/pcm16b/pcm16b.c", |
814 "codecs/pcm16b/pcm16b.h", | 826 "codecs/pcm16b/pcm16b.h", |
815 ] | 827 ] |
816 | 828 |
817 public_configs = [ ":pcm16b_config" ] | 829 public_configs = [ ":pcm16b_config" ] |
818 deps = [ | 830 deps = [ |
819 "../..:webrtc_common", | 831 "../..:webrtc_common", |
820 ] | 832 ] |
821 } | 833 } |
(...skipping 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1915 "../../test:test_main", | 1927 "../../test:test_main", |
1916 "//testing/gtest", | 1928 "//testing/gtest", |
1917 ] | 1929 ] |
1918 | 1930 |
1919 if (!build_with_chromium && is_clang) { | 1931 if (!build_with_chromium && is_clang) { |
1920 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1932 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1921 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1933 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1922 } | 1934 } |
1923 } | 1935 } |
1924 } | 1936 } |
OLD | NEW |