Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: cc/surfaces/BUILD.gn

Issue 2514033002: Introducing SurfaceReferenceFactory (Closed)
Patch Set: ref Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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",
19 "surface_reference_owner.h",
17 "surface_sequence.h", 20 "surface_sequence.h",
18 "surface_sequence_generator.cc", 21 "surface_sequence_generator.cc",
19 "surface_sequence_generator.h", 22 "surface_sequence_generator.h",
23 "surfaces_export.h",
20 ] 24 ]
21 25
22 deps = [ 26 deps = [
23 "//base", 27 "//base",
24 "//mojo/public/cpp/bindings:struct_traits", 28 "//mojo/public/cpp/bindings:struct_traits",
29 "//ui/gfx/geometry:geometry",
25 ] 30 ]
26 } 31 }
27 32
28 cc_component("surfaces") { 33 cc_component("surfaces") {
29 output_name = "cc_surfaces" 34 output_name = "cc_surfaces"
30 sources = [ 35 sources = [
31 "compositor_frame_sink_support.cc", 36 "compositor_frame_sink_support.cc",
32 "compositor_frame_sink_support.h", 37 "compositor_frame_sink_support.h",
33 "compositor_frame_sink_support_client.h", 38 "compositor_frame_sink_support_client.h",
34 "direct_compositor_frame_sink.cc", 39 "direct_compositor_frame_sink.cc",
35 "direct_compositor_frame_sink.h", 40 "direct_compositor_frame_sink.h",
41 "direct_surface_embedding.cc",
42 "direct_surface_embedding.h",
36 "display.cc", 43 "display.cc",
37 "display.h", 44 "display.h",
38 "display_client.h", 45 "display_client.h",
39 "display_scheduler.cc", 46 "display_scheduler.cc",
40 "display_scheduler.h", 47 "display_scheduler.h",
41 "surface.cc", 48 "surface.cc",
42 "surface.h", 49 "surface.h",
43 "surface_aggregator.cc", 50 "surface_aggregator.cc",
44 "surface_aggregator.h", 51 "surface_aggregator.h",
52 "surface_embedding.cc",
53 "surface_embedding.h",
45 "surface_factory.cc", 54 "surface_factory.cc",
46 "surface_factory.h", 55 "surface_factory.h",
47 "surface_factory_client.h", 56 "surface_factory_client.h",
48 "surface_hittest.cc", 57 "surface_hittest.cc",
49 "surface_hittest.h", 58 "surface_hittest.h",
50 "surface_hittest_delegate.h", 59 "surface_hittest_delegate.h",
51 "surface_id_allocator.cc", 60 "surface_id_allocator.cc",
52 "surface_id_allocator.h", 61 "surface_id_allocator.h",
53 "surface_manager.cc", 62 "surface_manager.cc",
54 "surface_manager.h", 63 "surface_manager.h",
55 "surface_reference_manager.h", 64 "surface_reference_manager.h",
56 "surface_resource_holder.cc", 65 "surface_resource_holder.cc",
57 "surface_resource_holder.h", 66 "surface_resource_holder.h",
58 "surfaces_export.h",
59 ] 67 ]
60 68
61 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] 69 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ]
62 70
63 public_deps = [ 71 public_deps = [
64 ":surface_id", 72 ":surface_id",
65 ] 73 ]
74
66 deps = [ 75 deps = [
67 "//base", 76 "//base",
68 "//base/third_party/dynamic_annotations", 77 "//base/third_party/dynamic_annotations",
69 "//cc", 78 "//cc",
70 "//gpu/command_buffer/client:gles2_interface", 79 "//gpu/command_buffer/client:gles2_interface",
71 "//gpu/command_buffer/common", 80 "//gpu/command_buffer/common",
72 "//skia", 81 "//skia",
73 "//ui/events:events_base", 82 "//ui/events:events_base",
74 "//ui/gfx", 83 "//ui/gfx",
75 "//ui/gfx/geometry", 84 "//ui/gfx/geometry",
76 ] 85 ]
77 } 86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698