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

Side by Side Diff: media/BUILD.gn

Issue 1530063002: Switch from build-time to run-time flags for Project Spitzer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 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/ui.gni") 9 import("//build/config/ui.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 } 51 }
52 if (is_win) { 52 if (is_win) {
53 ldflags = [ 53 ldflags = [
54 "/DELAYLOAD:mf.dll", 54 "/DELAYLOAD:mf.dll",
55 "/DELAYLOAD:mfplat.dll", 55 "/DELAYLOAD:mfplat.dll",
56 "/DELAYLOAD:mfreadwrite.dll", 56 "/DELAYLOAD:mfreadwrite.dll",
57 ] 57 ]
58 } 58 }
59 if (media_use_ffmpeg && is_android) { 59 if (media_use_ffmpeg && is_android) {
60 defines += [ 60 defines += [
61 "ENABLE_MEDIA_PIPELINE_ON_ANDROID",
62 "DISABLE_FFMPEG_VIDEO_DECODERS", 61 "DISABLE_FFMPEG_VIDEO_DECODERS",
63 ] 62 ]
64 } 63 }
65 } 64 }
66 65
67 if (use_ozone) { 66 if (use_ozone) {
68 action("generate_ozone_constructor_list") { 67 action("generate_ozone_constructor_list") {
69 # Ozone platform objects are auto-generated using similar 68 # Ozone platform objects are auto-generated using similar
70 # patterns for naming and classes constructors. Here we build the 69 # patterns for naming and classes constructors. Here we build the
71 # object MediaOzonePlatform. 70 # object MediaOzonePlatform.
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 "//media/base:test_support", 888 "//media/base:test_support",
890 "//media/test:pipeline_integration_tests", 889 "//media/test:pipeline_integration_tests",
891 "//testing/gmock", 890 "//testing/gmock",
892 "//testing/gtest", 891 "//testing/gtest",
893 "//third_party/ffmpeg", 892 "//third_party/ffmpeg",
894 "//ui/gfx:test_support", 893 "//ui/gfx:test_support",
895 "//ui/gfx/geometry", 894 "//ui/gfx/geometry",
896 ] 895 ]
897 } 896 }
898 } 897 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698