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

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

Issue 2506093003: CC Animation: Make cc/animation an independent GN component. (Closed)
Patch Set: Rebase. Created 4 years, 1 month 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
« no previous file with comments | « cc/cc.gni ('k') | cc/trees/property_animation_state.h » ('j') | 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 import("//cc/cc.gni")
6
7 cc_source_set("surface_id") {
6 sources = [ 8 sources = [
7 "frame_sink_id.h", 9 "frame_sink_id.h",
8 "local_frame_id.h", 10 "local_frame_id.h",
9 "surface_id.h", 11 "surface_id.h",
10 "surface_sequence.h", 12 "surface_sequence.h",
11 "surface_sequence_generator.cc", 13 "surface_sequence_generator.cc",
12 "surface_sequence_generator.h", 14 "surface_sequence_generator.h",
13 ] 15 ]
14 16
15 deps = [ 17 deps = [
16 "//base", 18 "//base",
17 ] 19 ]
18 } 20 }
19 21
20 component("surfaces") { 22 cc_component("surfaces") {
21 output_name = "cc_surfaces" 23 output_name = "cc_surfaces"
22 sources = [ 24 sources = [
23 "direct_compositor_frame_sink.cc", 25 "direct_compositor_frame_sink.cc",
24 "direct_compositor_frame_sink.h", 26 "direct_compositor_frame_sink.h",
25 "display.cc", 27 "display.cc",
26 "display.h", 28 "display.h",
27 "display_client.h", 29 "display_client.h",
28 "display_scheduler.cc", 30 "display_scheduler.cc",
29 "display_scheduler.h", 31 "display_scheduler.h",
30 "surface.cc", 32 "surface.cc",
(...skipping 24 matching lines...) Expand all
55 "//base", 57 "//base",
56 "//base/third_party/dynamic_annotations", 58 "//base/third_party/dynamic_annotations",
57 "//cc", 59 "//cc",
58 "//gpu/command_buffer/client:gles2_interface", 60 "//gpu/command_buffer/client:gles2_interface",
59 "//gpu/command_buffer/common", 61 "//gpu/command_buffer/common",
60 "//skia", 62 "//skia",
61 "//ui/events:events_base", 63 "//ui/events:events_base",
62 "//ui/gfx", 64 "//ui/gfx",
63 "//ui/gfx/geometry", 65 "//ui/gfx/geometry",
64 ] 66 ]
65
66 if (is_android && !is_debug) {
67 configs -= [ "//build/config/compiler:default_optimization" ]
68 configs += [ "//build/config/compiler:optimize_max" ]
69 }
70 } 67 }
OLDNEW
« no previous file with comments | « cc/cc.gni ('k') | cc/trees/property_animation_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698