Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Side by Side Diff: webrtc/modules/audio_coding/BUILD.gn

Issue 3004723002: Move RtpExtension to api/ directory and config.h/.cc to call/. (Closed)
Patch Set: Fix mistake Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("../../webrtc.gni") 9 import("../../webrtc.gni")
10 import("audio_coding.gni") 10 import("audio_coding.gni")
(...skipping 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 "test/utility.cc", 1382 "test/utility.cc",
1383 "test/utility.h", 1383 "test/utility.h",
1384 ] 1384 ]
1385 1385
1386 deps = [ 1386 deps = [
1387 ":audio_coding", 1387 ":audio_coding",
1388 ":audio_coding_module_typedefs", 1388 ":audio_coding_module_typedefs",
1389 ":audio_format_conversion", 1389 ":audio_format_conversion",
1390 "..:module_api", 1390 "..:module_api",
1391 "../../:webrtc_common", 1391 "../../:webrtc_common",
1392 "../../call:call",
1392 "../../rtc_base:rtc_base_approved", 1393 "../../rtc_base:rtc_base_approved",
1393 "../../system_wrappers", 1394 "../../system_wrappers",
1394 "../../system_wrappers:system_wrappers_default", 1395 "../../system_wrappers:system_wrappers_default",
1395 "../../test:test_support", 1396 "../../test:test_support",
1396 "../rtp_rtcp", 1397 "../rtp_rtcp",
1397 "//testing/gtest", 1398 "//testing/gtest",
1398 "//third_party/gflags:gflags", 1399 "//third_party/gflags:gflags",
1399 ] 1400 ]
1400 } # delay_test 1401 } # delay_test
1401 1402
(...skipping 10 matching lines...) Expand all
1412 if (!build_with_chromium && is_clang) { 1413 if (!build_with_chromium && is_clang) {
1413 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 1414 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
1414 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1415 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1415 } 1416 }
1416 1417
1417 deps = [ 1418 deps = [
1418 ":audio_coding", 1419 ":audio_coding",
1419 ":audio_format_conversion", 1420 ":audio_format_conversion",
1420 "..:module_api", 1421 "..:module_api",
1421 "../../:webrtc_common", 1422 "../../:webrtc_common",
1423 "../../call:call",
1422 "../../rtc_base:rtc_base_approved", 1424 "../../rtc_base:rtc_base_approved",
1423 "../../system_wrappers", 1425 "../../system_wrappers",
1424 "../../system_wrappers:system_wrappers_default", 1426 "../../system_wrappers:system_wrappers_default",
1425 "../../test:test_support", 1427 "../../test:test_support",
1426 "../rtp_rtcp", 1428 "../rtp_rtcp",
1427 "//testing/gtest", 1429 "//testing/gtest",
1428 "//third_party/gflags:gflags", 1430 "//third_party/gflags:gflags",
1429 ] 1431 ]
1430 } # insert_packet_with_timing 1432 } # insert_packet_with_timing
1431 1433
(...skipping 27 matching lines...) Expand all
1459 1461
1460 deps += audio_coding_deps 1462 deps += audio_coding_deps
1461 deps += [ 1463 deps += [
1462 ":ilbc", 1464 ":ilbc",
1463 ":isac", 1465 ":isac",
1464 ":isac_fix", 1466 ":isac_fix",
1465 ":neteq", 1467 ":neteq",
1466 ":neteq_tools", 1468 ":neteq_tools",
1467 "../../api/audio_codecs:audio_codecs_api", 1469 "../../api/audio_codecs:audio_codecs_api",
1468 "../../api/audio_codecs/opus:audio_encoder_opus", 1470 "../../api/audio_codecs/opus:audio_encoder_opus",
1471 "../../call:call",
1469 "../../common_audio", 1472 "../../common_audio",
1470 "../../rtc_base:protobuf_utils", 1473 "../../rtc_base:protobuf_utils",
1471 "../../test:test_main", 1474 "../../test:test_main",
1472 "//testing/gtest", 1475 "//testing/gtest",
1473 ] 1476 ]
1474 1477
1475 data = audio_decoder_unittests_resources 1478 data = audio_decoder_unittests_resources
1476 1479
1477 if (is_android) { 1480 if (is_android) {
1478 deps += [ "//testing/android/native_test:native_test_native_code" ] 1481 deps += [ "//testing/android/native_test:native_test_native_code" ]
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1510 cflags = [ 1513 cflags = [
1511 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. 1514 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning.
1512 "/wd4373", # virtual function override. 1515 "/wd4373", # virtual function override.
1513 ] 1516 ]
1514 } 1517 }
1515 1518
1516 deps += [ 1519 deps += [
1517 ":neteq", 1520 ":neteq",
1518 ":neteq_test_tools", 1521 ":neteq_test_tools",
1519 "../..:webrtc_common", 1522 "../..:webrtc_common",
1523 "../../call:call",
1520 "../../rtc_base:rtc_base_approved", 1524 "../../rtc_base:rtc_base_approved",
1521 "../../system_wrappers:system_wrappers_default", 1525 "../../system_wrappers:system_wrappers_default",
1522 "../../test:test_support", 1526 "../../test:test_support",
1523 "//third_party/gflags", 1527 "//third_party/gflags",
1524 ] 1528 ]
1525 } 1529 }
1526 } 1530 }
1527 1531
1528 audio_codec_speed_tests_resources = [ 1532 audio_codec_speed_tests_resources = [
1529 "//resources/audio_coding/music_stereo_48kHz.pcm", 1533 "//resources/audio_coding/music_stereo_48kHz.pcm",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1565 } 1569 }
1566 1570
1567 if (is_ios) { 1571 if (is_ios) {
1568 deps += [ ":audio_codec_speed_tests_data" ] 1572 deps += [ ":audio_codec_speed_tests_data" ]
1569 } 1573 }
1570 1574
1571 deps += [ 1575 deps += [
1572 ":isac_fix", 1576 ":isac_fix",
1573 ":webrtc_opus", 1577 ":webrtc_opus",
1574 "../..:webrtc_common", 1578 "../..:webrtc_common",
1579 "../../api:libjingle_peerconnection_api",
1580 "../../call:call",
1575 "../../rtc_base:rtc_base_approved", 1581 "../../rtc_base:rtc_base_approved",
1582 "../../system_wrappers:metrics_default",
1576 "../../system_wrappers:system_wrappers_default", 1583 "../../system_wrappers:system_wrappers_default",
1584 "../../test:field_trial",
1577 "../../test:test_main", 1585 "../../test:test_main",
1578 "../audio_processing", 1586 "../audio_processing",
1579 "//testing/gtest", 1587 "//testing/gtest",
1580 ] 1588 ]
1581 } 1589 }
1582 1590
1583 rtc_source_set("neteq_test_support") { 1591 rtc_source_set("neteq_test_support") {
1584 testonly = true 1592 testonly = true
1585 sources = [ 1593 sources = [
1586 "neteq/tools/neteq_external_decoder_test.cc", 1594 "neteq/tools/neteq_external_decoder_test.cc",
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
1697 ":cng", 1705 ":cng",
1698 ":g711", 1706 ":g711",
1699 ":g722", 1707 ":g722",
1700 ":ilbc", 1708 ":ilbc",
1701 ":isac", 1709 ":isac",
1702 ":neteq", 1710 ":neteq",
1703 ":neteq_test_tools_deprecated", 1711 ":neteq_test_tools_deprecated",
1704 ":pcm16b", 1712 ":pcm16b",
1705 ":webrtc_opus", 1713 ":webrtc_opus",
1706 "../..:webrtc_common", 1714 "../..:webrtc_common",
1715 "../../api:libjingle_peerconnection_api",
1716 "../../call:call",
1707 "../../common_audio", 1717 "../../common_audio",
1708 "../../rtc_base:rtc_base_approved", 1718 "../../rtc_base:rtc_base_approved",
1719 "../../system_wrappers:metrics_default",
1720 "../../test:field_trial",
1709 ] 1721 ]
1710 1722
1711 configs += [ ":RTPencode_config" ] 1723 configs += [ ":RTPencode_config" ]
1712 1724
1713 sources = [ 1725 sources = [
1714 "neteq/test/PayloadTypes.h", 1726 "neteq/test/PayloadTypes.h",
1715 "neteq/test/RTPencode.cc", 1727 "neteq/test/RTPencode.cc",
1716 ] 1728 ]
1717 1729
1718 include_dirs = [ 1730 include_dirs = [
(...skipping 22 matching lines...) Expand all
1741 } 1753 }
1742 1754
1743 rtc_executable("rtpcat") { 1755 rtc_executable("rtpcat") {
1744 testonly = true 1756 testonly = true
1745 1757
1746 sources = [ 1758 sources = [
1747 "neteq/tools/rtpcat.cc", 1759 "neteq/tools/rtpcat.cc",
1748 ] 1760 ]
1749 1761
1750 deps = [ 1762 deps = [
1763 "../../call:call",
1751 "../../rtc_base:rtc_base_approved", 1764 "../../rtc_base:rtc_base_approved",
1752 "../../system_wrappers:system_wrappers_default", 1765 "../../system_wrappers:system_wrappers_default",
1753 "../../test:rtp_test_utils", 1766 "../../test:rtp_test_utils",
1754 "//testing/gtest", 1767 "//testing/gtest",
1755 ] 1768 ]
1756 } 1769 }
1757 1770
1758 rtc_executable("RTPtimeshift") { 1771 rtc_executable("RTPtimeshift") {
1759 testonly = true 1772 testonly = true
1760 1773
(...skipping 25 matching lines...) Expand all
1786 testonly = true 1799 testonly = true
1787 1800
1788 sources = [ 1801 sources = [
1789 "neteq/tools/rtp_analyze.cc", 1802 "neteq/tools/rtp_analyze.cc",
1790 ] 1803 ]
1791 1804
1792 deps = [ 1805 deps = [
1793 ":neteq", 1806 ":neteq",
1794 ":neteq_test_tools", 1807 ":neteq_test_tools",
1795 ":pcm16b", 1808 ":pcm16b",
1809 "../../call:call",
1796 "../../system_wrappers:system_wrappers_default", 1810 "../../system_wrappers:system_wrappers_default",
1797 "//testing/gtest", 1811 "//testing/gtest",
1798 "//third_party/gflags:gflags", 1812 "//third_party/gflags:gflags",
1799 ] 1813 ]
1800 1814
1801 if (!build_with_chromium && is_clang) { 1815 if (!build_with_chromium && is_clang) {
1802 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 1816 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
1803 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1817 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1804 } 1818 }
1805 } 1819 }
1806 1820
1807 rtc_executable("neteq_opus_quality_test") { 1821 rtc_executable("neteq_opus_quality_test") {
1808 testonly = true 1822 testonly = true
1809 1823
1810 sources = [ 1824 sources = [
1811 "neteq/test/neteq_opus_quality_test.cc", 1825 "neteq/test/neteq_opus_quality_test.cc",
1812 ] 1826 ]
1813 1827
1814 deps = [ 1828 deps = [
1815 ":neteq", 1829 ":neteq",
1816 ":neteq_quality_test_support", 1830 ":neteq_quality_test_support",
1817 ":neteq_tools", 1831 ":neteq_tools",
1818 ":webrtc_opus", 1832 ":webrtc_opus",
1833 "../../call:call",
1819 "../../test:test_main", 1834 "../../test:test_main",
1820 "//testing/gtest", 1835 "//testing/gtest",
1821 "//third_party/gflags", 1836 "//third_party/gflags",
1822 ] 1837 ]
1823 } 1838 }
1824 1839
1825 rtc_executable("neteq_speed_test") { 1840 rtc_executable("neteq_speed_test") {
1826 testonly = true 1841 testonly = true
1827 1842
1828 sources = [ 1843 sources = [
1829 "neteq/test/neteq_speed_test.cc", 1844 "neteq/test/neteq_speed_test.cc",
1830 ] 1845 ]
1831 1846
1832 deps = [ 1847 deps = [
1833 ":neteq", 1848 ":neteq",
1834 ":neteq_test_support", 1849 ":neteq_test_support",
1835 "../..:webrtc_common", 1850 "../..:webrtc_common",
1851 "../../call:call",
1836 "../../system_wrappers:system_wrappers_default", 1852 "../../system_wrappers:system_wrappers_default",
1837 "../../test:test_support", 1853 "../../test:test_support",
1838 "//third_party/gflags", 1854 "//third_party/gflags",
1839 ] 1855 ]
1840 } 1856 }
1841 1857
1842 rtc_executable("neteq_ilbc_quality_test") { 1858 rtc_executable("neteq_ilbc_quality_test") {
1843 testonly = true 1859 testonly = true
1844 1860
1845 sources = [ 1861 sources = [
1846 "neteq/test/neteq_ilbc_quality_test.cc", 1862 "neteq/test/neteq_ilbc_quality_test.cc",
1847 ] 1863 ]
1848 1864
1849 deps = [ 1865 deps = [
1850 ":ilbc", 1866 ":ilbc",
1851 ":neteq", 1867 ":neteq",
1852 ":neteq_quality_test_support", 1868 ":neteq_quality_test_support",
1853 ":neteq_tools", 1869 ":neteq_tools",
1854 "../..:webrtc_common", 1870 "../..:webrtc_common",
1871 "../../call:call",
1855 "../../rtc_base:rtc_base_approved", 1872 "../../rtc_base:rtc_base_approved",
1856 "../../system_wrappers:system_wrappers_default", 1873 "../../system_wrappers:system_wrappers_default",
1857 "../../test:test_main", 1874 "../../test:test_main",
1858 "//testing/gtest", 1875 "//testing/gtest",
1859 "//third_party/gflags", 1876 "//third_party/gflags",
1860 ] 1877 ]
1861 } 1878 }
1862 1879
1863 rtc_executable("neteq_isac_quality_test") { 1880 rtc_executable("neteq_isac_quality_test") {
1864 testonly = true 1881 testonly = true
1865 1882
1866 sources = [ 1883 sources = [
1867 "neteq/test/neteq_isac_quality_test.cc", 1884 "neteq/test/neteq_isac_quality_test.cc",
1868 ] 1885 ]
1869 1886
1870 deps = [ 1887 deps = [
1871 ":isac_fix", 1888 ":isac_fix",
1872 ":neteq", 1889 ":neteq",
1873 ":neteq_quality_test_support", 1890 ":neteq_quality_test_support",
1891 "../../call:call",
1874 "../../rtc_base:rtc_base_approved", 1892 "../../rtc_base:rtc_base_approved",
1875 "../../test:test_main", 1893 "../../test:test_main",
1876 "//testing/gtest", 1894 "//testing/gtest",
1877 "//third_party/gflags", 1895 "//third_party/gflags",
1878 ] 1896 ]
1879 } 1897 }
1880 1898
1881 rtc_executable("neteq_pcmu_quality_test") { 1899 rtc_executable("neteq_pcmu_quality_test") {
1882 testonly = true 1900 testonly = true
1883 1901
1884 sources = [ 1902 sources = [
1885 "neteq/test/neteq_pcmu_quality_test.cc", 1903 "neteq/test/neteq_pcmu_quality_test.cc",
1886 ] 1904 ]
1887 1905
1888 deps = [ 1906 deps = [
1889 ":g711", 1907 ":g711",
1890 ":neteq", 1908 ":neteq",
1891 ":neteq_quality_test_support", 1909 ":neteq_quality_test_support",
1910 "../../call:call",
1892 "../../rtc_base:rtc_base_approved", 1911 "../../rtc_base:rtc_base_approved",
1893 "../../test:test_main", 1912 "../../test:test_main",
1894 "//testing/gtest", 1913 "//testing/gtest",
1895 "//third_party/gflags", 1914 "//third_party/gflags",
1896 ] 1915 ]
1897 } 1916 }
1898 1917
1899 rtc_executable("isac_fix_test") { 1918 rtc_executable("isac_fix_test") {
1900 testonly = true 1919 testonly = true
1901 1920
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
2034 2053
2035 rtc_executable("webrtc_opus_fec_test") { 2054 rtc_executable("webrtc_opus_fec_test") {
2036 testonly = true 2055 testonly = true
2037 2056
2038 sources = [ 2057 sources = [
2039 "codecs/opus/opus_fec_test.cc", 2058 "codecs/opus/opus_fec_test.cc",
2040 ] 2059 ]
2041 2060
2042 deps = [ 2061 deps = [
2043 ":webrtc_opus", 2062 ":webrtc_opus",
2063 "../../call:call",
2044 "../../common_audio", 2064 "../../common_audio",
2045 "../../rtc_base:rtc_base_approved", 2065 "../../rtc_base:rtc_base_approved",
2046 "../../test:test_main", 2066 "../../test:test_main",
2047 "//testing/gtest", 2067 "//testing/gtest",
2048 ] 2068 ]
2049 2069
2050 if (!build_with_chromium && is_clang) { 2070 if (!build_with_chromium && is_clang) {
2051 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 2071 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
2052 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 2072 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
2053 } 2073 }
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
2239 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. 2259 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead.
2240 # TODO(ossu): Remove this. 2260 # TODO(ossu): Remove this.
2241 rtc_source_set("builtin_audio_encoder_factory") { 2261 rtc_source_set("builtin_audio_encoder_factory") {
2242 sources = [ 2262 sources = [
2243 "codecs/builtin_audio_encoder_factory.h", 2263 "codecs/builtin_audio_encoder_factory.h",
2244 ] 2264 ]
2245 deps = [ 2265 deps = [
2246 "../../api/audio_codecs:builtin_audio_encoder_factory", 2266 "../../api/audio_codecs:builtin_audio_encoder_factory",
2247 ] 2267 ]
2248 } 2268 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698