Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Side by Side Diff: ui/ozone/BUILD.gn

Issue 2445323002: Ozone: Remove the caca platform from the tree (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ui/ozone/ozone.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 visibility = [ ":*" ] 11 visibility = [ ":*" ]
12 12
13 # The list of platforms that will be built. 13 # The list of platforms that will be built.
14 ozone_platforms = [] 14 ozone_platforms = []
15 15
16 # Extra dependencies to pull into ui/ozone for built platforms. 16 # Extra dependencies to pull into ui/ozone for built platforms.
17 ozone_platform_deps = [] 17 ozone_platform_deps = []
18 18
19 # Extra dependencies to pull into ozone_unittests for built platforms. 19 # Extra dependencies to pull into ozone_unittests for built platforms.
20 ozone_platform_test_deps = [] 20 ozone_platform_test_deps = []
21 21
22 if (ozone_platform_headless) { 22 if (ozone_platform_headless) {
23 ozone_platforms += [ "headless" ] 23 ozone_platforms += [ "headless" ]
24 ozone_platform_deps += [ "platform/headless" ] 24 ozone_platform_deps += [ "platform/headless" ]
25 } 25 }
26 26
27 if (ozone_platform_caca) {
28 ozone_platforms += [ "caca" ]
29 ozone_platform_deps += [ "platform/caca" ]
30 }
31
32 if (ozone_platform_gbm) { 27 if (ozone_platform_gbm) {
33 ozone_platforms += [ "gbm" ] 28 ozone_platforms += [ "gbm" ]
34 ozone_platform_deps += [ "platform/drm:gbm" ] 29 ozone_platform_deps += [ "platform/drm:gbm" ]
35 ozone_platform_test_deps += [ "platform/drm:gbm_unittests" ] 30 ozone_platform_test_deps += [ "platform/drm:gbm_unittests" ]
36 } 31 }
37 32
38 if (ozone_platform_cast) { 33 if (ozone_platform_cast) {
39 ozone_platforms += [ "cast" ] 34 ozone_platforms += [ "cast" ]
40 ozone_platform_deps += [ "platform/cast" ] 35 ozone_platform_deps += [ "platform/cast" ]
41 } 36 }
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 "//ui/gfx/geometry", 222 "//ui/gfx/geometry",
228 ] 223 ]
229 224
230 # Add tests of platform internals. 225 # Add tests of platform internals.
231 deps += ozone_platform_test_deps 226 deps += ozone_platform_test_deps
232 227
233 # Platform tests link ozone statically. Make sure we're not getting a 228 # Platform tests link ozone statically. Make sure we're not getting a
234 # 2nd copy of any code via the component. 229 # 2nd copy of any code via the component.
235 assert_no_deps = [ "//ui/ozone" ] 230 assert_no_deps = [ "//ui/ozone" ]
236 } 231 }
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/ozone.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698