OLD | NEW |
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 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
819 ":media", | 819 ":media", |
820 ":test_support", | 820 ":test_support", |
821 "//base/test:test_support", | 821 "//base/test:test_support", |
822 "//media/audio:unittests", | 822 "//media/audio:unittests", |
823 "//media/audio:test_support", | 823 "//media/audio:test_support", |
824 "//skia", # Direct dependency required to inherit config. | 824 "//skia", # Direct dependency required to inherit config. |
825 "//testing/gmock", | 825 "//testing/gmock", |
826 "//testing/gtest", | 826 "//testing/gtest", |
827 # TODO(dalecurtis): Port the rest of Widevine stuff. | 827 # TODO(dalecurtis): Port the rest of Widevine stuff. |
828 "//third_party/widevine/cdm:version_h", | 828 "//third_party/widevine/cdm:version_h", |
829 "//ui/base", | |
830 "//ui/gfx:test_support", | 829 "//ui/gfx:test_support", |
831 ] | 830 ] |
832 if (media_use_ffmpeg) { | 831 if (media_use_ffmpeg) { |
833 deps += [ | 832 deps += [ |
834 "//third_party/ffmpeg", # Direct dependency required to inherit config. | 833 "//third_party/ffmpeg", # Direct dependency required to inherit config. |
835 ] | 834 ] |
836 } | 835 } |
837 } | 836 } |
838 | 837 |
839 test("media_perftests") { | 838 test("media_perftests") { |
(...skipping 16 matching lines...) Expand all Loading... |
856 deps = [ | 855 deps = [ |
857 ":media", | 856 ":media", |
858 ":shared_memory_support", | 857 ":shared_memory_support", |
859 ":test_support", | 858 ":test_support", |
860 "//base/test:test_support", | 859 "//base/test:test_support", |
861 "//media/audio:test_support", | 860 "//media/audio:test_support", |
862 "//testing/gmock", | 861 "//testing/gmock", |
863 "//testing/gtest", | 862 "//testing/gtest", |
864 "//testing/perf", | 863 "//testing/perf", |
865 "//third_party/widevine/cdm:version_h", | 864 "//third_party/widevine/cdm:version_h", |
866 "//ui/gl", | |
867 "//ui/gfx:test_support", | 865 "//ui/gfx:test_support", |
868 ] | 866 ] |
| 867 if (is_android) { |
| 868 deps += [ "//ui/gl" ] |
| 869 } |
869 if (media_use_ffmpeg) { | 870 if (media_use_ffmpeg) { |
870 deps += [ | 871 deps += [ |
871 "//third_party/ffmpeg", # Direct dependency required to inherit config. | 872 "//third_party/ffmpeg", # Direct dependency required to inherit config. |
872 ] | 873 ] |
873 } | 874 } |
874 } | 875 } |
875 | 876 |
876 if (cpu_arch == "x86" || cpu_arch == "x64") { | 877 if (cpu_arch == "x86" || cpu_arch == "x64") { |
877 source_set("media_mmx") { | 878 source_set("media_mmx") { |
878 sources = [ "base/simd/filter_yuv_mmx.cc" ] | 879 sources = [ "base/simd/filter_yuv_mmx.cc" ] |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 "filters/mock_gpu_video_accelerator_factories.h", | 976 "filters/mock_gpu_video_accelerator_factories.h", |
976 "filters/test_video_frame_scheduler.cc", | 977 "filters/test_video_frame_scheduler.cc", |
977 "filters/test_video_frame_scheduler.h", | 978 "filters/test_video_frame_scheduler.h", |
978 "video/mock_video_decode_accelerator.cc", | 979 "video/mock_video_decode_accelerator.cc", |
979 "video/mock_video_decode_accelerator.h", | 980 "video/mock_video_decode_accelerator.h", |
980 ] | 981 ] |
981 deps = [ | 982 deps = [ |
982 ":media", | 983 ":media", |
983 ":shared_memory_support", | 984 ":shared_memory_support", |
984 "//base", | 985 "//base", |
985 "//net:test_support", | |
986 "//skia", | 986 "//skia", |
987 "//testing/gmock", | 987 "//testing/gmock", |
988 "//testing/gtest", | 988 "//testing/gtest", |
989 ] | 989 ] |
990 } | 990 } |
991 | 991 |
992 # TODO(dalecurtis): How to split this across audio/base directories?? | 992 # TODO(dalecurtis): How to split this across audio/base directories?? |
993 component("shared_memory_support") { | 993 component("shared_memory_support") { |
994 sources = [ | 994 sources = [ |
995 "audio/audio_parameters.cc", | 995 "audio/audio_parameters.cc", |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1158 "base/android/java/src/org/chromium/media/ImageFormat.template", | 1158 "base/android/java/src/org/chromium/media/ImageFormat.template", |
1159 ] | 1159 ] |
1160 inputs = [ | 1160 inputs = [ |
1161 "video/capture/android/imageformat_list.h" | 1161 "video/capture/android/imageformat_list.h" |
1162 ] | 1162 ] |
1163 package_name = "org/chromium/media" | 1163 package_name = "org/chromium/media" |
1164 } | 1164 } |
1165 | 1165 |
1166 # TODO(dalecurtis): Finish media_unittests_apk and media_perftests_apk. | 1166 # TODO(dalecurtis): Finish media_unittests_apk and media_perftests_apk. |
1167 } | 1167 } |
OLD | NEW |