| 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 25 matching lines...) Expand all Loading... |
| 36 ozone_platforms += [ "gbm" ] | 36 ozone_platforms += [ "gbm" ] |
| 37 ozone_platform_deps += [ "platform/drm:gbm" ] | 37 ozone_platform_deps += [ "platform/drm:gbm" ] |
| 38 ozone_platform_test_deps += [ "platform/drm:gbm_unittests" ] | 38 ozone_platform_test_deps += [ "platform/drm:gbm_unittests" ] |
| 39 } | 39 } |
| 40 | 40 |
| 41 if (ozone_platform_cast) { | 41 if (ozone_platform_cast) { |
| 42 ozone_platforms += [ "cast" ] | 42 ozone_platforms += [ "cast" ] |
| 43 ozone_platform_deps += [ "platform/cast" ] | 43 ozone_platform_deps += [ "platform/cast" ] |
| 44 } | 44 } |
| 45 | 45 |
| 46 if (ozone_platform_wayland) { |
| 47 ozone_platforms += [ "wayland" ] |
| 48 ozone_platform_deps += [ "platform/wayland" ] |
| 49 } |
| 50 |
| 46 platform_list_cc_file = "$target_gen_dir/platform_list.cc" | 51 platform_list_cc_file = "$target_gen_dir/platform_list.cc" |
| 47 platform_list_h_file = "$target_gen_dir/platform_list.h" | 52 platform_list_h_file = "$target_gen_dir/platform_list.h" |
| 48 platform_list_txt_file = "$target_gen_dir/platform_list.txt" | 53 platform_list_txt_file = "$target_gen_dir/platform_list.txt" |
| 49 constructor_list_cc_file = "$target_gen_dir/constructor_list.cc" | 54 constructor_list_cc_file = "$target_gen_dir/constructor_list.cc" |
| 50 | 55 |
| 51 config("vgem_map") { | 56 config("vgem_map") { |
| 52 if (use_vgem_map) { | 57 if (use_vgem_map) { |
| 53 defines = [ "USE_VGEM_MAP" ] | 58 defines = [ "USE_VGEM_MAP" ] |
| 54 } | 59 } |
| 55 } | 60 } |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 sources = [ | 208 sources = [ |
| 204 "run_all_unittests.cc", | 209 "run_all_unittests.cc", |
| 205 ] | 210 ] |
| 206 | 211 |
| 207 deps = [ | 212 deps = [ |
| 208 "//base/test:test_support", | 213 "//base/test:test_support", |
| 209 "//testing/gtest", | 214 "//testing/gtest", |
| 210 "//ui/gfx/geometry", | 215 "//ui/gfx/geometry", |
| 211 ] + ozone_platform_test_deps | 216 ] + ozone_platform_test_deps |
| 212 } | 217 } |
| OLD | NEW |