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 11 matching lines...) Expand all Loading... |
22 if (ozone_platform_test) { | 22 if (ozone_platform_test) { |
23 ozone_platforms += [ "test" ] | 23 ozone_platforms += [ "test" ] |
24 ozone_platform_deps += [ "platform/test" ] | 24 ozone_platform_deps += [ "platform/test" ] |
25 } | 25 } |
26 | 26 |
27 if (ozone_platform_caca) { | 27 if (ozone_platform_caca) { |
28 ozone_platforms += [ "caca" ] | 28 ozone_platforms += [ "caca" ] |
29 ozone_platform_deps += [ "platform/caca" ] | 29 ozone_platform_deps += [ "platform/caca" ] |
30 } | 30 } |
31 | 31 |
32 if (ozone_platform_dri || ozone_platform_drm) { | 32 if (ozone_platform_drm) { |
33 ozone_platforms += [ | 33 ozone_platforms += [ "drm" ] |
34 "dri", | |
35 "drm", | |
36 ] | |
37 ozone_platform_deps += [ "platform/drm" ] | 34 ozone_platform_deps += [ "platform/drm" ] |
38 ozone_platform_test_deps += [ "platform/drm:drm_unittests" ] | 35 ozone_platform_test_deps += [ "platform/drm:drm_unittests" ] |
39 } | 36 } |
40 | 37 |
41 if (ozone_platform_gbm) { | 38 if (ozone_platform_gbm) { |
42 ozone_platforms += [ "gbm" ] | 39 ozone_platforms += [ "gbm" ] |
43 ozone_platform_deps += [ "platform/drm:gbm" ] | 40 ozone_platform_deps += [ "platform/drm:gbm" ] |
44 } | 41 } |
45 | 42 |
46 platform_list_cc_file = "$target_gen_dir/platform_list.cc" | 43 platform_list_cc_file = "$target_gen_dir/platform_list.cc" |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 sources = [ | 177 sources = [ |
181 "run_all_unittests.cc", | 178 "run_all_unittests.cc", |
182 ] | 179 ] |
183 | 180 |
184 deps = [ | 181 deps = [ |
185 "//base/test:test_support", | 182 "//base/test:test_support", |
186 "//testing/gtest", | 183 "//testing/gtest", |
187 "//ui/gfx/geometry", | 184 "//ui/gfx/geometry", |
188 ] + ozone_platform_test_deps | 185 ] + ozone_platform_test_deps |
189 } | 186 } |
OLD | NEW |