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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 component("gpu") { | 109 component("gpu") { |
110 output_name = "media_gpu" | 110 output_name = "media_gpu" |
111 | 111 |
112 # Only local test code, GPU-related IPC code in the media layer, and | 112 # Only local test code, GPU-related IPC code in the media layer, and |
113 # media-related content code should access //media/gpu. | 113 # media-related content code should access //media/gpu. |
114 visibility = [ | 114 visibility = [ |
115 "//chrome/gpu:*", | 115 "//chrome/gpu:*", |
116 "//content/gpu:*", | 116 "//content/gpu:*", |
117 "//content/renderer:*", | 117 "//content/renderer:*", |
118 "//media/gpu/ipc/*", | 118 "//media/gpu/ipc/*", |
| 119 "//media/gpu/mojo/*", |
119 ":*", | 120 ":*", |
120 ] | 121 ] |
121 | 122 |
122 if (is_mac) { | 123 if (is_mac) { |
123 # On Mac, content/common reaches into here to do some pre-sandbox | 124 # On Mac, content/common reaches into here to do some pre-sandbox |
124 # initialization. | 125 # initialization. |
125 visibility += [ "//content/common" ] | 126 visibility += [ "//content/common" ] |
126 } | 127 } |
127 | 128 |
128 defines = [ "MEDIA_GPU_IMPLEMENTATION" ] | 129 defines = [ "MEDIA_GPU_IMPLEMENTATION" ] |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 deps += [ "//ui/gfx/x" ] | 547 deps += [ "//ui/gfx/x" ] |
547 } | 548 } |
548 if (use_ozone) { | 549 if (use_ozone) { |
549 deps += [ "//ui/ozone" ] | 550 deps += [ "//ui/ozone" ] |
550 } | 551 } |
551 } | 552 } |
552 } | 553 } |
553 | 554 |
554 test("video_decode_accelerator_service_unittest") { | 555 test("video_decode_accelerator_service_unittest") { |
555 sources = [ | 556 sources = [ |
556 "ipc/service/gpu_jpeg_decode_accelerator_unittest.cc", | 557 "mojo/service/gpu_jpeg_decode_accelerator_unittest.cc", |
557 ] | 558 ] |
558 | 559 |
559 deps = [ | 560 deps = [ |
560 ":gpu", | 561 ":gpu", |
561 "//base", | 562 "//base", |
562 "//base/test:run_all_unittests", | |
563 "//base/test:test_support", | 563 "//base/test:test_support", |
564 "//gpu:test_support", | 564 "//gpu:test_support", |
565 "//media/gpu/ipc/common", | 565 "//media/gpu/mojo/service", |
566 "//media/gpu/ipc/service", | 566 "//media/test:run_all_unittests", |
567 "//testing/gmock", | 567 "//services/service_manager/public/cpp", |
568 "//testing/gtest", | 568 "//testing/gtest", |
569 "//ui/gfx:test_support", | 569 "//ui/gfx:test_support", |
570 "//ui/gfx/geometry", | 570 "//ui/gfx/geometry", |
571 ] | 571 ] |
572 } | 572 } |
OLD | NEW |