Chromium Code Reviews| 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_id.cc", | 13 "surface_id.cc", |
| 14 "surface_id.h", | 14 "surface_id.h", |
| 15 "surface_ref_base.cc", | |
| 16 "surface_ref_base.h", | |
| 15 "surface_sequence.h", | 17 "surface_sequence.h", |
| 16 "surface_sequence_generator.cc", | 18 "surface_sequence_generator.cc", |
| 17 "surface_sequence_generator.h", | 19 "surface_sequence_generator.h", |
| 20 "surfaces_export.h", | |
|
Saman Sami
2016/11/30 18:05:52
Move back to surfaces:surfaces
| |
| 18 ] | 21 ] |
| 19 | 22 |
| 20 deps = [ | 23 deps = [ |
| 21 "//base", | 24 "//base", |
| 25 "//ui/gfx/geometry:geometry", | |
| 22 ] | 26 ] |
| 23 } | 27 } |
| 24 | 28 |
| 29 cc_source_set("surface_ref") { | |
| 30 sources = [ | |
| 31 "surface_ref.h", | |
| 32 ] | |
| 33 | |
| 34 deps = [ | |
| 35 ":surface_id", | |
| 36 "//cc", | |
| 37 "//ui/gfx/geometry", | |
|
Saman Sami
2016/11/30 18:05:52
Necessary?
| |
| 38 ] | |
| 39 } | |
| 40 | |
| 25 cc_component("surfaces") { | 41 cc_component("surfaces") { |
| 26 output_name = "cc_surfaces" | 42 output_name = "cc_surfaces" |
| 27 sources = [ | 43 sources = [ |
| 28 "direct_compositor_frame_sink.cc", | 44 "direct_compositor_frame_sink.cc", |
| 29 "direct_compositor_frame_sink.h", | 45 "direct_compositor_frame_sink.h", |
| 30 "display.cc", | 46 "display.cc", |
| 31 "display.h", | 47 "display.h", |
| 32 "display_client.h", | 48 "display_client.h", |
| 33 "display_scheduler.cc", | 49 "display_scheduler.cc", |
| 34 "display_scheduler.h", | 50 "display_scheduler.h", |
| 35 "surface.cc", | 51 "surface.cc", |
| 36 "surface.h", | 52 "surface.h", |
| 37 "surface_aggregator.cc", | 53 "surface_aggregator.cc", |
| 38 "surface_aggregator.h", | 54 "surface_aggregator.h", |
| 39 "surface_factory.cc", | 55 "surface_factory.cc", |
| 40 "surface_factory.h", | 56 "surface_factory.h", |
| 41 "surface_factory_client.h", | 57 "surface_factory_client.h", |
| 42 "surface_hittest.cc", | 58 "surface_hittest.cc", |
| 43 "surface_hittest.h", | 59 "surface_hittest.h", |
| 44 "surface_hittest_delegate.h", | 60 "surface_hittest_delegate.h", |
| 45 "surface_id_allocator.cc", | 61 "surface_id_allocator.cc", |
| 46 "surface_id_allocator.h", | 62 "surface_id_allocator.h", |
| 47 "surface_manager.cc", | 63 "surface_manager.cc", |
| 48 "surface_manager.h", | 64 "surface_manager.h", |
| 49 "surface_resource_holder.cc", | 65 "surface_resource_holder.cc", |
| 50 "surface_resource_holder.h", | 66 "surface_resource_holder.h", |
| 51 "surfaces_export.h", | |
| 52 ] | 67 ] |
| 53 | 68 |
| 54 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] | 69 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] |
| 55 | 70 |
| 56 public_deps = [ | 71 public_deps = [ |
| 57 ":surface_id", | 72 ":surface_id", |
| 73 ":surface_ref", | |
| 58 ] | 74 ] |
| 75 | |
| 59 deps = [ | 76 deps = [ |
| 60 "//base", | 77 "//base", |
| 61 "//base/third_party/dynamic_annotations", | 78 "//base/third_party/dynamic_annotations", |
| 62 "//cc", | 79 "//cc", |
| 63 "//gpu/command_buffer/client:gles2_interface", | 80 "//gpu/command_buffer/client:gles2_interface", |
| 64 "//gpu/command_buffer/common", | 81 "//gpu/command_buffer/common", |
| 65 "//skia", | 82 "//skia", |
| 66 "//ui/events:events_base", | 83 "//ui/events:events_base", |
| 67 "//ui/gfx", | 84 "//ui/gfx", |
| 68 "//ui/gfx/geometry", | 85 "//ui/gfx/geometry", |
| 69 ] | 86 ] |
| 70 } | 87 } |
| OLD | NEW |