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

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

Issue 2995363002: Replace gflags usages with rtc_base/flags in all targets based on test_main (Closed)
Patch Set: Improve error messages Created 3 years, 4 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 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after
1651 1651
1652 deps = [ 1652 deps = [
1653 ":neteq", 1653 ":neteq",
1654 ":neteq_test_tools", 1654 ":neteq_test_tools",
1655 "..:module_api", 1655 "..:module_api",
1656 "../..:webrtc_common", 1656 "../..:webrtc_common",
1657 "../../api/audio_codecs:builtin_audio_decoder_factory", 1657 "../../api/audio_codecs:builtin_audio_decoder_factory",
1658 "../../rtc_base:rtc_base_approved", 1658 "../../rtc_base:rtc_base_approved",
1659 "../../test:test_support", 1659 "../../test:test_support",
1660 "//testing/gtest", 1660 "//testing/gtest",
1661 "//third_party/gflags",
1662 ] 1661 ]
1663 } 1662 }
1664 1663
1665 rtc_source_set("neteq_test_tools_deprecated") { 1664 rtc_source_set("neteq_test_tools_deprecated") {
1666 testonly = true 1665 testonly = true
1667 sources = [ 1666 sources = [
1668 "neteq/test/NETEQTEST_DummyRTPpacket.cc", 1667 "neteq/test/NETEQTEST_DummyRTPpacket.cc",
1669 "neteq/test/NETEQTEST_DummyRTPpacket.h", 1668 "neteq/test/NETEQTEST_DummyRTPpacket.h",
1670 "neteq/test/NETEQTEST_RTPpacket.cc", 1669 "neteq/test/NETEQTEST_RTPpacket.cc",
1671 "neteq/test/NETEQTEST_RTPpacket.h", 1670 "neteq/test/NETEQTEST_RTPpacket.h",
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
1814 testonly = true 1813 testonly = true
1815 1814
1816 sources = [ 1815 sources = [
1817 "neteq/tools/rtp_analyze.cc", 1816 "neteq/tools/rtp_analyze.cc",
1818 ] 1817 ]
1819 1818
1820 deps = [ 1819 deps = [
1821 ":neteq", 1820 ":neteq",
1822 ":neteq_test_tools", 1821 ":neteq_test_tools",
1823 ":pcm16b", 1822 ":pcm16b",
1823 "../../rtc_base:rtc_base_approved",
1824 "../../system_wrappers:system_wrappers_default", 1824 "../../system_wrappers:system_wrappers_default",
1825 "//testing/gtest", 1825 "//testing/gtest",
1826 "//third_party/gflags:gflags", 1826 "//third_party/gflags:gflags",
1827 ] 1827 ]
1828 1828
1829 if (!build_with_chromium && is_clang) { 1829 if (!build_with_chromium && is_clang) {
1830 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 1830 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
1831 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1831 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1832 } 1832 }
1833 } 1833 }
1834 1834
1835 rtc_executable("neteq_opus_quality_test") { 1835 rtc_executable("neteq_opus_quality_test") {
1836 testonly = true 1836 testonly = true
1837 1837
1838 sources = [ 1838 sources = [
1839 "neteq/test/neteq_opus_quality_test.cc", 1839 "neteq/test/neteq_opus_quality_test.cc",
1840 ] 1840 ]
1841 1841
1842 deps = [ 1842 deps = [
1843 ":neteq", 1843 ":neteq",
1844 ":neteq_quality_test_support", 1844 ":neteq_quality_test_support",
1845 ":neteq_tools", 1845 ":neteq_tools",
1846 ":webrtc_opus", 1846 ":webrtc_opus",
1847 "../../rtc_base:rtc_base_approved",
1847 "../../test:test_main", 1848 "../../test:test_main",
1848 "//testing/gtest", 1849 "//testing/gtest",
1849 "//third_party/gflags",
1850 ] 1850 ]
1851 } 1851 }
1852 1852
1853 rtc_executable("neteq_speed_test") { 1853 rtc_executable("neteq_speed_test") {
1854 testonly = true 1854 testonly = true
1855 1855
1856 sources = [ 1856 sources = [
1857 "neteq/test/neteq_speed_test.cc", 1857 "neteq/test/neteq_speed_test.cc",
1858 ] 1858 ]
1859 1859
1860 deps = [ 1860 deps = [
1861 ":neteq", 1861 ":neteq",
1862 ":neteq_test_support", 1862 ":neteq_test_support",
1863 "../..:webrtc_common", 1863 "../..:webrtc_common",
1864 "../../rtc_base:rtc_base_approved",
1864 "../../system_wrappers:system_wrappers_default", 1865 "../../system_wrappers:system_wrappers_default",
1865 "../../test:test_support", 1866 "../../test:test_support",
1866 "//third_party/gflags", 1867 "//third_party/gflags",
1867 ] 1868 ]
1868 } 1869 }
1869 1870
1870 rtc_executable("neteq_ilbc_quality_test") { 1871 rtc_executable("neteq_ilbc_quality_test") {
1871 testonly = true 1872 testonly = true
1872 1873
1873 sources = [ 1874 sources = [
1874 "neteq/test/neteq_ilbc_quality_test.cc", 1875 "neteq/test/neteq_ilbc_quality_test.cc",
1875 ] 1876 ]
1876 1877
1877 deps = [ 1878 deps = [
1878 ":ilbc", 1879 ":ilbc",
1879 ":neteq", 1880 ":neteq",
1880 ":neteq_quality_test_support", 1881 ":neteq_quality_test_support",
1881 ":neteq_tools", 1882 ":neteq_tools",
1882 "../..:webrtc_common", 1883 "../..:webrtc_common",
1883 "../../rtc_base:rtc_base_approved", 1884 "../../rtc_base:rtc_base_approved",
1884 "../../system_wrappers:system_wrappers_default", 1885 "../../system_wrappers:system_wrappers_default",
1885 "../../test:test_main", 1886 "../../test:test_main",
1886 "//testing/gtest", 1887 "//testing/gtest",
1887 "//third_party/gflags",
1888 ] 1888 ]
1889 } 1889 }
1890 1890
1891 rtc_executable("neteq_isac_quality_test") { 1891 rtc_executable("neteq_isac_quality_test") {
1892 testonly = true 1892 testonly = true
1893 1893
1894 sources = [ 1894 sources = [
1895 "neteq/test/neteq_isac_quality_test.cc", 1895 "neteq/test/neteq_isac_quality_test.cc",
1896 ] 1896 ]
1897 1897
1898 deps = [ 1898 deps = [
1899 ":isac_fix", 1899 ":isac_fix",
1900 ":neteq", 1900 ":neteq",
1901 ":neteq_quality_test_support", 1901 ":neteq_quality_test_support",
1902 "../../rtc_base:rtc_base_approved", 1902 "../../rtc_base:rtc_base_approved",
1903 "../../test:test_main", 1903 "../../test:test_main",
1904 "//testing/gtest", 1904 "//testing/gtest",
1905 "//third_party/gflags",
1906 ] 1905 ]
1907 } 1906 }
1908 1907
1909 rtc_executable("neteq_pcmu_quality_test") { 1908 rtc_executable("neteq_pcmu_quality_test") {
1910 testonly = true 1909 testonly = true
1911 1910
1912 sources = [ 1911 sources = [
1913 "neteq/test/neteq_pcmu_quality_test.cc", 1912 "neteq/test/neteq_pcmu_quality_test.cc",
1914 ] 1913 ]
1915 1914
1916 deps = [ 1915 deps = [
1917 ":g711", 1916 ":g711",
1918 ":neteq", 1917 ":neteq",
1919 ":neteq_quality_test_support", 1918 ":neteq_quality_test_support",
1920 "../../rtc_base:rtc_base_approved", 1919 "../../rtc_base:rtc_base_approved",
1921 "../../test:test_main", 1920 "../../test:test_main",
1922 "//testing/gtest", 1921 "//testing/gtest",
1923 "//third_party/gflags",
1924 ] 1922 ]
1925 } 1923 }
1926 1924
1927 rtc_executable("isac_fix_test") { 1925 rtc_executable("isac_fix_test") {
1928 testonly = true 1926 testonly = true
1929 1927
1930 sources = [ 1928 sources = [
1931 "codecs/isac/fix/test/kenny.cc", 1929 "codecs/isac/fix/test/kenny.cc",
1932 ] 1930 ]
1933 1931
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
2200 "../../rtc_base:rtc_base_approved", 2198 "../../rtc_base:rtc_base_approved",
2201 "../../rtc_base:rtc_base_tests_utils", 2199 "../../rtc_base:rtc_base_tests_utils",
2202 "../../system_wrappers:system_wrappers", 2200 "../../system_wrappers:system_wrappers",
2203 "../../test:audio_codec_mocks", 2201 "../../test:audio_codec_mocks",
2204 "../../test:field_trial", 2202 "../../test:field_trial",
2205 "../../test:rtp_test_utils", 2203 "../../test:rtp_test_utils",
2206 "../../test:test_common", 2204 "../../test:test_common",
2207 "../../test:test_support", 2205 "../../test:test_support",
2208 "//testing/gmock", 2206 "//testing/gmock",
2209 "//testing/gtest", 2207 "//testing/gtest",
2210 "//third_party/gflags",
2211 ] 2208 ]
2212 2209
2213 defines = audio_coding_defines 2210 defines = audio_coding_defines
2214 2211
2215 if (rtc_enable_protobuf) { 2212 if (rtc_enable_protobuf) {
2216 defines += [ "WEBRTC_NETEQ_UNITTEST_BITEXACT" ] 2213 defines += [ "WEBRTC_NETEQ_UNITTEST_BITEXACT" ]
2217 deps += [ 2214 deps += [
2218 ":ana_config_proto", 2215 ":ana_config_proto",
2219 ":neteq_unittest_proto", 2216 ":neteq_unittest_proto",
2220 ] 2217 ]
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
2267 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. 2264 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead.
2268 # TODO(ossu): Remove this. 2265 # TODO(ossu): Remove this.
2269 rtc_source_set("builtin_audio_encoder_factory") { 2266 rtc_source_set("builtin_audio_encoder_factory") {
2270 sources = [ 2267 sources = [
2271 "codecs/builtin_audio_encoder_factory.h", 2268 "codecs/builtin_audio_encoder_factory.h",
2272 ] 2269 ]
2273 deps = [ 2270 deps = [
2274 "../../api/audio_codecs:builtin_audio_encoder_factory", 2271 "../../api/audio_codecs:builtin_audio_encoder_factory",
2275 ] 2272 ]
2276 } 2273 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698