| 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("//ui/ozone/ozone.gni") | 5 import("//ui/ozone/ozone.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 # The list of platforms that will be built. | 8 # The list of platforms that will be built. |
| 9 ozone_platforms = [] | 9 ozone_platforms = [] |
| 10 | 10 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 if (ozone_platform_gbm) { | 38 if (ozone_platform_gbm) { |
| 39 ozone_platforms += [ "gbm" ] | 39 ozone_platforms += [ "gbm" ] |
| 40 ozone_platform_deps += [ "platform/drm:gbm" ] | 40 ozone_platform_deps += [ "platform/drm:gbm" ] |
| 41 } | 41 } |
| 42 | 42 |
| 43 platform_list_cc_file = "$target_gen_dir/platform_list.cc" | 43 platform_list_cc_file = "$target_gen_dir/platform_list.cc" |
| 44 platform_list_h_file = "$target_gen_dir/platform_list.h" | 44 platform_list_h_file = "$target_gen_dir/platform_list.h" |
| 45 platform_list_txt_file = "$target_gen_dir/platform_list.txt" | 45 platform_list_txt_file = "$target_gen_dir/platform_list.txt" |
| 46 constructor_list_cc_file = "$target_gen_dir/constructor_list.cc" | 46 constructor_list_cc_file = "$target_gen_dir/constructor_list.cc" |
| 47 | 47 |
| 48 config("vgem_map") { |
| 49 if (use_vgem_map) { |
| 50 defines = [ "USE_VGEM_MAP" ] |
| 51 } |
| 52 } |
| 53 |
| 48 # GYP version: ui/ozone/ozone.gyp:ozone_base | 54 # GYP version: ui/ozone/ozone.gyp:ozone_base |
| 49 component("ozone_base") { | 55 component("ozone_base") { |
| 50 sources = [ | 56 sources = [ |
| 51 "public/cursor_factory_ozone.cc", | 57 "public/cursor_factory_ozone.cc", |
| 52 "public/cursor_factory_ozone.h", | 58 "public/cursor_factory_ozone.h", |
| 53 "public/gpu_platform_support.cc", | 59 "public/gpu_platform_support.cc", |
| 54 "public/gpu_platform_support.h", | 60 "public/gpu_platform_support.h", |
| 55 "public/gpu_platform_support_host.cc", | 61 "public/gpu_platform_support_host.cc", |
| 56 "public/gpu_platform_support_host.h", | 62 "public/gpu_platform_support_host.h", |
| 57 "public/overlay_candidates_ozone.cc", | 63 "public/overlay_candidates_ozone.cc", |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 sources = [ | 189 sources = [ |
| 184 "run_all_unittests.cc", | 190 "run_all_unittests.cc", |
| 185 ] | 191 ] |
| 186 | 192 |
| 187 deps = [ | 193 deps = [ |
| 188 "//base/test:test_support", | 194 "//base/test:test_support", |
| 189 "//testing/gtest", | 195 "//testing/gtest", |
| 190 "//ui/gfx/geometry", | 196 "//ui/gfx/geometry", |
| 191 ] + ozone_platform_test_deps | 197 ] + ozone_platform_test_deps |
| 192 } | 198 } |
| OLD | NEW |