features.gni 721 B

12345678910111213141516
  1. # Copyright 2016 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. # Features used by targets inside and outside of |url|.
  5. # For details see declare_args() in build/config/BUILDCONFIG.gn.
  6. declare_args() {
  7. # Enables the use of ICU alternatives in lieu of ICU for the target toolchain.
  8. # The flag is used for Cronet to reduce the size of the Cronet binary.
  9. use_platform_icu_alternatives = false
  10. }
  11. # Never use platform icu for host toolchain.
  12. # E.g. Don't apply this for host binaries when target_os = "android".
  13. use_platform_icu_alternatives =
  14. use_platform_icu_alternatives && current_toolchain == default_toolchain