Chromium Code Reviews| 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 |
| 11 # Extra dependencies to pull into ui/ozone for built platforms. | 11 # Extra dependencies to pull into ui/ozone for built platforms. |
| 12 ozone_platform_deps = [] | 12 ozone_platform_deps = [] |
| 13 | 13 |
| 14 # Extra dependencies to pull into ozone_unittests for built platforms. | 14 # Extra dependencies to pull into ozone_unittests for built platforms. |
| 15 ozone_platform_test_deps = [] | 15 ozone_platform_test_deps = [] |
| 16 | 16 |
| 17 if (ozone_platform_egltest) { | 17 if (ozone_platform_eglheadless) { |
|
spang
2015/10/29 15:46:35
Let's leave egltest alone - although the current n
altimin
2015/10/29 16:06:10
Done.
| |
| 18 ozone_platforms += [ "egltest" ] | 18 ozone_platforms += [ "eglheadless" ] |
| 19 ozone_platform_deps += [ "platform/egltest" ] | 19 ozone_platform_deps += [ "platform/eglheadless" ] |
| 20 } | 20 } |
| 21 | 21 |
| 22 if (ozone_platform_test) { | 22 if (ozone_platform_headless) { |
| 23 ozone_platforms += [ "test" ] | 23 ozone_platforms += [ "headless" ] |
| 24 ozone_platform_deps += [ "platform/test" ] | 24 ozone_platform_deps += [ "platform/headless" ] |
| 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_gbm) { | 32 if (ozone_platform_gbm) { |
| 33 ozone_platforms += [ "gbm" ] | 33 ozone_platforms += [ "gbm" ] |
| 34 ozone_platform_deps += [ "platform/drm:gbm" ] | 34 ozone_platform_deps += [ "platform/drm:gbm" ] |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 124 [ | 124 [ |
| 125 ":generate_constructor_list", | 125 ":generate_constructor_list", |
| 126 ":generate_ozone_platform_list", | 126 ":generate_ozone_platform_list", |
| 127 ":ozone_base", | 127 ":ozone_base", |
| 128 "//base", | 128 "//base", |
| 129 "//ipc", | 129 "//ipc", |
| 130 "//skia", | 130 "//skia", |
| 131 "//ui/display/types", | 131 "//ui/display/types", |
| 132 "//ui/display/util", | 132 "//ui/display/util", |
| 133 "//ui/events", | 133 "//ui/events", |
| 134 "//ui/events/devices", | |
| 134 "//ui/events/ozone:events_ozone", | 135 "//ui/events/ozone:events_ozone", |
| 135 "//ui/gfx", | 136 "//ui/gfx", |
| 136 "//ui/gfx/geometry", | 137 "//ui/gfx/geometry", |
| 137 "//ui/gfx/ipc", | 138 "//ui/gfx/ipc", |
| 138 | 139 |
| 139 # TODO(GYP) the GYP version has a way to add additional dependencies via | 140 # TODO(GYP) the GYP version has a way to add additional dependencies via |
| 140 # build flags. | 141 # build flags. |
| 141 ] + ozone_platform_deps | 142 ] + ozone_platform_deps |
| 142 } | 143 } |
| 143 | 144 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 189 sources = [ | 190 sources = [ |
| 190 "run_all_unittests.cc", | 191 "run_all_unittests.cc", |
| 191 ] | 192 ] |
| 192 | 193 |
| 193 deps = [ | 194 deps = [ |
| 194 "//base/test:test_support", | 195 "//base/test:test_support", |
| 195 "//testing/gtest", | 196 "//testing/gtest", |
| 196 "//ui/gfx/geometry", | 197 "//ui/gfx/geometry", |
| 197 ] + ozone_platform_test_deps | 198 ] + ozone_platform_test_deps |
| 198 } | 199 } |
| OLD | NEW |