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

Side by Side Diff: components/mus/gpu/BUILD.gn

Issue 2049083002: Implement MusGpuMemoryBufferManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update the mojom document Created 4 years, 6 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 | « components/mus/common/gpu_service.cc ('k') | components/mus/gpu/DEPS » ('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/ui.gni")
5 import("//mojo/public/mojo_application_manifest.gni") 6 import("//mojo/public/mojo_application_manifest.gni")
6 import("//testing/test.gni") 7 import("//testing/test.gni")
7 8
8 source_set("gpu") { 9 source_set("gpu") {
9 output_name = "mus_gpu" 10 output_name = "mus_gpu"
10 11
11 sources = [ 12 sources = [
12 "gpu_service_impl.cc", 13 "gpu_service_impl.cc",
13 "gpu_service_impl.h", 14 "gpu_service_impl.h",
14 "gpu_service_mus.cc", 15 "gpu_service_mus.cc",
15 "gpu_service_mus.h", 16 "gpu_service_mus.h",
17 "mus_gpu_memory_buffer_manager.cc",
18 "mus_gpu_memory_buffer_manager.h",
16 ] 19 ]
17 20
18 deps = [ 21 deps = [
19 "//components/mus/common:mus_common", 22 "//components/mus/common:mus_common",
20 "//components/mus/public/interfaces", 23 "//components/mus/public/interfaces",
21 "//gpu/ipc/common", 24 "//gpu/ipc/common",
22 "//gpu/ipc/service", 25 "//gpu/ipc/service",
23 "//ipc", 26 "//ipc",
24 "//media/gpu/ipc/service", 27 "//media/gpu/ipc/service",
25 "//mojo/public/cpp/system", 28 "//mojo/public/cpp/system",
26 "//services/shell/public/cpp", 29 "//services/shell/public/cpp",
27 "//ui/gfx:memory_buffer", 30 "//ui/gfx:memory_buffer",
28 "//ui/gl/init", 31 "//ui/gl/init",
29 ] 32 ]
33
34 if (use_ozone) {
35 deps += [ "//ui/ozone:ozone" ]
36 }
30 } 37 }
31 38
32 group("tests") { 39 group("tests") {
33 testonly = true 40 testonly = true
34 deps = [ 41 deps = [
35 ":mus_gpu_unittests", 42 ":mus_gpu_unittests",
36 ] 43 ]
37 } 44 }
38 45
39 test("mus_gpu_unittests") { 46 test("mus_gpu_unittests") {
40 deps = [ 47 deps = [
41 ":gpu", 48 ":gpu",
42 "//base", 49 "//base",
43 "//components/mus/common:run_all_shelltests", 50 "//components/mus/common:run_all_shelltests",
44 "//ipc", 51 "//ipc",
45 "//testing/gtest", 52 "//testing/gtest",
46 "//ui/gfx:memory_buffer", 53 "//ui/gfx:memory_buffer",
47 "//ui/gfx/geometry", 54 "//ui/gfx/geometry",
48 ] 55 ]
49 56
50 data_deps = [ 57 data_deps = [
51 ":mus_gpu_unittests_app_manifest", 58 ":mus_gpu_unittests_app_manifest",
52 ] 59 ]
53 } 60 }
54 61
55 mojo_application_manifest("mus_gpu_unittests_app_manifest") { 62 mojo_application_manifest("mus_gpu_unittests_app_manifest") {
56 application_name = "mus_gpu_unittests_app" 63 application_name = "mus_gpu_unittests_app"
57 source = "mus_gpu_unittests_app_manifest.json" 64 source = "mus_gpu_unittests_app_manifest.json"
58 } 65 }
OLDNEW
« no previous file with comments | « components/mus/common/gpu_service.cc ('k') | components/mus/gpu/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698