| 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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 "audio/point.h", | 810 "audio/point.h", |
| 810 "base/audio_bus.cc", | 811 "base/audio_bus.cc", |
| 811 "base/audio_bus.h", | 812 "base/audio_bus.h", |
| 812 "base/channel_layout.cc", | 813 "base/channel_layout.cc", |
| 813 "base/channel_layout.h", | 814 "base/channel_layout.h", |
| 814 "base/limits.h", | 815 "base/limits.h", |
| 815 "base/media_export.h", | 816 "base/media_export.h", |
| 816 "base/vector_math.cc", | 817 "base/vector_math.cc", |
| 817 "base/vector_math.h", | 818 "base/vector_math.h", |
| 818 ] | 819 ] |
| 820 if (is_nacl_nonsfi) { |
| 821 sources -= [ |
| 822 "audio/audio_parameters.cc", |
| 823 "audio/audio_parameters.h", |
| 824 "audio/point.cc", |
| 825 "audio/point.h", |
| 826 ] |
| 827 } |
| 819 configs += [ | 828 configs += [ |
| 820 ":media_config", | 829 ":media_config", |
| 821 ":media_implementation", | 830 ":media_implementation", |
| 822 ] | 831 ] |
| 823 deps = [ | 832 deps = [ |
| 824 "//base", | 833 "//base", |
| 825 "//ui/gfx/geometry", | |
| 826 ] | 834 ] |
| 835 if (!is_nacl_nonsfi) { |
| 836 deps += [ "//ui/gfx/geometry" ] |
| 837 } |
| 827 } | 838 } |
| 828 | 839 |
| 829 if (media_use_ffmpeg) { | 840 if (media_use_ffmpeg) { |
| 830 test("ffmpeg_regression_tests") { | 841 test("ffmpeg_regression_tests") { |
| 831 sources = [ | 842 sources = [ |
| 832 "base/run_all_unittests.cc", | 843 "base/run_all_unittests.cc", |
| 833 "ffmpeg/ffmpeg_regression_tests.cc", | 844 "ffmpeg/ffmpeg_regression_tests.cc", |
| 834 ] | 845 ] |
| 835 | 846 |
| 836 configs += [ "//media:media_config" ] | 847 configs += [ "//media:media_config" ] |
| 837 | 848 |
| 838 deps = [ | 849 deps = [ |
| 839 "//base/test:test_support", | 850 "//base/test:test_support", |
| 840 "//media", | 851 "//media", |
| 841 "//media:test_support", | 852 "//media:test_support", |
| 842 "//media/audio:test_support", | 853 "//media/audio:test_support", |
| 843 "//media/base:test_support", | 854 "//media/base:test_support", |
| 844 "//media/test:pipeline_integration_tests", | 855 "//media/test:pipeline_integration_tests", |
| 845 "//testing/gmock", | 856 "//testing/gmock", |
| 846 "//testing/gtest", | 857 "//testing/gtest", |
| 847 "//third_party/ffmpeg", | 858 "//third_party/ffmpeg", |
| 848 "//ui/gfx/geometry", | 859 "//ui/gfx/geometry", |
| 849 "//ui/gfx:test_support", | 860 "//ui/gfx:test_support", |
| 850 ] | 861 ] |
| 851 } | 862 } |
| 852 } | 863 } |
| OLD | NEW |