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

Side by Side Diff: media/gpu/BUILD.gn

Issue 1968833002: media: Make media mojo services a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn tweak Created 4 years, 7 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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//media/gpu/args.gni") 7 import("//media/gpu/args.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 10
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 ] 211 ]
212 212
213 if (enable_webrtc) { 213 if (enable_webrtc) {
214 deps += [ "//third_party/libyuv" ] 214 deps += [ "//third_party/libyuv" ]
215 sources += [ 215 sources += [
216 "android_video_encode_accelerator.cc", 216 "android_video_encode_accelerator.cc",
217 "android_video_encode_accelerator.h", 217 "android_video_encode_accelerator.h",
218 ] 218 ]
219 } 219 }
220 220
221 # TODO(xhwang): This is needed for AVDA to access the CDM directly.
222 # Remove this dependency after VDAs are also running as part of the mojo
223 # media application. See http://crbug.com/522298
221 if (mojo_media_host == "gpu") { 224 if (mojo_media_host == "gpu") {
222 deps += [ "//media/mojo/services:cdm_service" ] 225 deps += [ "//media/mojo/services" ]
223 } 226 }
224 } 227 }
225 228
226 if (is_chromeos) { 229 if (is_chromeos) {
227 sources += [ 230 sources += [
228 "accelerated_video_decoder.h", 231 "accelerated_video_decoder.h",
229 "h264_decoder.cc", 232 "h264_decoder.cc",
230 "h264_decoder.h", 233 "h264_decoder.h",
231 "h264_dpb.cc", 234 "h264_dpb.cc",
232 "h264_dpb.h", 235 "h264_dpb.h",
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 "video_encode_accelerator_unittest.cc", 436 "video_encode_accelerator_unittest.cc",
434 ] 437 ]
435 if (use_x11) { 438 if (use_x11) {
436 deps += [ "//ui/gfx/x" ] 439 deps += [ "//ui/gfx/x" ]
437 } 440 }
438 if (use_ozone) { 441 if (use_ozone) {
439 deps += [ "//ui/ozone" ] 442 deps += [ "//ui/ozone" ]
440 } 443 }
441 } 444 }
442 } 445 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698