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 22 matching lines...) Expand all Loading... |
33 ozone_platforms += [ "gbm" ] | 33 ozone_platforms += [ "gbm" ] |
34 ozone_platform_deps += [ "platform/drm:gbm" ] | 34 ozone_platform_deps += [ "platform/drm:gbm" ] |
35 ozone_platform_test_deps += [ "platform/drm:gbm_unittests" ] | 35 ozone_platform_test_deps += [ "platform/drm:gbm_unittests" ] |
36 } | 36 } |
37 | 37 |
38 if (ozone_platform_cast) { | 38 if (ozone_platform_cast) { |
39 ozone_platforms += [ "cast" ] | 39 ozone_platforms += [ "cast" ] |
40 ozone_platform_deps += [ "platform/cast" ] | 40 ozone_platform_deps += [ "platform/cast" ] |
41 } | 41 } |
42 | 42 |
| 43 if (ozone_platform_headless) { |
| 44 ozone_platforms += [ "headless" ] |
| 45 ozone_platform_deps += [ "platform/headless" ] |
| 46 } |
| 47 |
43 platform_list_cc_file = "$target_gen_dir/platform_list.cc" | 48 platform_list_cc_file = "$target_gen_dir/platform_list.cc" |
44 platform_list_h_file = "$target_gen_dir/platform_list.h" | 49 platform_list_h_file = "$target_gen_dir/platform_list.h" |
45 platform_list_txt_file = "$target_gen_dir/platform_list.txt" | 50 platform_list_txt_file = "$target_gen_dir/platform_list.txt" |
46 constructor_list_cc_file = "$target_gen_dir/constructor_list.cc" | 51 constructor_list_cc_file = "$target_gen_dir/constructor_list.cc" |
47 | 52 |
48 config("vgem_map") { | 53 config("vgem_map") { |
49 if (use_vgem_map) { | 54 if (use_vgem_map) { |
50 defines = [ "USE_VGEM_MAP" ] | 55 defines = [ "USE_VGEM_MAP" ] |
51 } | 56 } |
52 } | 57 } |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 [ | 129 [ |
125 ":generate_constructor_list", | 130 ":generate_constructor_list", |
126 ":generate_ozone_platform_list", | 131 ":generate_ozone_platform_list", |
127 ":ozone_base", | 132 ":ozone_base", |
128 "//base", | 133 "//base", |
129 "//ipc", | 134 "//ipc", |
130 "//skia", | 135 "//skia", |
131 "//ui/display/types", | 136 "//ui/display/types", |
132 "//ui/display/util", | 137 "//ui/display/util", |
133 "//ui/events", | 138 "//ui/events", |
| 139 "//ui/events/devices", |
134 "//ui/events/ozone:events_ozone", | 140 "//ui/events/ozone:events_ozone", |
135 "//ui/gfx", | 141 "//ui/gfx", |
136 "//ui/gfx/geometry", | 142 "//ui/gfx/geometry", |
137 "//ui/gfx/ipc", | 143 "//ui/gfx/ipc", |
138 | 144 |
139 # TODO(GYP) the GYP version has a way to add additional dependencies via | 145 # TODO(GYP) the GYP version has a way to add additional dependencies via |
140 # build flags. | 146 # build flags. |
141 ] + ozone_platform_deps | 147 ] + ozone_platform_deps |
142 } | 148 } |
143 | 149 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 sources = [ | 195 sources = [ |
190 "run_all_unittests.cc", | 196 "run_all_unittests.cc", |
191 ] | 197 ] |
192 | 198 |
193 deps = [ | 199 deps = [ |
194 "//base/test:test_support", | 200 "//base/test:test_support", |
195 "//testing/gtest", | 201 "//testing/gtest", |
196 "//ui/gfx/geometry", | 202 "//ui/gfx/geometry", |
197 ] + ozone_platform_test_deps | 203 ] + ozone_platform_test_deps |
198 } | 204 } |
OLD | NEW |