| 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("//cc/cc.gni") | 5 import("//cc/cc.gni") |
| 6 | 6 |
| 7 cc_source_set("surface_id") { | 7 cc_source_set("surface_id") { |
| 8 sources = [ | 8 sources = [ |
| 9 "frame_sink_id.cc", | 9 "frame_sink_id.cc", |
| 10 "frame_sink_id.h", | 10 "frame_sink_id.h", |
| 11 "local_frame_id.cc", | 11 "local_frame_id.cc", |
| 12 "local_frame_id.h", | 12 "local_frame_id.h", |
| 13 "surface_embedding_base.cc", |
| 14 "surface_embedding_base.h", |
| 13 "surface_id.cc", | 15 "surface_id.cc", |
| 14 "surface_id.h", | 16 "surface_id.h", |
| 15 "surface_reference.cc", | 17 "surface_reference.cc", |
| 16 "surface_reference.h", | 18 "surface_reference.h", |
| 17 "surface_sequence.h", | 19 "surface_sequence.h", |
| 18 "surface_sequence_generator.cc", | 20 "surface_sequence_generator.cc", |
| 19 "surface_sequence_generator.h", | 21 "surface_sequence_generator.h", |
| 22 "surfaces_export.h", |
| 20 ] | 23 ] |
| 21 | 24 |
| 22 deps = [ | 25 deps = [ |
| 23 "//base", | 26 "//base", |
| 24 "//mojo/public/cpp/bindings:struct_traits", | 27 "//mojo/public/cpp/bindings:struct_traits", |
| 28 "//ui/gfx/geometry:geometry", |
| 25 ] | 29 ] |
| 26 } | 30 } |
| 27 | 31 |
| 28 cc_component("surfaces") { | 32 cc_component("surfaces") { |
| 29 output_name = "cc_surfaces" | 33 output_name = "cc_surfaces" |
| 30 sources = [ | 34 sources = [ |
| 31 "compositor_frame_sink_support.cc", | 35 "compositor_frame_sink_support.cc", |
| 32 "compositor_frame_sink_support.h", | 36 "compositor_frame_sink_support.h", |
| 33 "compositor_frame_sink_support_client.h", | 37 "compositor_frame_sink_support_client.h", |
| 34 "direct_compositor_frame_sink.cc", | 38 "direct_compositor_frame_sink.cc", |
| 35 "direct_compositor_frame_sink.h", | 39 "direct_compositor_frame_sink.h", |
| 40 "direct_surface_embedding.cc", |
| 41 "direct_surface_embedding.h", |
| 36 "display.cc", | 42 "display.cc", |
| 37 "display.h", | 43 "display.h", |
| 38 "display_client.h", | 44 "display_client.h", |
| 39 "display_scheduler.cc", | 45 "display_scheduler.cc", |
| 40 "display_scheduler.h", | 46 "display_scheduler.h", |
| 41 "surface.cc", | 47 "surface.cc", |
| 42 "surface.h", | 48 "surface.h", |
| 43 "surface_aggregator.cc", | 49 "surface_aggregator.cc", |
| 44 "surface_aggregator.h", | 50 "surface_aggregator.h", |
| 51 "surface_embedding.cc", |
| 52 "surface_embedding.h", |
| 45 "surface_factory.cc", | 53 "surface_factory.cc", |
| 46 "surface_factory.h", | 54 "surface_factory.h", |
| 47 "surface_factory_client.h", | 55 "surface_factory_client.h", |
| 48 "surface_hittest.cc", | 56 "surface_hittest.cc", |
| 49 "surface_hittest.h", | 57 "surface_hittest.h", |
| 50 "surface_hittest_delegate.h", | 58 "surface_hittest_delegate.h", |
| 51 "surface_id_allocator.cc", | 59 "surface_id_allocator.cc", |
| 52 "surface_id_allocator.h", | 60 "surface_id_allocator.h", |
| 53 "surface_manager.cc", | 61 "surface_manager.cc", |
| 54 "surface_manager.h", | 62 "surface_manager.h", |
| 55 "surface_reference_manager.h", | 63 "surface_reference_manager.h", |
| 56 "surface_resource_holder.cc", | 64 "surface_resource_holder.cc", |
| 57 "surface_resource_holder.h", | 65 "surface_resource_holder.h", |
| 58 "surfaces_export.h", | |
| 59 ] | 66 ] |
| 60 | 67 |
| 61 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] | 68 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] |
| 62 | 69 |
| 63 public_deps = [ | 70 public_deps = [ |
| 64 ":surface_id", | 71 ":surface_id", |
| 65 ] | 72 ] |
| 73 |
| 66 deps = [ | 74 deps = [ |
| 67 "//base", | 75 "//base", |
| 68 "//base/third_party/dynamic_annotations", | 76 "//base/third_party/dynamic_annotations", |
| 69 "//cc", | 77 "//cc", |
| 70 "//gpu/command_buffer/client:gles2_interface", | 78 "//gpu/command_buffer/client:gles2_interface", |
| 71 "//gpu/command_buffer/common", | 79 "//gpu/command_buffer/common", |
| 72 "//skia", | 80 "//skia", |
| 73 "//ui/events:events_base", | 81 "//ui/events:events_base", |
| 74 "//ui/gfx", | 82 "//ui/gfx", |
| 75 "//ui/gfx/geometry", | 83 "//ui/gfx/geometry", |
| 76 ] | 84 ] |
| 77 } | 85 } |
| OLD | NEW |