| # Copyright 2019 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("flags") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "about_flags.h", |
| "about_flags.mm", |
| "ios_chrome_flag_descriptions.cc", |
| "ios_chrome_flag_descriptions.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//components/autofill/core/common", |
| "//components/autofill/ios/browser", |
| "//components/dom_distiller/core", |
| "//components/feature_engagement/public", |
| "//components/flags_ui", |
| "//components/flags_ui:switches", |
| "//components/infobars/core:feature_flags", |
| "//components/invalidation/impl:feature_list", |
| "//components/ntp_tiles", |
| "//components/omnibox/browser", |
| "//components/omnibox/common", |
| "//components/password_manager/core/common", |
| "//components/payments/core", |
| "//components/policy:generated", |
| "//components/policy/core/common:common_constants", |
| "//components/safe_browsing/core:features", |
| "//components/search_provider_logos", |
| "//components/security_state/core", |
| "//components/send_tab_to_self", |
| "//components/signin/core/browser", |
| "//components/signin/ios/browser", |
| "//components/signin/public/base", |
| "//components/strings:components_strings", |
| "//components/sync/driver", |
| "//components/translate/core/browser", |
| "//components/ukm/ios:features", |
| "//components/unified_consent", |
| "//components/variations", |
| "//ios/chrome/app/strings:ios_strings", |
| "//ios/chrome/browser", |
| "//ios/chrome/browser/browsing_data:feature_flags", |
| "//ios/chrome/browser/crash_report", |
| "//ios/chrome/browser/crash_report/breadcrumbs:feature_flags", |
| "//ios/chrome/browser/drag_and_drop", |
| "//ios/chrome/browser/open_in:features", |
| "//ios/chrome/browser/policy:feature_flags", |
| "//ios/chrome/browser/ui:feature_flags", |
| "//ios/chrome/browser/ui/content_suggestions:feature_flags", |
| "//ios/chrome/browser/ui/download:features", |
| "//ios/chrome/browser/ui/fullscreen:feature_flags", |
| "//ios/chrome/browser/ui/infobars:feature_flags", |
| "//ios/chrome/browser/ui/page_info:features", |
| "//ios/chrome/browser/ui/screen_time:feature_flags", |
| "//ios/chrome/browser/ui/settings/autofill:feature_flags", |
| "//ios/chrome/browser/ui/tab_grid:features", |
| "//ios/chrome/browser/ui/table_view:feature_flags", |
| "//ios/chrome/browser/ui/toolbar/public:feature_flags", |
| "//ios/chrome/browser/ui/toolbar_container:feature_flags", |
| "//ios/chrome/browser/web:feature_flags", |
| "//ios/public/provider/chrome/browser", |
| "//ios/web/common", |
| "//ios/web/common:user_agent", |
| "//ios/web/common:web_view_creation_util", |
| "//ios/web/public", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ "about_flags_unittest.mm" ] |
| deps = [ |
| ":flags", |
| ":test_data", |
| "//base", |
| "//components/flags_ui", |
| "//components/flags_ui:test_support", |
| "//testing/gtest", |
| ] |
| } |
| |
| bundle_data("test_data") { |
| sources = [ |
| "//chrome/browser/flag-metadata.json", |
| "//chrome/browser/flag-never-expire-list.json", |
| ] |
| outputs = [ "{{bundle_resources_dir}}/{{source_root_relative_dir}}/{{source_file_part}}" ] |
| } |