mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
154 lines
4.6 KiB
Plaintext
154 lines
4.6 KiB
Plaintext
# Copyright 2016 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("popup_menu") {
|
|
configs += [ "//build/config/compiler:enable_arc" ]
|
|
sources = [
|
|
"popup_menu_coordinator.h",
|
|
"popup_menu_coordinator.mm",
|
|
"popup_menu_mediator.h",
|
|
"popup_menu_mediator.mm",
|
|
]
|
|
deps = [
|
|
":constants",
|
|
":popup_menu_ui",
|
|
"//base",
|
|
"//components/bookmarks/browser",
|
|
"//components/feature_engagement/public",
|
|
"//ios/chrome/app/strings",
|
|
"//ios/chrome/browser/bookmarks",
|
|
"//ios/chrome/browser/browser_state",
|
|
"//ios/chrome/browser/feature_engagement",
|
|
"//ios/chrome/browser/find_in_page",
|
|
"//ios/chrome/browser/reading_list",
|
|
"//ios/chrome/browser/ui",
|
|
"//ios/chrome/browser/ui/activity_services",
|
|
"//ios/chrome/browser/ui/bookmarks",
|
|
"//ios/chrome/browser/ui/bubble",
|
|
"//ios/chrome/browser/ui/commands",
|
|
"//ios/chrome/browser/ui/coordinators:chrome_coordinators",
|
|
"//ios/chrome/browser/ui/popup_menu/cells",
|
|
"//ios/chrome/browser/ui/popup_menu/public",
|
|
"//ios/chrome/browser/ui/presenters",
|
|
"//ios/chrome/browser/ui/reading_list",
|
|
"//ios/chrome/browser/ui/tools_menu/public",
|
|
"//ios/chrome/browser/ui/util",
|
|
"//ios/chrome/browser/web_state_list",
|
|
"//ios/public/provider/chrome/browser",
|
|
"//ios/public/provider/chrome/browser/user_feedback",
|
|
"//ios/web",
|
|
"//ui/base",
|
|
]
|
|
libs = [ "UIKit.framework" ]
|
|
}
|
|
|
|
source_set("popup_menu_ui") {
|
|
configs += [ "//build/config/compiler:enable_arc" ]
|
|
sources = [
|
|
"popup_menu_controller.h",
|
|
"popup_menu_controller.mm",
|
|
"popup_menu_presenter.h",
|
|
"popup_menu_presenter.mm",
|
|
"popup_menu_table_view_controller.h",
|
|
"popup_menu_table_view_controller.mm",
|
|
"popup_menu_table_view_controller_commands.h",
|
|
"popup_menu_view.h",
|
|
"popup_menu_view.mm",
|
|
"popup_menu_view_controller.h",
|
|
"popup_menu_view_controller.mm",
|
|
]
|
|
deps = [
|
|
":constants",
|
|
":flags",
|
|
"resources:popup_background",
|
|
"resources:popup_menu_add_bookmark",
|
|
"resources:popup_menu_bookmarks",
|
|
"resources:popup_menu_close_tab",
|
|
"resources:popup_menu_edit_bookmark",
|
|
"resources:popup_menu_find_in_page",
|
|
"resources:popup_menu_help",
|
|
"resources:popup_menu_history",
|
|
"resources:popup_menu_new_incognito_tab",
|
|
"resources:popup_menu_new_tab",
|
|
"resources:popup_menu_read_later",
|
|
"resources:popup_menu_reading_list",
|
|
"resources:popup_menu_recent_tabs",
|
|
"resources:popup_menu_reload",
|
|
"resources:popup_menu_report_an_issue",
|
|
"resources:popup_menu_request_desktop_site",
|
|
"resources:popup_menu_request_mobile_site",
|
|
"resources:popup_menu_settings",
|
|
"resources:popup_menu_site_information",
|
|
"resources:popup_menu_stop",
|
|
"//base",
|
|
"//ios/chrome/app/strings",
|
|
"//ios/chrome/browser/ui",
|
|
"//ios/chrome/browser/ui/commands",
|
|
"//ios/chrome/browser/ui/image_util",
|
|
"//ios/chrome/browser/ui/popup_menu/cells",
|
|
"//ios/chrome/browser/ui/popup_menu/public",
|
|
"//ios/chrome/browser/ui/presenters",
|
|
"//ios/chrome/browser/ui/resources:menu_shadow",
|
|
"//ios/chrome/browser/ui/table_view",
|
|
"//ios/chrome/browser/ui/table_view:styler",
|
|
"//ios/chrome/browser/ui/util",
|
|
"//ios/chrome/common",
|
|
"//ui/base",
|
|
]
|
|
libs = [
|
|
"QuartzCore.framework",
|
|
"UIKit.framework",
|
|
]
|
|
}
|
|
|
|
source_set("constants") {
|
|
configs += [ "//build/config/compiler:enable_arc" ]
|
|
sources = [
|
|
"popup_menu_constants.h",
|
|
"popup_menu_constants.mm",
|
|
]
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
|
|
sources = [
|
|
"popup_menu_mediator_unittest.mm",
|
|
]
|
|
deps = [
|
|
":popup_menu",
|
|
":popup_menu_ui",
|
|
"//base",
|
|
"//base/test:test_support",
|
|
"//components/feature_engagement/test:test_support",
|
|
"//components/reading_list/core",
|
|
"//ios/chrome/browser/browser_state:test_support",
|
|
"//ios/chrome/browser/ui/toolbar/test",
|
|
"//ios/chrome/browser/web_state_list",
|
|
"//ios/chrome/browser/web_state_list:test_support",
|
|
"//ios/chrome/test:test_support",
|
|
"//ios/public/provider/chrome/browser",
|
|
"//ios/public/provider/chrome/browser:test_support",
|
|
"//ios/public/provider/chrome/browser/user_feedback",
|
|
"//ios/web",
|
|
"//ios/web/public/test",
|
|
"//ios/web/public/test/fakes",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
"//third_party/ocmock",
|
|
]
|
|
configs += [ "//build/config/compiler:enable_arc" ]
|
|
}
|
|
|
|
source_set("flags") {
|
|
configs += [ "//build/config/compiler:enable_arc" ]
|
|
sources = [
|
|
"popup_menu_flags.h",
|
|
"popup_menu_flags.mm",
|
|
]
|
|
deps = [
|
|
"//base",
|
|
]
|
|
}
|