| 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 28 matching lines...) Expand all Loading... |
| 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) { | 46 if (ozone_platform_wayland) { |
| 47 ozone_platforms += [ "wayland" ] | 47 ozone_platforms += [ "wayland" ] |
| 48 ozone_platform_deps += [ "platform/wayland" ] | 48 ozone_platform_deps += [ "platform/wayland" ] |
| 49 ozone_platform_test_deps += [ "platform/wayland:wayland_unittests" ] |
| 49 } | 50 } |
| 50 | 51 |
| 51 platform_list_cc_file = "$target_gen_dir/platform_list.cc" | 52 platform_list_cc_file = "$target_gen_dir/platform_list.cc" |
| 52 platform_list_h_file = "$target_gen_dir/platform_list.h" | 53 platform_list_h_file = "$target_gen_dir/platform_list.h" |
| 53 platform_list_txt_file = "$target_gen_dir/platform_list.txt" | 54 platform_list_txt_file = "$target_gen_dir/platform_list.txt" |
| 54 constructor_list_cc_file = "$target_gen_dir/constructor_list.cc" | 55 constructor_list_cc_file = "$target_gen_dir/constructor_list.cc" |
| 55 | 56 |
| 56 config("vgem_map") { | 57 config("vgem_map") { |
| 57 if (use_vgem_map) { | 58 if (use_vgem_map) { |
| 58 defines = [ "USE_VGEM_MAP" ] | 59 defines = [ "USE_VGEM_MAP" ] |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 sources = [ | 210 sources = [ |
| 210 "run_all_unittests.cc", | 211 "run_all_unittests.cc", |
| 211 ] | 212 ] |
| 212 | 213 |
| 213 deps = [ | 214 deps = [ |
| 214 "//base/test:test_support", | 215 "//base/test:test_support", |
| 215 "//testing/gtest", | 216 "//testing/gtest", |
| 216 "//ui/gfx/geometry", | 217 "//ui/gfx/geometry", |
| 217 ] + ozone_platform_test_deps | 218 ] + ozone_platform_test_deps |
| 218 } | 219 } |
| OLD | NEW |