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("//build/config/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 | 7 |
8 declare_args() { | 8 declare_args() { |
9 # Select platforms automatically. Turn this off for manual control. | 9 # Select platforms automatically. Turn this off for manual control. |
10 ozone_auto_platforms = use_ozone | 10 ozone_auto_platforms = use_ozone |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
43 # TODO(halliwell): Create a libcast_graphics implementation for desktop | 43 # TODO(halliwell): Create a libcast_graphics implementation for desktop |
44 # using X11, and disable this platform. | 44 # using X11, and disable this platform. |
45 if (is_cast_desktop_build && !is_cast_audio_only) { | 45 if (is_cast_desktop_build && !is_cast_audio_only) { |
46 ozone_platform_x11 = true | 46 ozone_platform_x11 = true |
47 } else { | 47 } else { |
48 ozone_platform = "cast" | 48 ozone_platform = "cast" |
49 } | 49 } |
50 } else if (is_chromeos) { | 50 } else if (is_chromeos) { |
51 ozone_platform_gbm = true | 51 ozone_platform_gbm = true |
52 ozone_platform_x11 = true | 52 ozone_platform_x11 = true |
53 ozone_platform_wayland = true | |
fwang
2016/10/19 07:49:04
Per https://groups.google.com/a/chromium.org/d/msg
| |
53 } else { | 54 } else { |
54 # Build all platforms whose deps are in install-build-deps.sh. | 55 # Build all platforms whose deps are in install-build-deps.sh. |
55 # Only these platforms will be compile tested by buildbots. | 56 # Only these platforms will be compile tested by buildbots. |
56 ozone_platform_x11 = true | 57 ozone_platform_x11 = true |
57 } | 58 } |
58 } | 59 } |
59 } | 60 } |
60 | 61 |
61 assert(use_ozone || !(ozone_platform_caca || ozone_platform_cast || | 62 assert(use_ozone || !(ozone_platform_caca || ozone_platform_cast || |
62 ozone_platform_gbm || ozone_platform_headless || | 63 ozone_platform_gbm || ozone_platform_headless || |
63 ozone_platform_x11 || ozone_platform_wayland), | 64 ozone_platform_x11 || ozone_platform_wayland), |
64 "Must set use_ozone to select ozone platforms") | 65 "Must set use_ozone to select ozone platforms") |
OLD | NEW |