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

Side by Side Diff: build/config/ui.gni

Issue 2815453004: For building v8 using gn on aix_ppc64, linux_s390x and linux_ppc64. (Closed)
Patch Set: rebased, addressed reviews, added host_byteorder.gni. Created 3 years, 8 months 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
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 # ============================================= 5 # =============================================
6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
7 # ============================================= 7 # =============================================
8 # 8 #
9 # These flags are effectively global. Your feature flag should go near the 9 # These flags are effectively global. Your feature flag should go near the
10 # code it controls. Most of these items are here now because they control 10 # code it controls. Most of these items are here now because they control
(...skipping 16 matching lines...) Expand all
27 # Indicates if Ozone is enabled. Ozone is a low-level library layer for Linux 27 # Indicates if Ozone is enabled. Ozone is a low-level library layer for Linux
28 # that does not require X11. Enabling this feature disables use of glib, x11, 28 # that does not require X11. Enabling this feature disables use of glib, x11,
29 # Pango, and Cairo. Default to false on non-Chromecast builds. 29 # Pango, and Cairo. Default to false on non-Chromecast builds.
30 use_ozone = is_chromecast && !is_android 30 use_ozone = is_chromecast && !is_android
31 31
32 # Indicates if Aura is enabled. Aura is a low-level windowing library, sort 32 # Indicates if Aura is enabled. Aura is a low-level windowing library, sort
33 # of a replacement for GDI or GTK. 33 # of a replacement for GDI or GTK.
34 use_aura = is_win || is_linux 34 use_aura = is_win || is_linux
35 35
36 # Whether we should use glib, a low level C utility library. 36 # Whether we should use glib, a low level C utility library.
37 use_glib = is_linux 37 use_glib = is_linux && (current_cpu != "s390x" && current_cpu != "s390" &&
38 current_cpu != "ppc64" && current_cpu != "ppc")
Dirk Pranke 2017/04/25 01:42:48 change to `is_linux && !is_power_or_z`, right?
rayb 2017/04/25 17:28:48 Done.
38 } 39 }
39 40
40 declare_args() { 41 declare_args() {
41 # True means the UI is built using the "views" framework. 42 # True means the UI is built using the "views" framework.
42 toolkit_views = 43 toolkit_views =
43 (is_mac || is_win || is_chromeos || use_aura) && !is_chromecast 44 (is_mac || is_win || is_chromeos || use_aura) && !is_chromecast
44 } 45 }
45 46
46 # Additional dependent variables ----------------------------------------------- 47 # Additional dependent variables -----------------------------------------------
47 # 48 #
(...skipping 15 matching lines...) Expand all
63 use_pango = false 64 use_pango = false
64 } 65 }
65 66
66 # Whether to use atk, the Accessibility ToolKit library 67 # Whether to use atk, the Accessibility ToolKit library
67 use_atk = is_desktop_linux && use_x11 68 use_atk = is_desktop_linux && use_x11
68 # ============================================= 69 # =============================================
69 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 70 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
70 # ============================================= 71 # =============================================
71 # 72 #
72 # See comment at the top. 73 # See comment at the top.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698