| 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 = [ |
| 11 "client_compositor_frame_sink.h", | 11 "client_compositor_frame_sink.h", |
| 12 "display_client_compositor_frame_sink.h", |
| 12 "property_type_converters.h", | 13 "property_type_converters.h", |
| 13 "raster_thread_helper.h", | 14 "raster_thread_helper.h", |
| 14 ] | 15 ] |
| 15 | 16 |
| 16 public_deps = [ | 17 public_deps = [ |
| 17 "//base", | 18 "//base", |
| 18 "//cc", | 19 "//cc", |
| 19 "//cc/surfaces", | 20 "//cc/surfaces", |
| 20 "//cc/surfaces:surface_id", | 21 "//cc/surfaces:surface_id", |
| 21 "//mojo/public/cpp/bindings", | 22 "//mojo/public/cpp/bindings", |
| (...skipping 26 matching lines...) Expand all Loading... |
| 48 source_set("internal") { | 49 source_set("internal") { |
| 49 # This target is an implementation detail and is intended only to be used by | 50 # This target is an implementation detail and is intended only to be used by |
| 50 # the 'cpp' target. | 51 # the 'cpp' target. |
| 51 visibility = [ | 52 visibility = [ |
| 52 ":cpp", | 53 ":cpp", |
| 53 "//services/ui/demo:lib", | 54 "//services/ui/demo:lib", |
| 54 ] | 55 ] |
| 55 | 56 |
| 56 sources = [ | 57 sources = [ |
| 57 "client_compositor_frame_sink.cc", | 58 "client_compositor_frame_sink.cc", |
| 59 "display_client_compositor_frame_sink.cc", |
| 58 "property_type_converters.cc", | 60 "property_type_converters.cc", |
| 59 "raster_thread_helper.cc", | 61 "raster_thread_helper.cc", |
| 60 ] | 62 ] |
| 61 | 63 |
| 62 deps = [ | 64 deps = [ |
| 63 "//base", | 65 "//base", |
| 64 "//cc", | 66 "//cc", |
| 65 "//cc/surfaces", | 67 "//cc/surfaces", |
| 66 "//cc/surfaces:surface_id", | 68 "//cc/surfaces:surface_id", |
| 67 "//mojo/public/cpp/bindings", | 69 "//mojo/public/cpp/bindings", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 79 data_deps = [ | 81 data_deps = [ |
| 80 "//services/ui", | 82 "//services/ui", |
| 81 ] | 83 ] |
| 82 | 84 |
| 83 defines = [ "GL_GLEXT_PROTOTYPES" ] | 85 defines = [ "GL_GLEXT_PROTOTYPES" ] |
| 84 | 86 |
| 85 if (use_ozone) { | 87 if (use_ozone) { |
| 86 deps += [ "//ui/ozone" ] | 88 deps += [ "//ui/ozone" ] |
| 87 } | 89 } |
| 88 } | 90 } |
| OLD | NEW |