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

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

Issue 2043833002: Add SurfaceSequence mojom file to cc/ipc and edit corresponding GYP file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test added Created 4 years, 6 months 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
« cc/ipc/surface_sequence.typemap ('K') | « cc/ipc/typemaps.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 source_set("surface_id") { 5 source_set("surface_id") {
6 sources = [ 6 sources = [
7 "surface_id.h", 7 "surface_id.h",
8 ] 8 ]
9 9
10 deps = [ 10 deps = [
11 "//base", 11 "//base",
12 ] 12 ]
13 } 13 }
14 14
15 source_set("surface_sequence") {
Fady Samuel 2016/06/06 18:34:30 Do we need this? Can't you just dep on all of surf
xlai (Olivia) 2016/06/06 19:04:32 Same rationale as above. I think it's better to is
16 sources = [
17 "surface_sequence.h",
18 ]
19
20 deps = [
21 "//base",
22 ]
23 }
24
15 component("surfaces") { 25 component("surfaces") {
16 output_name = "cc_surfaces" 26 output_name = "cc_surfaces"
17 sources = [ 27 sources = [
18 "display.cc", 28 "display.cc",
19 "display.h", 29 "display.h",
20 "display_client.h", 30 "display_client.h",
21 "display_scheduler.cc", 31 "display_scheduler.cc",
22 "display_scheduler.h", 32 "display_scheduler.h",
23 "onscreen_display_client.cc", 33 "onscreen_display_client.cc",
24 "onscreen_display_client.h", 34 "onscreen_display_client.h",
25 "surface.cc", 35 "surface.cc",
26 "surface.h", 36 "surface.h",
27 "surface_aggregator.cc", 37 "surface_aggregator.cc",
28 "surface_aggregator.h", 38 "surface_aggregator.h",
29 "surface_display_output_surface.cc", 39 "surface_display_output_surface.cc",
30 "surface_display_output_surface.h", 40 "surface_display_output_surface.h",
31 "surface_factory.cc", 41 "surface_factory.cc",
32 "surface_factory.h", 42 "surface_factory.h",
33 "surface_factory_client.h", 43 "surface_factory_client.h",
34 "surface_hittest.cc", 44 "surface_hittest.cc",
35 "surface_hittest.h", 45 "surface_hittest.h",
36 "surface_hittest_delegate.h", 46 "surface_hittest_delegate.h",
37 "surface_id_allocator.cc", 47 "surface_id_allocator.cc",
38 "surface_id_allocator.h", 48 "surface_id_allocator.h",
39 "surface_manager.cc", 49 "surface_manager.cc",
40 "surface_manager.h", 50 "surface_manager.h",
41 "surface_resource_holder.cc", 51 "surface_resource_holder.cc",
42 "surface_resource_holder.h", 52 "surface_resource_holder.h",
53 "surface_sequence.h",
43 "surfaces_export.h", 54 "surfaces_export.h",
44 ] 55 ]
45 56
46 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] 57 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ]
47 58
48 public_deps = [ 59 public_deps = [
49 ":surface_id", 60 ":surface_id",
61 ":surface_sequence",
50 ] 62 ]
51 deps = [ 63 deps = [
52 "//base", 64 "//base",
53 "//base/third_party/dynamic_annotations", 65 "//base/third_party/dynamic_annotations",
54 "//cc", 66 "//cc",
55 "//gpu/command_buffer/client:gles2_interface", 67 "//gpu/command_buffer/client:gles2_interface",
56 "//gpu/command_buffer/common", 68 "//gpu/command_buffer/common",
57 "//skia", 69 "//skia",
58 "//ui/events:events_base", 70 "//ui/events:events_base",
59 "//ui/gfx", 71 "//ui/gfx",
60 "//ui/gfx/geometry", 72 "//ui/gfx/geometry",
61 ] 73 ]
62 74
63 if (is_android && !is_debug) { 75 if (is_android && !is_debug) {
64 configs -= [ "//build/config/compiler:default_optimization" ] 76 configs -= [ "//build/config/compiler:default_optimization" ]
65 configs += [ "//build/config/compiler:optimize_max" ] 77 configs += [ "//build/config/compiler:optimize_max" ]
66 } 78 }
67 } 79 }
OLDNEW
« cc/ipc/surface_sequence.typemap ('K') | « cc/ipc/typemaps.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698