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

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

Issue 2768343002: Change namespace from ui to gfx for NativePixmap related code (Closed)
Patch Set: Addressed sadrul's remark 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
« no previous file with comments | « ui/gl/gl_image_native_pixmap.cc ('k') | ui/ozone/common/stub_client_native_pixmap_factory.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 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 182 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 "--using=gfx::ClientNativePixmapFactory",
203 "--include=\"ui/gfx/client_native_pixmap_factory.h\"", 204 "--include=\"ui/gfx/client_native_pixmap_factory.h\"",
204 "--include=\"ui/ozone/public/ozone_platform.h\"", 205 "--include=\"ui/ozone/public/ozone_platform.h\"",
205 ] 206 ]
206 207
207 deps = [ 208 deps = [
208 ":generate_ozone_platform_list", 209 ":generate_ozone_platform_list",
209 ] 210 ]
210 } 211 }
211 212
212 test("ozone_unittests") { 213 test("ozone_unittests") {
213 sources = [ 214 sources = [
214 "run_all_unittests.cc", 215 "run_all_unittests.cc",
215 ] 216 ]
216 217
217 deps = [ 218 deps = [
218 "//base/test:test_support", 219 "//base/test:test_support",
219 "//testing/gtest", 220 "//testing/gtest",
220 "//ui/gfx/geometry", 221 "//ui/gfx/geometry",
221 ] 222 ]
222 223
223 # Add tests of platform internals. 224 # Add tests of platform internals.
224 deps += ozone_platform_test_deps 225 deps += ozone_platform_test_deps
225 226
226 # Platform tests link ozone statically. Make sure we're not getting a 227 # Platform tests link ozone statically. Make sure we're not getting a
227 # 2nd copy of any code via the component. 228 # 2nd copy of any code via the component.
228 assert_no_deps = [ "//ui/ozone" ] 229 assert_no_deps = [ "//ui/ozone" ]
229 } 230 }
OLDNEW
« no previous file with comments | « ui/gl/gl_image_native_pixmap.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