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

Side by Side Diff: ui/compositor/BUILD.gn

Issue 753933002: MacViews: Move content::AcceleratedWidget to new component, ui/accelerated_widget_mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20141124-MacViews-MoveSoftwareLayerMac-fromcl
Patch Set: rebase to master Created 6 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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 component("compositor") { 7 component("compositor") {
8 sources = [ 8 sources = [
9 "closure_animation_observer.cc", 9 "closure_animation_observer.cc",
10 "closure_animation_observer.h", 10 "closure_animation_observer.h",
(...skipping 25 matching lines...) Expand all
36 "layer_animator.cc", 36 "layer_animator.cc",
37 "layer_animator.h", 37 "layer_animator.h",
38 "layer_animator_collection.cc", 38 "layer_animator_collection.cc",
39 "layer_animator_collection.h", 39 "layer_animator_collection.h",
40 "layer_delegate.h", 40 "layer_delegate.h",
41 "layer_owner.cc", 41 "layer_owner.cc",
42 "layer_owner.h", 42 "layer_owner.h",
43 "layer_tree_owner.cc", 43 "layer_tree_owner.cc",
44 "layer_tree_owner.h", 44 "layer_tree_owner.h",
45 "layer_type.h", 45 "layer_type.h",
46 "mac/accelerated_widget_mac.mm",
47 "mac/accelerated_widget_mac.h",
48 "mac/io_surface_context_mac.h",
49 "mac/io_surface_context_mac.mm",
50 "mac/io_surface_layer_mac.h",
51 "mac/io_surface_layer_mac.mm",
52 "mac/io_surface_texture_mac.h",
53 "mac/io_surface_texture_mac.mm",
54 "mac/software_layer.h",
55 "mac/software_layer.mm",
56 "mac/surface_handle_types_mac.cc",
57 "mac/surface_handle_types_mac.h",
46 "reflector.h", 58 "reflector.h",
47 "scoped_animation_duration_scale_mode.cc", 59 "scoped_animation_duration_scale_mode.cc",
48 "scoped_animation_duration_scale_mode.h", 60 "scoped_animation_duration_scale_mode.h",
49 "scoped_layer_animation_settings.cc", 61 "scoped_layer_animation_settings.cc",
50 "scoped_layer_animation_settings.h", 62 "scoped_layer_animation_settings.h",
51 "transform_animation_curve_adapter.cc", 63 "transform_animation_curve_adapter.cc",
52 "transform_animation_curve_adapter.h", 64 "transform_animation_curve_adapter.h",
53 ] 65 ]
54 66
55 defines = [ "COMPOSITOR_IMPLEMENTATION" ] 67 defines = [ "COMPOSITOR_IMPLEMENTATION" ]
(...skipping 12 matching lines...) Expand all
68 80
69 if (is_win && use_aura) { 81 if (is_win && use_aura) {
70 # TODO(sky): before we make this real need to remove 82 # TODO(sky): before we make this real need to remove
71 # IDR_BITMAP_BRUSH_IMAGE. 83 # IDR_BITMAP_BRUSH_IMAGE.
72 deps += [ 84 deps += [
73 "//ui/resources", 85 "//ui/resources",
74 "//third_party/angle:libEGL", 86 "//third_party/angle:libEGL",
75 "//third_party/angle:libGLESv2", 87 "//third_party/angle:libGLESv2",
76 ] 88 ]
77 } 89 }
90
91 if (is_mac) {
ccameron 2014/11/26 18:36:51 What is base needed for (events is latency_info, I
tapted 2014/11/27 02:50:33 ScopedCAActionDisabler is in ui/base, but it can b
tapted 2014/11/27 05:58:41 Actually, `gn check` complains if I remove the //u
92 deps += [
93 "//ui/base",
94 "//ui/events",
95 ]
96
97 libs = [
98 "QuartzCore.framework",
99 ]
100 }
78 } 101 }
79 102
80 source_set("test_support") { 103 source_set("test_support") {
81 testonly = true 104 testonly = true
82 sources = [ 105 sources = [
83 "test/context_factories_for_test.cc", 106 "test/context_factories_for_test.cc",
84 "test/context_factories_for_test.h", 107 "test/context_factories_for_test.h",
85 "test/draw_waiter_for_test.cc", 108 "test/draw_waiter_for_test.cc",
86 "test/draw_waiter_for_test.h", 109 "test/draw_waiter_for_test.h",
87 "test/in_process_context_factory.cc", 110 "test/in_process_context_factory.cc",
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 # "//ui/gfx", 182 # "//ui/gfx",
160 # "//ui/gfx/geometry", 183 # "//ui/gfx/geometry",
161 # "//ui/gl", 184 # "//ui/gl",
162 # "//ui/resources", 185 # "//ui/resources",
163 # ] 186 # ]
164 # 187 #
165 # if (is_linux) { 188 # if (is_linux) {
166 # deps += [ "//third_party/mesa:osmesa" ] 189 # deps += [ "//third_party/mesa:osmesa" ]
167 # } 190 # }
168 #} 191 #}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698