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

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

Issue 2270403002: Migrated ILBC and ISAC test targets for GN. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@real_master
Patch Set: Minor changes in response to comments. Created 4 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("../../build/webrtc.gni") 9 import("../../build/webrtc.gni")
10 import("audio_coding.gni") 10 import("audio_coding.gni")
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 534
535 public_configs = [ 535 public_configs = [
536 "../..:common_inherited_config", 536 "../..:common_inherited_config",
537 ":isac_config", 537 ":isac_config",
538 ] 538 ]
539 539
540 deps = [ 540 deps = [
541 ":audio_decoder_interface", 541 ":audio_decoder_interface",
542 ":audio_encoder_interface", 542 ":audio_encoder_interface",
543 ":isac_common", 543 ":isac_common",
544 "../..:webrtc_common",
545 "../../base:rtc_base_approved",
544 "../../common_audio", 546 "../../common_audio",
545 ] 547 ]
546 } 548 }
547 549
548 config("isac_fix_config") { 550 config("isac_fix_config") {
549 include_dirs = [ 551 include_dirs = [
550 "../../..", 552 "../../..",
551 "codecs/isac/fix/include", 553 "codecs/isac/fix/include",
552 ] 554 ]
553 } 555 }
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
1028 "../../common_audio/", 1030 "../../common_audio/",
1029 "../../test:test_support_main", 1031 "../../test:test_support_main",
1030 "//testing/gtest", 1032 "//testing/gtest",
1031 ] 1033 ]
1032 1034
1033 if (is_android) { 1035 if (is_android) {
1034 deps += [ "//testing/android/native_test:native_test_native_code" ] 1036 deps += [ "//testing/android/native_test:native_test_native_code" ]
1035 shard_timeout = 900 1037 shard_timeout = 900
1036 } 1038 }
1037 1039
1038 if (is_android || is_ios) { 1040 if (is_android || is_ios) {
aleloi 2016/08/29 10:21:34 This change was done in upsteram (not part of this
1039 data = [ 1041 data = [
1040 "//resources/audio_coding/testfile32kHz.pcm", 1042 "//resources/audio_coding/testfile32kHz.pcm",
1041 ] 1043 ]
1042 } 1044 }
1043 } # audio_decoder_unittests 1045 } # audio_decoder_unittests
1044 1046
1045 if (rtc_enable_protobuf) { 1047 if (rtc_enable_protobuf) {
1046 proto_library("neteq_unittest_proto") { 1048 proto_library("neteq_unittest_proto") {
1047 sources = [ 1049 sources = [
1048 "neteq/neteq_unittest.proto", 1050 "neteq/neteq_unittest.proto",
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
1562 ] 1564 ]
1563 1565
1564 deps = [ 1566 deps = [
1565 ":isac", 1567 ":isac",
1566 "../../base:rtc_base_approved", 1568 "../../base:rtc_base_approved",
1567 "//build/config/sanitizers:deps", 1569 "//build/config/sanitizers:deps",
1568 ] 1570 ]
1569 1571
1570 configs += [ ":isac_test_warnings_config" ] 1572 configs += [ ":isac_test_warnings_config" ]
1571 } 1573 }
1572 1574
aleloi 2016/08/29 10:21:34 Also change from upstream.
kjellander_webrtc 2016/08/29 11:01:32 What do you mean with this comment?
aleloi 2016/08/29 11:08:13 I think I formulated it badly. The review system s
1573 executable("g711_test") { 1575 executable("g711_test") {
1574 testonly = true 1576 testonly = true
1575 1577
1576 sources = [ 1578 sources = [
1577 "codecs/g711/test/testG711.cc", 1579 "codecs/g711/test/testG711.cc",
1578 ] 1580 ]
1579 1581
1580 configs += [ "../..:common_config" ] 1582 configs += [ "../..:common_config" ]
1581 public_configs = [ "../..:common_inherited_config" ] 1583 public_configs = [ "../..:common_inherited_config" ]
1582 1584
(...skipping 13 matching lines...) Expand all
1596 configs += [ "../..:common_config" ] 1598 configs += [ "../..:common_config" ]
1597 public_configs = [ "../..:common_inherited_config" ] 1599 public_configs = [ "../..:common_inherited_config" ]
1598 1600
1599 deps = [ 1601 deps = [
1600 ":g722", 1602 ":g722",
1601 "../..:webrtc_common", 1603 "../..:webrtc_common",
1602 "//build/config/sanitizers:deps", 1604 "//build/config/sanitizers:deps",
1603 ] 1605 ]
1604 } 1606 }
1605 1607
1608 executable("isac_api_test") {
1609 testonly = true
1610
1611 sources = [
1612 "codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc",
1613 "codecs/isac/main/util/utility.c",
1614 ]
1615
1616 configs += [ "../..:common_config" ]
1617 public_configs = [ "../..:common_inherited_config" ]
1618
1619 deps = [
1620 ":isac",
1621 "../../base:rtc_base",
1622 "//build/config/sanitizers:deps",
1623 ]
1624
1625 include_dirs = [
1626 "codecs/isac/main/include",
1627 "codecs/isac/main/test",
1628 "codecs/isac/main/util",
1629 ]
1630 }
1631
1632 executable("isac_switch_samprate_test") {
1633 testonly = true
1634
1635 sources = [
1636 "codecs/isac/main/test/SwitchingSampRate/SwitchingSampRate.cc",
1637 "codecs/isac/main/util/utility.c",
1638 ]
1639
1640 configs += [ "../..:common_config" ]
1641 public_configs = [ "../..:common_inherited_config" ]
1642
1643 deps = [
1644 ":isac",
1645 "//build/config/sanitizers:deps",
1646 ]
1647
1648 include_dirs = [
1649 "codecs/isac/main/include",
1650 "codecs/isac/main/test",
1651 "codecs/isac/main/util",
1652 "../../common_audio/signal_processing/include",
1653 ]
1654 }
1655
1656 executable("ilbc_test") {
1657 testonly = true
1658
1659 sources = [
1660 "codecs/ilbc/test/iLBC_test.c",
1661 ]
1662
1663 configs += [ "../..:common_config" ]
1664 public_configs = [ "../..:common_inherited_config" ]
1665
1666 deps = [
1667 ":ilbc",
1668 "//build/config/sanitizers:deps",
1669 ]
1670 }
1671
1606 executable("webrtc_opus_fec_test") { 1672 executable("webrtc_opus_fec_test") {
1607 testonly = true 1673 testonly = true
1608 1674
1609 sources = [ 1675 sources = [
1610 "codecs/opus/opus_fec_test.cc", 1676 "codecs/opus/opus_fec_test.cc",
1611 ] 1677 ]
1612 1678
1613 deps = [ 1679 deps = [
1614 ":webrtc_opus", 1680 ":webrtc_opus",
1615 "../../base:rtc_base_approved", 1681 "../../base:rtc_base_approved",
1616 "../../common_audio", 1682 "../../common_audio",
1617 "../../test:test_support", 1683 "../../test:test_support",
1618 "../../test:test_support_main", 1684 "../../test:test_support_main",
1619 "//build/config/sanitizers:deps", 1685 "//build/config/sanitizers:deps",
1620 "//testing/gtest", 1686 "//testing/gtest",
1621 ] 1687 ]
1622 1688
1623 if (is_clang) { 1689 if (is_clang) {
1624 # Suppress warnings from Chrome's Clang plugins. 1690 # Suppress warnings from Chrome's Clang plugins.
1625 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 1691 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
1626 configs -= [ "//build/config/clang:find_bad_constructs" ] 1692 configs -= [ "//build/config/clang:find_bad_constructs" ]
1627 } 1693 }
1628 } 1694 }
1629 } 1695 }
OLDNEW
« .gn ('K') | « .gn ('k') | webrtc/modules/audio_coding/codecs/isac/isac_test.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698