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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 } | 204 } |
205 | 205 |
206 # TODO(xhwang): This is needed for AVDA to access the CDM directly. | 206 # TODO(xhwang): This is needed for AVDA to access the CDM directly. |
207 # Remove this dependency after VDAs are also running as part of the mojo | 207 # Remove this dependency after VDAs are also running as part of the mojo |
208 # media service. See http://crbug.com/522298 | 208 # media service. See http://crbug.com/522298 |
209 if (mojo_media_host == "gpu") { | 209 if (mojo_media_host == "gpu") { |
210 deps += [ "//media/mojo/services" ] | 210 deps += [ "//media/mojo/services" ] |
211 } | 211 } |
212 } | 212 } |
213 | 213 |
214 if (is_chromeos || is_win) { | 214 if (is_chromeos || is_mac || is_win) { |
215 sources += [ | 215 sources += [ |
216 "accelerated_video_decoder.h", | 216 "accelerated_video_decoder.h", |
217 "h264_decoder.cc", | 217 "h264_decoder.cc", |
218 "h264_decoder.h", | 218 "h264_decoder.h", |
219 "h264_dpb.cc", | 219 "h264_dpb.cc", |
220 "h264_dpb.h", | 220 "h264_dpb.h", |
221 ] | 221 ] |
222 } | 222 } |
223 if (is_chromeos) { | 223 if (is_chromeos) { |
224 sources += [ | 224 sources += [ |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 "video_accelerator_unittest_helpers.h", | 507 "video_accelerator_unittest_helpers.h", |
508 ] | 508 ] |
509 if (use_x11) { | 509 if (use_x11) { |
510 deps += [ "//ui/gfx/x" ] | 510 deps += [ "//ui/gfx/x" ] |
511 } | 511 } |
512 if (use_ozone) { | 512 if (use_ozone) { |
513 deps += [ "//ui/ozone" ] | 513 deps += [ "//ui/ozone" ] |
514 } | 514 } |
515 } | 515 } |
516 } | 516 } |
OLD | NEW |