OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # This file contains UI-related build flags. It should theoretically be in the |
| 6 # src/ui directory and only things that depend on the ui module should get the |
| 7 # definitions. |
| 8 # |
| 9 # However, today we have many "bad" dependencies on some of these flags from, |
| 10 # e.g. base, so they need to be global. |
| 11 # |
| 12 # See also build/config/features.gni |
| 13 |
| 14 declare_args() { |
| 15 # Indicates if Ozone is enabled. Ozone is a low-level library layer for Linux |
| 16 # that does not require X11. |
| 17 use_ozone = false |
| 18 } |
| 19 |
| 20 # Additional dependent variables ----------------------------------------------- |
| 21 # |
| 22 # These variables depend on other variables and can't be set externally. |
| 23 |
| 24 # Indicates if the UI toolkit depends on X11. |
| 25 use_x11 = is_linux && !use_ozone |
| 26 |
| 27 use_ozone_evdev = use_ozone |
OLD | NEW |