| # Copyright 2020 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("menu") { |
| sources = [ |
| "action_factory+protected.h", |
| "action_factory.h", |
| "action_factory.mm", |
| "browser_action_factory.h", |
| "browser_action_factory.mm", |
| "menu_action_type.h", |
| "menu_histograms.h", |
| "menu_histograms.mm", |
| ] |
| configs += [ "//build/config/compiler:enable_arc" ] |
| deps = [ |
| "//base", |
| "//components/open_from_clipboard", |
| "//components/prefs", |
| "//components/search_engines", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/policy:policy_util", |
| "//ios/chrome/browser/search_engines", |
| "//ios/chrome/browser/shared/coordinator/scene:scene_state_browser_agent", |
| "//ios/chrome/browser/shared/coordinator/scene:scene_state_header", |
| "//ios/chrome/browser/shared/model/browser_state", |
| "//ios/chrome/browser/shared/model/prefs:pref_names", |
| "//ios/chrome/browser/shared/public/commands", |
| "//ios/chrome/browser/shared/public/features", |
| "//ios/chrome/browser/shared/ui/symbols", |
| "//ios/chrome/browser/shared/ui/util", |
| "//ios/chrome/browser/ui/incognito_reauth:incognito_reauth_scene_agent", |
| "//ios/chrome/browser/url_loading", |
| "//ios/chrome/browser/window_activities", |
| "//net", |
| "//ui/base", |
| "//url", |
| ] |
| } |
| |
| source_set("tab_context_menu_delegate") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| |
| sources = [ "tab_context_menu_delegate.h" ] |
| |
| deps = [ "//ios/chrome/browser/ui/sharing" ] |
| } |
| |
| source_set("unit_tests") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| testonly = true |
| sources = [ |
| "action_factory_unittest.mm", |
| "browser_action_factory_unittest.mm", |
| ] |
| deps = [ |
| ":menu", |
| "//base", |
| "//base/test:test_support", |
| "//components/policy/core/common:common_constants", |
| "//components/sync_preferences:test_support", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/policy:policy_util", |
| "//ios/chrome/browser/sessions:test_support", |
| "//ios/chrome/browser/shared/coordinator/scene:scene_state_browser_agent", |
| "//ios/chrome/browser/shared/coordinator/scene:scene_state_header", |
| "//ios/chrome/browser/shared/model/browser/test:test_support", |
| "//ios/chrome/browser/shared/model/browser_state:test_support", |
| "//ios/chrome/browser/shared/model/prefs:pref_names", |
| "//ios/chrome/browser/shared/public/commands", |
| "//ios/chrome/browser/shared/public/features", |
| "//ios/chrome/browser/shared/ui/symbols", |
| "//ios/chrome/browser/url_loading", |
| "//ios/chrome/browser/window_activities", |
| "//ios/web/public/test", |
| "//testing/gtest", |
| "//third_party/ocmock", |
| "//ui/base", |
| "//ui/base:test_support", |
| ] |
| } |