| 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 "//base/test:test_support", | 527 "//base/test:test_support", |
| 528 "//gpu:test_support", | 528 "//gpu:test_support", |
| 529 "//media/gpu/ipc/common", | 529 "//media/gpu/ipc/common", |
| 530 "//media/gpu/ipc/service", | 530 "//media/gpu/ipc/service", |
| 531 "//testing/gmock", | 531 "//testing/gmock", |
| 532 "//testing/gtest", | 532 "//testing/gtest", |
| 533 "//ui/gfx:test_support", | 533 "//ui/gfx:test_support", |
| 534 "//ui/gfx/geometry", | 534 "//ui/gfx/geometry", |
| 535 ] | 535 ] |
| 536 } | 536 } |
| OLD | NEW |