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# ============================================= 6# PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 7# ============================================= 8# 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 11# legacy global #defines passed to the compiler (now replaced with generated 12# buildflag headers -- see //build/buildflag_header.gni). 13# 14# There is more advice on where to put build flags in the "Build flag" section 15# of //build/config/BUILDCONFIG.gn. 16 17if (is_ohos) { 18 import("//build/config/ohos/config.gni") 19} 20 21declare_args() { 22 # libudev usage. This currently only affects the content layer. 23 use_udev = is_linux 24 25 use_dbus = is_linux 26 27 use_gio = is_linux 28} 29