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 30 matching lines...) Expand all Loading... |
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 } | 49 } |
50 | 50 |
| 51 if (ozone_platform_x11) { |
| 52 ozone_platforms += [ "x11" ] |
| 53 ozone_platform_deps += [ "platform/x11" ] |
| 54 } |
| 55 |
51 platform_list_cc_file = "$target_gen_dir/platform_list.cc" | 56 platform_list_cc_file = "$target_gen_dir/platform_list.cc" |
52 platform_list_h_file = "$target_gen_dir/platform_list.h" | 57 platform_list_h_file = "$target_gen_dir/platform_list.h" |
53 platform_list_txt_file = "$target_gen_dir/platform_list.txt" | 58 platform_list_txt_file = "$target_gen_dir/platform_list.txt" |
54 constructor_list_cc_file = "$target_gen_dir/constructor_list.cc" | 59 constructor_list_cc_file = "$target_gen_dir/constructor_list.cc" |
55 | 60 |
56 config("vgem_map") { | 61 config("vgem_map") { |
57 if (use_vgem_map) { | 62 if (use_vgem_map) { |
58 defines = [ "USE_VGEM_MAP" ] | 63 defines = [ "USE_VGEM_MAP" ] |
59 } | 64 } |
60 } | 65 } |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 sources = [ | 214 sources = [ |
210 "run_all_unittests.cc", | 215 "run_all_unittests.cc", |
211 ] | 216 ] |
212 | 217 |
213 deps = [ | 218 deps = [ |
214 "//base/test:test_support", | 219 "//base/test:test_support", |
215 "//testing/gtest", | 220 "//testing/gtest", |
216 "//ui/gfx/geometry", | 221 "//ui/gfx/geometry", |
217 ] + ozone_platform_test_deps | 222 ] + ozone_platform_test_deps |
218 } | 223 } |
OLD | NEW |