chromium/ios/chrome/browser/shared/public/features/BUILD.gn

# Copyright 2023 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("features") {
  sources = [
    "features.h",
    "features.mm",
  ]
  deps = [
    "//components/country_codes",
    "//components/version_info:channel",
    "//ios/chrome/app:background_mode_buildflags",
    "//ios/chrome/browser/ntp/ui_bundled/feed_top_section:constants",
    "//ios/chrome/common",
    "//ui/base",
  ]
  public_deps = [ "//base" ]
}

source_set("features_utils") {
  sources = [
    "features_utils.h",
    "features_utils.mm",
  ]
  deps = [
    ":features",
    "//base",
    "//ios/public/provider/chrome/browser/raccoon:raccoon_api",
  ]
}

source_set("system_flags") {
  sources = [
    "system_flags.h",
    "system_flags.mm",
  ]
  deps = [
    "//base",
    "//build:branding_buildflags",
    "//components/autofill/core/common",
    "//components/password_manager/core/common:features",
    "//components/segmentation_platform/public",
    "//components/variations",
    "//ios/chrome/browser/browsing_data/model:feature_flags",
    "//ios/chrome/browser/flags:system_flags",
    "//ios/chrome/browser/memory/model:features",
    "//ios/chrome/browser/safety_check/model:constants",
    "//ios/chrome/browser/shared/public/features",
  ]
}