OLD | NEW |
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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 } | 248 } |
249 if (use_v4l2_codec) { | 249 if (use_v4l2_codec) { |
250 deps += [ "//third_party/libyuv" ] | 250 deps += [ "//third_party/libyuv" ] |
251 sources += [ | 251 sources += [ |
252 "generic_v4l2_device.cc", | 252 "generic_v4l2_device.cc", |
253 "generic_v4l2_device.h", | 253 "generic_v4l2_device.h", |
254 "v4l2_device.cc", | 254 "v4l2_device.cc", |
255 "v4l2_device.h", | 255 "v4l2_device.h", |
256 "v4l2_image_processor.cc", | 256 "v4l2_image_processor.cc", |
257 "v4l2_image_processor.h", | 257 "v4l2_image_processor.h", |
258 "v4l2_jpeg_decode_accelerator.cc", | |
259 "v4l2_jpeg_decode_accelerator.h", | |
260 "v4l2_slice_video_decode_accelerator.cc", | 258 "v4l2_slice_video_decode_accelerator.cc", |
261 "v4l2_slice_video_decode_accelerator.h", | 259 "v4l2_slice_video_decode_accelerator.h", |
262 "v4l2_video_decode_accelerator.cc", | 260 "v4l2_video_decode_accelerator.cc", |
263 "v4l2_video_decode_accelerator.h", | 261 "v4l2_video_decode_accelerator.h", |
264 "v4l2_video_encode_accelerator.cc", | 262 "v4l2_video_encode_accelerator.cc", |
265 "v4l2_video_encode_accelerator.h", | 263 "v4l2_video_encode_accelerator.h", |
266 ] | 264 ] |
267 libs = [ | 265 libs = [ |
268 "EGL", | 266 "EGL", |
269 "GLESv2", | 267 "GLESv2", |
270 ] | 268 ] |
271 } | 269 if (current_cpu == "arm") { |
272 if (current_cpu == "arm") { | 270 sources += [ |
273 sources += [ | 271 "tegra_v4l2_device.cc", |
274 "tegra_v4l2_device.cc", | 272 "tegra_v4l2_device.h", |
275 "tegra_v4l2_device.h", | 273 "v4l2_jpeg_decode_accelerator.cc", |
276 ] | 274 "v4l2_jpeg_decode_accelerator.h", |
| 275 ] |
| 276 } |
277 } | 277 } |
278 if (current_cpu != "arm") { | 278 if (current_cpu != "arm") { |
279 sources += [ | 279 sources += [ |
280 "va_surface.h", | 280 "va_surface.h", |
281 "vaapi_jpeg_decode_accelerator.cc", | 281 "vaapi_jpeg_decode_accelerator.cc", |
282 "vaapi_jpeg_decode_accelerator.h", | 282 "vaapi_jpeg_decode_accelerator.h", |
283 "vaapi_jpeg_decoder.cc", | 283 "vaapi_jpeg_decoder.cc", |
284 "vaapi_jpeg_decoder.h", | 284 "vaapi_jpeg_decoder.h", |
285 "vaapi_picture.cc", | 285 "vaapi_picture.cc", |
286 "vaapi_picture.h", | 286 "vaapi_picture.h", |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 "//base/test:test_support", | 541 "//base/test:test_support", |
542 "//gpu:test_support", | 542 "//gpu:test_support", |
543 "//media/gpu/ipc/common", | 543 "//media/gpu/ipc/common", |
544 "//media/gpu/ipc/service", | 544 "//media/gpu/ipc/service", |
545 "//testing/gmock", | 545 "//testing/gmock", |
546 "//testing/gtest", | 546 "//testing/gtest", |
547 "//ui/gfx:test_support", | 547 "//ui/gfx:test_support", |
548 "//ui/gfx/geometry", | 548 "//ui/gfx/geometry", |
549 ] | 549 ] |
550 } | 550 } |
OLD | NEW |