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

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

Issue 2705333006: Move client_native_pixmap_factory.h from ui/ozone/public to ui/gfx (Closed)
Patch Set: Fix trace Created 3 years, 9 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
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 import("//ui/ozone/ozone.gni") 6 import("//ui/ozone/ozone.gni")
7 import("//ui/ozone/ozone_extra.gni") 7 import("//ui/ozone/ozone_extra.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 9
10 assert(use_ozone) 10 assert(use_ozone)
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 "//ui/ozone/common/*", 106 "//ui/ozone/common/*",
107 ] 107 ]
108 } 108 }
109 109
110 source_set("platform") { 110 source_set("platform") {
111 sources = [ 111 sources = [
112 "common/stub_client_native_pixmap_factory.cc", 112 "common/stub_client_native_pixmap_factory.cc",
113 "common/stub_client_native_pixmap_factory.h", 113 "common/stub_client_native_pixmap_factory.h",
114 "platform_selection.cc", 114 "platform_selection.cc",
115 "platform_selection.h", 115 "platform_selection.h",
116 "public/client_native_pixmap_factory.cc", 116 "public/client_native_pixmap_factory_ozone.cc",
117 "public/ozone_gpu_test_helper.cc", 117 "public/ozone_gpu_test_helper.cc",
118 "public/ozone_platform.cc", 118 "public/ozone_platform.cc",
119 constructor_list_cc_file, 119 constructor_list_cc_file,
120 platform_list_cc_file, 120 platform_list_cc_file,
121 platform_list_h_file, 121 platform_list_h_file,
122 ] 122 ]
123 123
124 public = [ 124 public = [
125 "public/client_native_pixmap_factory.h", 125 "public/client_native_pixmap_factory_ozone.h",
126 "public/ozone_gpu_test_helper.h", 126 "public/ozone_gpu_test_helper.h",
127 "public/ozone_platform.h", 127 "public/ozone_platform.h",
128 ] 128 ]
129 129
130 defines = [ "OZONE_IMPLEMENTATION" ] 130 defines = [ "OZONE_IMPLEMENTATION" ]
131 131
132 public_deps = [ 132 public_deps = [
133 ":ozone_base", 133 ":ozone_base",
134 "//base", 134 "//base",
135 "//ipc", 135 "//ipc",
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 outputs = [ 193 outputs = [
194 constructor_list_cc_file, 194 constructor_list_cc_file,
195 ] 195 ]
196 196
197 args = [ 197 args = [
198 "--platform_list=" + rebase_path(platform_list_txt_file, root_build_dir), 198 "--platform_list=" + rebase_path(platform_list_txt_file, root_build_dir),
199 "--output_cc=" + rebase_path(constructor_list_cc_file, root_build_dir), 199 "--output_cc=" + rebase_path(constructor_list_cc_file, root_build_dir),
200 "--namespace=ui", 200 "--namespace=ui",
201 "--typename=OzonePlatform", 201 "--typename=OzonePlatform",
202 "--typename=ClientNativePixmapFactory", 202 "--typename=ClientNativePixmapFactory",
203 "--include=\"ui/gfx/client_native_pixmap_factory.h\"",
203 "--include=\"ui/ozone/public/ozone_platform.h\"", 204 "--include=\"ui/ozone/public/ozone_platform.h\"",
204 "--include=\"ui/ozone/public/client_native_pixmap_factory.h\"",
205 ] 205 ]
206 206
207 deps = [ 207 deps = [
208 ":generate_ozone_platform_list", 208 ":generate_ozone_platform_list",
209 ] 209 ]
210 } 210 }
211 211
212 test("ozone_unittests") { 212 test("ozone_unittests") {
213 sources = [ 213 sources = [
214 "run_all_unittests.cc", 214 "run_all_unittests.cc",
215 ] 215 ]
216 216
217 deps = [ 217 deps = [
218 "//base/test:test_support", 218 "//base/test:test_support",
219 "//testing/gtest", 219 "//testing/gtest",
220 "//ui/gfx/geometry", 220 "//ui/gfx/geometry",
221 ] 221 ]
222 222
223 # Add tests of platform internals. 223 # Add tests of platform internals.
224 deps += ozone_platform_test_deps 224 deps += ozone_platform_test_deps
225 225
226 # Platform tests link ozone statically. Make sure we're not getting a 226 # Platform tests link ozone statically. Make sure we're not getting a
227 # 2nd copy of any code via the component. 227 # 2nd copy of any code via the component.
228 assert_no_deps = [ "//ui/ozone" ] 228 assert_no_deps = [ "//ui/ozone" ]
229 } 229 }
OLDNEW
« no previous file with comments | « ui/gfx/client_native_pixmap_factory.cc ('k') | ui/ozone/common/stub_client_native_pixmap_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698