| OLD | NEW |
| 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("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 assert(use_ozone) | 9 assert(use_ozone) |
| 10 | 10 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 if (use_vgem_map) { | 60 if (use_vgem_map) { |
| 61 defines = [ "USE_VGEM_MAP" ] | 61 defines = [ "USE_VGEM_MAP" ] |
| 62 } | 62 } |
| 63 } | 63 } |
| 64 | 64 |
| 65 # GYP version: ui/ozone/ozone.gyp:ozone_base | 65 # GYP version: ui/ozone/ozone.gyp:ozone_base |
| 66 component("ozone_base") { | 66 component("ozone_base") { |
| 67 sources = [ | 67 sources = [ |
| 68 "public/cursor_factory_ozone.cc", | 68 "public/cursor_factory_ozone.cc", |
| 69 "public/cursor_factory_ozone.h", | 69 "public/cursor_factory_ozone.h", |
| 70 "public/gl_ozone.h", |
| 70 "public/gpu_platform_support_host.cc", | 71 "public/gpu_platform_support_host.cc", |
| 71 "public/gpu_platform_support_host.h", | 72 "public/gpu_platform_support_host.h", |
| 72 "public/input_controller.cc", | 73 "public/input_controller.cc", |
| 73 "public/input_controller.h", | 74 "public/input_controller.h", |
| 74 "public/native_pixmap.h", | 75 "public/native_pixmap.h", |
| 75 "public/overlay_candidates_ozone.cc", | 76 "public/overlay_candidates_ozone.cc", |
| 76 "public/overlay_candidates_ozone.h", | 77 "public/overlay_candidates_ozone.h", |
| 77 "public/overlay_manager_ozone.h", | 78 "public/overlay_manager_ozone.h", |
| 78 "public/ozone_switches.cc", | 79 "public/ozone_switches.cc", |
| 79 "public/ozone_switches.h", | 80 "public/ozone_switches.h", |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 "//ui/gfx/geometry", | 230 "//ui/gfx/geometry", |
| 230 ] | 231 ] |
| 231 | 232 |
| 232 # Add tests of platform internals. | 233 # Add tests of platform internals. |
| 233 deps += ozone_platform_test_deps | 234 deps += ozone_platform_test_deps |
| 234 | 235 |
| 235 # Platform tests link ozone statically. Make sure we're not getting a | 236 # Platform tests link ozone statically. Make sure we're not getting a |
| 236 # 2nd copy of any code via the component. | 237 # 2nd copy of any code via the component. |
| 237 assert_no_deps = [ "//ui/ozone" ] | 238 assert_no_deps = [ "//ui/ozone" ] |
| 238 } | 239 } |
| OLD | NEW |