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

Side by Side Diff: media/BUILD.gn

Issue 409493002: Cleanup test_support target names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « gpu/BUILD.gn ('k') | printing/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/config/linux/pkg_config.gni") 8 import("//build/config/linux/pkg_config.gni")
9 import("//media/media_options.gni") 9 import("//media/media_options.gni")
10 10
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 # 'conditions': [ 826 # 'conditions': [
827 # ['use_allocator!="none"', { 827 # ['use_allocator!="none"', {
828 # 'dependencies': [ 828 # 'dependencies': [
829 # '../base/allocator/allocator.gyp:allocator', 829 # '../base/allocator/allocator.gyp:allocator',
830 # ], 830 # ],
831 # }], 831 # }],
832 # ], 832 # ],
833 # }], 833 # }],
834 deps = [ 834 deps = [
835 ":media", 835 ":media",
836 ":media_test_support", 836 ":test_support",
837 "//base/test:test_support", 837 "//base/test:test_support",
838 "//media/audio:unittests", 838 "//media/audio:unittests",
839 "//media/audio:test_support", 839 "//media/audio:test_support",
840 "//skia", # Direct dependency required to inherit config. 840 "//skia", # Direct dependency required to inherit config.
841 "//testing/gmock", 841 "//testing/gmock",
842 "//testing/gtest", 842 "//testing/gtest",
843 # TODO(dalecurtis): Port the rest of Widevine stuff. 843 # TODO(dalecurtis): Port the rest of Widevine stuff.
844 "//third_party/widevine/cdm:version_h", 844 "//third_party/widevine/cdm:version_h",
845 "//ui/base", 845 "//ui/base",
846 "//ui/gfx:gfx_test_support", 846 "//ui/gfx:test_support",
847 ] 847 ]
848 if (media_use_ffmpeg) { 848 if (media_use_ffmpeg) {
849 deps += [ 849 deps += [
850 "//third_party/ffmpeg", # Direct dependency required to inherit config. 850 "//third_party/ffmpeg", # Direct dependency required to inherit config.
851 ] 851 ]
852 } 852 }
853 } 853 }
854 854
855 test("media_perftests") { 855 test("media_perftests") {
856 sources = [ 856 sources = [
857 "base/audio_bus_perftest.cc", 857 "base/audio_bus_perftest.cc",
858 "base/audio_converter_perftest.cc", 858 "base/audio_converter_perftest.cc",
859 "base/run_all_perftests.cc", 859 "base/run_all_perftests.cc",
860 "base/sinc_resampler_perftest.cc", 860 "base/sinc_resampler_perftest.cc",
861 "base/vector_math_perftest.cc", 861 "base/vector_math_perftest.cc",
862 "base/yuv_convert_perftest.cc", 862 "base/yuv_convert_perftest.cc",
863 ] 863 ]
864 if (media_use_ffmpeg) { 864 if (media_use_ffmpeg) {
865 sources += [ 865 sources += [
866 "base/demuxer_perftest.cc", 866 "base/demuxer_perftest.cc",
867 "filters/pipeline_integration_perftest.cc", 867 "filters/pipeline_integration_perftest.cc",
868 "filters/pipeline_integration_test_base.cc", 868 "filters/pipeline_integration_test_base.cc",
869 ] 869 ]
870 } 870 }
871 configs += [ ":media_config" ] 871 configs += [ ":media_config" ]
872 deps = [ 872 deps = [
873 ":media", 873 ":media",
874 ":media_test_support",
875 ":shared_memory_support", 874 ":shared_memory_support",
875 ":test_support",
876 "//base/test:test_support", 876 "//base/test:test_support",
877 "//media/audio:test_support", 877 "//media/audio:test_support",
878 "//testing/gmock", 878 "//testing/gmock",
879 "//testing/gtest", 879 "//testing/gtest",
880 "//testing/perf", 880 "//testing/perf",
881 "//third_party/widevine/cdm:version_h", 881 "//third_party/widevine/cdm:version_h",
882 "//ui/gl", 882 "//ui/gl",
883 "//ui/gfx:gfx_test_support", 883 "//ui/gfx:test_support",
884 ] 884 ]
885 if (media_use_ffmpeg) { 885 if (media_use_ffmpeg) {
886 deps += [ 886 deps += [
887 "//third_party/ffmpeg", # Direct dependency required to inherit config. 887 "//third_party/ffmpeg", # Direct dependency required to inherit config.
888 ] 888 ]
889 } 889 }
890 } 890 }
891 891
892 if (cpu_arch == "x86" || cpu_arch == "x64") { 892 if (cpu_arch == "x86" || cpu_arch == "x64") {
893 source_set("media_mmx") { 893 source_set("media_mmx") {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 yasm_flags += [ "-DELF" ] 959 yasm_flags += [ "-DELF" ]
960 if (cpu_arch == "x64") { 960 if (cpu_arch == "x64") {
961 # TODO(ajwong): Why isn't this true in mac? 961 # TODO(ajwong): Why isn't this true in mac?
962 yasm_flags += [ "-DPIC" ] 962 yasm_flags += [ "-DPIC" ]
963 } 963 }
964 } 964 }
965 } 965 }
966 } 966 }
967 } 967 }
968 968
969 source_set("media_test_support") { 969 source_set("test_support") {
970 sources = [ 970 sources = [
971 "base/fake_audio_render_callback.cc", 971 "base/fake_audio_render_callback.cc",
972 "base/fake_audio_render_callback.h", 972 "base/fake_audio_render_callback.h",
973 "base/fake_audio_renderer_sink.cc", 973 "base/fake_audio_renderer_sink.cc",
974 "base/fake_audio_renderer_sink.h", 974 "base/fake_audio_renderer_sink.h",
975 "base/fake_text_track_stream.cc", 975 "base/fake_text_track_stream.cc",
976 "base/fake_text_track_stream.h", 976 "base/fake_text_track_stream.h",
977 "base/gmock_callback_support.h", 977 "base/gmock_callback_support.h",
978 "base/mock_audio_renderer_sink.cc", 978 "base/mock_audio_renderer_sink.cc",
979 "base/mock_audio_renderer_sink.h", 979 "base/mock_audio_renderer_sink.h",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 configs += [ ":media_config" ] 1021 configs += [ ":media_config" ]
1022 deps = [ "//base" ] 1022 deps = [ "//base" ]
1023 } 1023 }
1024 1024
1025 if (media_use_ffmpeg) { 1025 if (media_use_ffmpeg) {
1026 test("ffmpeg_unittests") { 1026 test("ffmpeg_unittests") {
1027 sources = [ "ffmpeg/ffmpeg_unittest.cc" ] 1027 sources = [ "ffmpeg/ffmpeg_unittest.cc" ]
1028 1028
1029 deps = [ 1029 deps = [
1030 ":media", 1030 ":media",
1031 ":media_test_support", 1031 ":test_support",
1032 "//base", 1032 "//base",
1033 "//base:i18n", 1033 "//base:i18n",
1034 "//base/test:test_support", 1034 "//base/test:test_support",
1035 "//testing/gtest", 1035 "//testing/gtest",
1036 "//third_party/ffmpeg", 1036 "//third_party/ffmpeg",
1037 "//ui/gfx:gfx_test_support", 1037 "//ui/gfx:test_support",
1038 ] 1038 ]
1039 } 1039 }
1040 1040
1041 test("ffmpeg_regression_tests") { 1041 test("ffmpeg_regression_tests") {
1042 sources = [ 1042 sources = [
1043 "base/run_all_unittests.cc", 1043 "base/run_all_unittests.cc",
1044 "ffmpeg/ffmpeg_regression_tests.cc", 1044 "ffmpeg/ffmpeg_regression_tests.cc",
1045 "filters/pipeline_integration_test_base.cc", 1045 "filters/pipeline_integration_test_base.cc",
1046 ] 1046 ]
1047 configs += [ ":media_config" ] 1047 configs += [ ":media_config" ]
1048 deps = [ 1048 deps = [
1049 ":media", 1049 ":media",
1050 ":media_test_support", 1050 ":test_support",
1051 "//base/test:test_support", 1051 "//base/test:test_support",
1052 "//media/audio:test_support", 1052 "//media/audio:test_support",
1053 "//testing/gmock", 1053 "//testing/gmock",
1054 "//testing/gtest", 1054 "//testing/gtest",
1055 "//third_party/ffmpeg", 1055 "//third_party/ffmpeg",
1056 "//ui/gfx/geometry", 1056 "//ui/gfx/geometry",
1057 "//ui/gfx:gfx_test_support", 1057 "//ui/gfx:test_support",
1058 ] 1058 ]
1059 # TODO(ajwong): This was in the original gyp, but it seems silly. 1059 # TODO(ajwong): This was in the original gyp, but it seems silly.
1060 # ['os_posix==1 and OS!="mac"', { 1060 # ['os_posix==1 and OS!="mac"', {
1061 # 'conditions': [ 1061 # 'conditions': [
1062 # ['use_allocator!="none"', { 1062 # ['use_allocator!="none"', {
1063 # 'dependencies': [ 1063 # 'dependencies': [
1064 # '../base/allocator/allocator.gyp:allocator', 1064 # '../base/allocator/allocator.gyp:allocator',
1065 # ], 1065 # ],
1066 # }], 1066 # }],
1067 # ], 1067 # ],
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 "base/android/java/src/org/chromium/media/ImageFormat.template", 1173 "base/android/java/src/org/chromium/media/ImageFormat.template",
1174 ] 1174 ]
1175 inputs = [ 1175 inputs = [
1176 "video/capture/android/imageformat_list.h" 1176 "video/capture/android/imageformat_list.h"
1177 ] 1177 ]
1178 package_name = "org/chromium/media" 1178 package_name = "org/chromium/media"
1179 } 1179 }
1180 1180
1181 # TODO(dalecurtis): Finish media_unittests_apk and media_perftests_apk. 1181 # TODO(dalecurtis): Finish media_unittests_apk and media_perftests_apk.
1182 } 1182 }
OLDNEW
« no previous file with comments | « gpu/BUILD.gn ('k') | printing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698