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 # This file contains UI-related build flags (see features.gni for Chrome | 5 # This file contains UI-related build flags (see features.gni for Chrome |
6 # feature-related ones). These should theoretically be moved to the ui | 6 # feature-related ones). These should theoretically be moved to the ui |
7 # directory. | 7 # directory. |
8 # | 8 # |
9 # However, today we have many "bad" dependencies on some of these flags from, | 9 # However, today we have many "bad" dependencies on some of these flags from, |
10 # e.g. base, so they need to be global to match the GYP configuration. Also, | 10 # e.g. base, so they need to be global to match the GYP configuration. Also, |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 # Whether we should use GTKv3 instead of GTKv2. | 40 # Whether we should use GTKv3 instead of GTKv2. |
41 use_gtk3 = false | 41 use_gtk3 = false |
42 | 42 |
43 # Optional system libraries. | 43 # Optional system libraries. |
44 use_xkbcommon = false | 44 use_xkbcommon = false |
45 | 45 |
46 # Whether we should use glib, a low level C utility library. | 46 # Whether we should use glib, a low level C utility library. |
47 use_glib = is_linux | 47 use_glib = is_linux |
48 | 48 |
| 49 # Indicates if material design elements in the top chrome of the browser are |
| 50 # enabled. |
| 51 enable_topchrome_md = is_chromeos || is_win || is_linux || is_mac |
| 52 |
49 # Indicates if Wayland display server support is enabled. | 53 # Indicates if Wayland display server support is enabled. |
50 enable_wayland_server = is_chromeos | 54 enable_wayland_server = is_chromeos |
51 | 55 |
52 # Enable experimental vulkan backend. | 56 # Enable experimental vulkan backend. |
53 enable_vulkan = false | 57 enable_vulkan = false |
54 } | 58 } |
55 | 59 |
56 # Additional dependent variables ----------------------------------------------- | 60 # Additional dependent variables ----------------------------------------------- |
57 # | 61 # |
58 # These variables depend on other variables and can't be set externally. | 62 # These variables depend on other variables and can't be set externally. |
(...skipping 17 matching lines...) Expand all Loading... |
76 use_pango = true | 80 use_pango = true |
77 } else { | 81 } else { |
78 use_cairo = false | 82 use_cairo = false |
79 use_pango = false | 83 use_pango = false |
80 } | 84 } |
81 | 85 |
82 # Whether to use atk, the Accessibility ToolKit library | 86 # Whether to use atk, the Accessibility ToolKit library |
83 use_atk = is_desktop_linux && use_x11 | 87 use_atk = is_desktop_linux && use_x11 |
84 | 88 |
85 use_clipboard_aurax11 = is_linux && use_aura && use_x11 | 89 use_clipboard_aurax11 = is_linux && use_aura && use_x11 |
OLD | NEW |