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 (or testing targets). |
| 544 visibility = [ |
| 545 "//webrtc/modules:*", |
| 546 ":*", |
| 547 ] |
| 548 |
544 sources = [ | 549 sources = [ |
545 "codecs/isac/main/include/audio_decoder_isac.h", | 550 "codecs/isac/main/include/audio_decoder_isac.h", |
546 "codecs/isac/main/include/audio_encoder_isac.h", | 551 "codecs/isac/main/include/audio_encoder_isac.h", |
547 "codecs/isac/main/include/isac.h", | 552 "codecs/isac/main/include/isac.h", |
548 "codecs/isac/main/source/arith_routines.c", | 553 "codecs/isac/main/source/arith_routines.c", |
549 "codecs/isac/main/source/arith_routines.h", | 554 "codecs/isac/main/source/arith_routines.h", |
550 "codecs/isac/main/source/arith_routines_hist.c", | 555 "codecs/isac/main/source/arith_routines_hist.c", |
551 "codecs/isac/main/source/arith_routines_logist.c", | 556 "codecs/isac/main/source/arith_routines_logist.c", |
552 "codecs/isac/main/source/bandwidth_estimator.c", | 557 "codecs/isac/main/source/bandwidth_estimator.c", |
553 "codecs/isac/main/source/bandwidth_estimator.h", | 558 "codecs/isac/main/source/bandwidth_estimator.h", |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 "../..:webrtc_common", | 806 "../..:webrtc_common", |
802 "../../base:rtc_base_approved", | 807 "../../base:rtc_base_approved", |
803 ] | 808 ] |
804 public_deps = [ | 809 public_deps = [ |
805 ":pcm16b_c", | 810 ":pcm16b_c", |
806 ] | 811 ] |
807 public_configs = [ ":pcm16b_config" ] | 812 public_configs = [ ":pcm16b_config" ] |
808 } | 813 } |
809 | 814 |
810 rtc_source_set("pcm16b_c") { | 815 rtc_source_set("pcm16b_c") { |
811 visibility = [ ":*" ] # Only targets in this file can depend on this. | 816 # Only targets in this file should depend on this (or testing targets). |
| 817 visibility = [ |
| 818 "//webrtc/modules:_modules_tests__library", |
| 819 "//webrtc/modules:*", |
| 820 ":*", |
| 821 ] |
812 sources = [ | 822 sources = [ |
813 "codecs/pcm16b/pcm16b.c", | 823 "codecs/pcm16b/pcm16b.c", |
814 "codecs/pcm16b/pcm16b.h", | 824 "codecs/pcm16b/pcm16b.h", |
815 ] | 825 ] |
816 | 826 |
817 public_configs = [ ":pcm16b_config" ] | 827 public_configs = [ ":pcm16b_config" ] |
818 deps = [ | 828 deps = [ |
819 "../..:webrtc_common", | 829 "../..:webrtc_common", |
820 ] | 830 ] |
821 } | 831 } |
(...skipping 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1915 "../../test:test_main", | 1925 "../../test:test_main", |
1916 "//testing/gtest", | 1926 "//testing/gtest", |
1917 ] | 1927 ] |
1918 | 1928 |
1919 if (!build_with_chromium && is_clang) { | 1929 if (!build_with_chromium && is_clang) { |
1920 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1930 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1921 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1931 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1922 } | 1932 } |
1923 } | 1933 } |
1924 } | 1934 } |
OLD | NEW |