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

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

Issue 1997083003: media: Fix gn deps on some media/ targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « media/base/ipc/BUILD.gn ('k') | media/gpu/rendering_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 if (is_mac) { 179 if (is_mac) {
180 sources += [ 180 sources += [
181 "vt_mac.h", 181 "vt_mac.h",
182 "vt_video_decode_accelerator_mac.cc", 182 "vt_video_decode_accelerator_mac.cc",
183 "vt_video_decode_accelerator_mac.h", 183 "vt_video_decode_accelerator_mac.h",
184 "vt_video_encode_accelerator_mac.cc", 184 "vt_video_encode_accelerator_mac.cc",
185 "vt_video_encode_accelerator_mac.h", 185 "vt_video_encode_accelerator_mac.h",
186 ] + get_target_outputs(":libvt_generate_stubs") 186 ] + get_target_outputs(":libvt_generate_stubs")
187 deps += [ 187 deps += [
188 ":libvt_generate_stubs", 188 ":libvt_generate_stubs",
189 "//third_party/webrtc/common_video:common_video", 189 "//third_party/webrtc/common_video",
190 "//third_party/webrtc/system_wrappers",
190 ] 191 ]
191 libs += [ 192 libs += [
192 "CoreFoundation.framework", 193 "CoreFoundation.framework",
193 "Foundation.framework", 194 "Foundation.framework",
194 "QuartzCore.framework", 195 "QuartzCore.framework",
195 ] 196 ]
196 } 197 }
197 198
198 if (is_android) { 199 if (is_android) {
199 sources += [ 200 sources += [
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 "//third_party/libva:libva_config", 300 "//third_party/libva:libva_config",
300 "//third_party/libyuv:libyuv_config", 301 "//third_party/libyuv:libyuv_config",
301 ] 302 ]
302 deps += [ 303 deps += [
303 ":libva_generate_stubs", 304 ":libva_generate_stubs",
304 "//media", 305 "//media",
305 "//third_party/libyuv", 306 "//third_party/libyuv",
306 ] 307 ]
307 if (use_x11) { 308 if (use_x11) {
308 configs += [ "//build/config/linux:x11" ] 309 configs += [ "//build/config/linux:x11" ]
310 deps += [ "//ui/gfx/x" ]
309 sources += [ 311 sources += [
310 "vaapi_tfp_picture.cc", 312 "vaapi_tfp_picture.cc",
311 "vaapi_tfp_picture.h", 313 "vaapi_tfp_picture.h",
312 ] 314 ]
313 } 315 }
314 if (use_ozone) { 316 if (use_ozone) {
315 deps += [ "//ui/ozone" ] 317 deps += [ "//ui/ozone" ]
316 sources += [ 318 sources += [
317 "vaapi_drm_picture.cc", 319 "vaapi_drm_picture.cc",
318 "vaapi_drm_picture.h", 320 "vaapi_drm_picture.h",
(...skipping 24 matching lines...) Expand all
343 "mfuuid.lib", 345 "mfuuid.lib",
344 ] 346 ]
345 ldflags += [ 347 ldflags += [
346 "/DELAYLOAD:d3d9.dll", 348 "/DELAYLOAD:d3d9.dll",
347 "/DELAYLOAD:d3d11.dll", 349 "/DELAYLOAD:d3d11.dll",
348 "/DELAYLOAD:dxva2.dll", 350 "/DELAYLOAD:dxva2.dll",
349 "/DELAYLOAD:mf.dll", 351 "/DELAYLOAD:mf.dll",
350 "/DELAYLOAD:mfplat.dll", 352 "/DELAYLOAD:mfplat.dll",
351 ] 353 ]
352 } 354 }
353
354 if (use_x11) {
355 deps += [ "//ui/gfx/x" ]
356 }
357 } 355 }
358 356
359 if (is_win || is_android || is_chromeos) { 357 if (is_win || is_android || is_chromeos) {
360 test("video_decode_accelerator_unittest") { 358 test("video_decode_accelerator_unittest") {
361 sources = [ 359 sources = [
362 "video_accelerator_unittest_helpers.h", 360 "video_accelerator_unittest_helpers.h",
363 ] 361 ]
364 362
365 deps = [ 363 deps = [
366 ":gpu", 364 ":gpu",
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 "video_encode_accelerator_unittest.cc", 447 "video_encode_accelerator_unittest.cc",
450 ] 448 ]
451 if (use_x11) { 449 if (use_x11) {
452 deps += [ "//ui/gfx/x" ] 450 deps += [ "//ui/gfx/x" ]
453 } 451 }
454 if (use_ozone) { 452 if (use_ozone) {
455 deps += [ "//ui/ozone" ] 453 deps += [ "//ui/ozone" ]
456 } 454 }
457 } 455 }
458 } 456 }
OLDNEW
« no previous file with comments | « media/base/ipc/BUILD.gn ('k') | media/gpu/rendering_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698