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

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: Just rebase 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 "platform_selection.h", 115 "platform_selection.h",
116 "public/client_native_pixmap_factory.cc", 116 "public/client_native_pixmap_factory.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",
126 "public/ozone_gpu_test_helper.h", 125 "public/ozone_gpu_test_helper.h",
127 "public/ozone_platform.h", 126 "public/ozone_platform.h",
128 ] 127 ]
129 128
130 defines = [ "OZONE_IMPLEMENTATION" ] 129 defines = [ "OZONE_IMPLEMENTATION" ]
131 130
132 public_deps = [ 131 public_deps = [
133 ":ozone_base", 132 ":ozone_base",
134 "//base", 133 "//base",
135 "//ipc", 134 "//ipc",
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 outputs = [ 192 outputs = [
194 constructor_list_cc_file, 193 constructor_list_cc_file,
195 ] 194 ]
196 195
197 args = [ 196 args = [
198 "--platform_list=" + rebase_path(platform_list_txt_file, root_build_dir), 197 "--platform_list=" + rebase_path(platform_list_txt_file, root_build_dir),
199 "--output_cc=" + rebase_path(constructor_list_cc_file, root_build_dir), 198 "--output_cc=" + rebase_path(constructor_list_cc_file, root_build_dir),
200 "--namespace=ui", 199 "--namespace=ui",
201 "--typename=OzonePlatform", 200 "--typename=OzonePlatform",
202 "--typename=ClientNativePixmapFactory", 201 "--typename=ClientNativePixmapFactory",
202 "--include=\"ui/gfx/client_native_pixmap_factory.h\"",
203 "--include=\"ui/ozone/public/ozone_platform.h\"", 203 "--include=\"ui/ozone/public/ozone_platform.h\"",
204 "--include=\"ui/ozone/public/client_native_pixmap_factory.h\"",
205 ] 204 ]
206 205
207 deps = [ 206 deps = [
208 ":generate_ozone_platform_list", 207 ":generate_ozone_platform_list",
209 ] 208 ]
210 } 209 }
211 210
212 test("ozone_unittests") { 211 test("ozone_unittests") {
213 sources = [ 212 sources = [
214 "run_all_unittests.cc", 213 "run_all_unittests.cc",
215 ] 214 ]
216 215
217 deps = [ 216 deps = [
218 "//base/test:test_support", 217 "//base/test:test_support",
219 "//testing/gtest", 218 "//testing/gtest",
220 "//ui/gfx/geometry", 219 "//ui/gfx/geometry",
221 ] 220 ]
222 221
223 # Add tests of platform internals. 222 # Add tests of platform internals.
224 deps += ozone_platform_test_deps 223 deps += ozone_platform_test_deps
225 224
226 # Platform tests link ozone statically. Make sure we're not getting a 225 # Platform tests link ozone statically. Make sure we're not getting a
227 # 2nd copy of any code via the component. 226 # 2nd copy of any code via the component.
228 assert_no_deps = [ "//ui/ozone" ] 227 assert_no_deps = [ "//ui/ozone" ]
229 } 228 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698