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/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/linux/pkg_config.gni") | 8 import("//build/config/linux/pkg_config.gni") |
9 import("//build/config/nacl/config.gni") | |
9 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
10 import("//media/media_options.gni") | 11 import("//media/media_options.gni") |
11 import("//testing/test.gni") | 12 import("//testing/test.gni") |
12 | 13 |
13 # Common configuration for targets in the media directory. | 14 # Common configuration for targets in the media directory. |
14 # NOT for exporting. | 15 # NOT for exporting. |
15 config("media_config") { | 16 config("media_config") { |
16 defines = [] | 17 defines = [] |
17 if (!media_use_libvpx) { | 18 if (!media_use_libvpx) { |
18 defines += [ "MEDIA_DISABLE_LIBVPX" ] | 19 defines += [ "MEDIA_DISABLE_LIBVPX" ] |
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
843 "audio/point.h", | 844 "audio/point.h", |
844 "base/audio_bus.cc", | 845 "base/audio_bus.cc", |
845 "base/audio_bus.h", | 846 "base/audio_bus.h", |
846 "base/channel_layout.cc", | 847 "base/channel_layout.cc", |
847 "base/channel_layout.h", | 848 "base/channel_layout.h", |
848 "base/limits.h", | 849 "base/limits.h", |
849 "base/media_export.h", | 850 "base/media_export.h", |
850 "base/vector_math.cc", | 851 "base/vector_math.cc", |
851 "base/vector_math.h", | 852 "base/vector_math.h", |
852 ] | 853 ] |
854 if (is_nacl_nonsfi) { | |
855 sources -= [ | |
856 "audio/audio_parameters.cc", | |
Mark Seaborn
2015/10/22 21:48:30
This doesn't seem to correspond to any conditional
Petr Hosek
2015/10/23 03:01:15
shared_memory_support_nacl in Gyp includes some bi
| |
857 "audio/audio_parameters.h", | |
858 "audio/point.cc", | |
859 "audio/point.h", | |
860 ] | |
861 } | |
853 configs += [ | 862 configs += [ |
854 ":media_config", | 863 ":media_config", |
855 ":media_implementation", | 864 ":media_implementation", |
856 ] | 865 ] |
857 deps = [ | 866 deps = [ |
858 "//base", | 867 "//base", |
859 "//ui/gfx/geometry", | |
860 ] | 868 ] |
869 if (!is_nacl_nonsfi) { | |
870 deps += [ "//ui/gfx/geometry" ] | |
871 } | |
861 } | 872 } |
862 | 873 |
863 if (media_use_ffmpeg) { | 874 if (media_use_ffmpeg) { |
864 test("ffmpeg_regression_tests") { | 875 test("ffmpeg_regression_tests") { |
865 sources = [ | 876 sources = [ |
866 "base/run_all_unittests.cc", | 877 "base/run_all_unittests.cc", |
867 "ffmpeg/ffmpeg_regression_tests.cc", | 878 "ffmpeg/ffmpeg_regression_tests.cc", |
868 ] | 879 ] |
869 | 880 |
870 configs += [ "//media:media_config" ] | 881 configs += [ "//media:media_config" ] |
871 | 882 |
872 deps = [ | 883 deps = [ |
873 "//base/test:test_support", | 884 "//base/test:test_support", |
874 "//media", | 885 "//media", |
875 "//media:test_support", | 886 "//media:test_support", |
876 "//media/audio:test_support", | 887 "//media/audio:test_support", |
877 "//media/base:test_support", | 888 "//media/base:test_support", |
878 "//media/test:pipeline_integration_tests", | 889 "//media/test:pipeline_integration_tests", |
879 "//testing/gmock", | 890 "//testing/gmock", |
880 "//testing/gtest", | 891 "//testing/gtest", |
881 "//third_party/ffmpeg", | 892 "//third_party/ffmpeg", |
882 "//ui/gfx/geometry", | 893 "//ui/gfx/geometry", |
883 "//ui/gfx:test_support", | 894 "//ui/gfx:test_support", |
884 ] | 895 ] |
885 } | 896 } |
886 } | 897 } |
OLD | NEW |