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 | 6 |
7 # The list of platforms that will be built. | 7 # The list of platforms that will be built. |
8 ozone_platforms = [] | 8 ozone_platforms = [] |
9 | 9 |
10 # Extra dependencies to pull into ui/ozone for built platforms. | 10 # Extra dependencies to pull into ui/ozone for built platforms. |
11 ozone_platform_deps = [] | 11 ozone_platform_deps = [] |
12 | 12 |
13 # Extra dependencies to pull into ozone_unittests for built platforms. | 13 # Extra dependencies to pull into ozone_unittests for built platforms. |
14 ozone_platform_test_deps = [] | 14 ozone_platform_test_deps = [] |
15 | 15 |
| 16 if (ozone_platform_x11) { |
| 17 ozone_platforms += [ "x11" ] |
| 18 ozone_platform_deps += [ "platform/x11" ] |
| 19 } |
| 20 |
16 if (ozone_platform_egltest) { | 21 if (ozone_platform_egltest) { |
17 ozone_platforms += [ "egltest" ] | 22 ozone_platforms += [ "egltest" ] |
18 ozone_platform_deps += [ "platform/egltest" ] | 23 ozone_platform_deps += [ "platform/egltest" ] |
19 } | 24 } |
20 | 25 |
21 if (ozone_platform_test) { | 26 if (ozone_platform_test) { |
22 ozone_platforms += [ "test" ] | 27 ozone_platforms += [ "test" ] |
23 ozone_platform_deps += [ "platform/test" ] | 28 ozone_platform_deps += [ "platform/test" ] |
24 } | 29 } |
25 | 30 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 test("ozone_unittests") { | 175 test("ozone_unittests") { |
171 sources = [ | 176 sources = [ |
172 "run_all_unittests.cc", | 177 "run_all_unittests.cc", |
173 ] | 178 ] |
174 | 179 |
175 deps = [ | 180 deps = [ |
176 "//base/test:test_support", | 181 "//base/test:test_support", |
177 "//testing/gtest", | 182 "//testing/gtest", |
178 ] + ozone_platform_test_deps | 183 ] + ozone_platform_test_deps |
179 } | 184 } |
OLD | NEW |