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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 "//base", | 85 "//base", |
86 "//mojo/public/cpp/bindings", | 86 "//mojo/public/cpp/bindings", |
87 ] | 87 ] |
88 } | 88 } |
89 | 89 |
90 source_set("internal") { | 90 source_set("internal") { |
91 # This target is an implementation detail and is intended only to be used by | 91 # This target is an implementation detail and is intended only to be used by |
92 # the 'cpp' target. | 92 # the 'cpp' target. |
93 visibility = [ | 93 visibility = [ |
94 ":cpp", | 94 ":cpp", |
| 95 "//services/ui/demo:mus_demo_lib", |
95 "//services/ui/demo:mus_demo_library", | 96 "//services/ui/demo:mus_demo_library", |
96 ] | 97 ] |
97 | 98 |
98 sources = [ | 99 sources = [ |
99 "compositor_frame_sink.cc", | 100 "compositor_frame_sink.cc", |
100 "context_provider.cc", | 101 "context_provider.cc", |
101 "context_provider.h", | 102 "context_provider.h", |
102 "gles2_context.cc", | 103 "gles2_context.cc", |
103 "gles2_context.h", | 104 "gles2_context.h", |
104 "gpu_memory_buffer_impl.cc", | 105 "gpu_memory_buffer_impl.cc", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 data_deps = [ | 152 data_deps = [ |
152 "//services/ui", | 153 "//services/ui", |
153 ] | 154 ] |
154 | 155 |
155 defines = [ "GL_GLEXT_PROTOTYPES" ] | 156 defines = [ "GL_GLEXT_PROTOTYPES" ] |
156 | 157 |
157 if (use_ozone) { | 158 if (use_ozone) { |
158 deps += [ "//ui/ozone" ] | 159 deps += [ "//ui/ozone" ] |
159 } | 160 } |
160 } | 161 } |
OLD | NEW |