15f9996aaSopenharmony_ci# Copyright 2014 The Chromium Authors. All rights reserved. 25f9996aaSopenharmony_ci# Use of this source code is governed by a BSD-style license that can be 35f9996aaSopenharmony_ci# found in the LICENSE file. 45f9996aaSopenharmony_ci 55f9996aaSopenharmony_ci# ============================================= 65f9996aaSopenharmony_ci# PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 75f9996aaSopenharmony_ci# ============================================= 85f9996aaSopenharmony_ci# 95f9996aaSopenharmony_ci# These flags are effectively global. Your feature flag should go near the 105f9996aaSopenharmony_ci# code it controls. Most of these items are here now because they control 115f9996aaSopenharmony_ci# legacy global #defines passed to the compiler (now replaced with generated 125f9996aaSopenharmony_ci# buildflag headers -- see //build/buildflag_header.gni). 135f9996aaSopenharmony_ci# 145f9996aaSopenharmony_ci# There is more advice on where to put build flags in the "Build flag" section 155f9996aaSopenharmony_ci# of //build/config/BUILDCONFIG.gn. 165f9996aaSopenharmony_ci 175f9996aaSopenharmony_ciif (is_ohos) { 185f9996aaSopenharmony_ci import("//build/config/ohos/config.gni") 195f9996aaSopenharmony_ci} 205f9996aaSopenharmony_ci 215f9996aaSopenharmony_cideclare_args() { 225f9996aaSopenharmony_ci # libudev usage. This currently only affects the content layer. 235f9996aaSopenharmony_ci use_udev = is_linux 245f9996aaSopenharmony_ci 255f9996aaSopenharmony_ci use_dbus = is_linux 265f9996aaSopenharmony_ci 275f9996aaSopenharmony_ci use_gio = is_linux 285f9996aaSopenharmony_ci} 29