OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//build/config/ui.gni") |
6 | 6 |
7 # This is the public target. It contains only the public headers. The | 7 # This is the public target. It contains only the public headers. The |
8 # implementation (and private haders) are in 'internal'. | 8 # implementation (and private haders) are in 'internal'. |
9 source_set("cpp") { | 9 source_set("cpp") { |
10 sources = [ | 10 sources = [ |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 "//base", | 86 "//base", |
87 "//mojo/public/cpp/bindings", | 87 "//mojo/public/cpp/bindings", |
88 ] | 88 ] |
89 } | 89 } |
90 | 90 |
91 source_set("internal") { | 91 source_set("internal") { |
92 # This target is an implementation detail and is intended only to be used by | 92 # This target is an implementation detail and is intended only to be used by |
93 # the 'cpp' target. | 93 # the 'cpp' target. |
94 visibility = [ | 94 visibility = [ |
95 ":cpp", | 95 ":cpp", |
96 "//services/ui/demo:mus_demo_library", | 96 "//services/ui/demo:mus_demo_lib", |
97 ] | 97 ] |
98 | 98 |
99 sources = [ | 99 sources = [ |
100 "compositor_frame_sink.cc", | 100 "compositor_frame_sink.cc", |
101 "context_provider.cc", | 101 "context_provider.cc", |
102 "gles2_context.cc", | 102 "gles2_context.cc", |
103 "gles2_context.h", | 103 "gles2_context.h", |
104 "gpu_memory_buffer_impl.cc", | 104 "gpu_memory_buffer_impl.cc", |
105 "gpu_memory_buffer_impl.h", | 105 "gpu_memory_buffer_impl.h", |
106 "gpu_service.cc", | 106 "gpu_service.cc", |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 data_deps = [ | 150 data_deps = [ |
151 "//services/ui", | 151 "//services/ui", |
152 ] | 152 ] |
153 | 153 |
154 defines = [ "GL_GLEXT_PROTOTYPES" ] | 154 defines = [ "GL_GLEXT_PROTOTYPES" ] |
155 | 155 |
156 if (use_ozone) { | 156 if (use_ozone) { |
157 deps += [ "//ui/ozone" ] | 157 deps += [ "//ui/ozone" ] |
158 } | 158 } |
159 } | 159 } |
OLD | NEW |