| # Copyright 2018 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("public") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "popup_menu_long_press_delegate.h", |
| "popup_menu_ui_updating.h", |
| ] |
| deps = [ |
| "//base", |
| ] |
| libs = [ "UIKit.framework" ] |
| } |
| |
| source_set("popup_menu_ui") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "popup_menu_consumer.h", |
| "popup_menu_presenter.h", |
| "popup_menu_presenter.mm", |
| "popup_menu_presenter_delegate.h", |
| "popup_menu_table_view_controller.h", |
| "popup_menu_table_view_controller.mm", |
| "popup_menu_table_view_controller_delegate.h", |
| "popup_menu_view_controller.h", |
| "popup_menu_view_controller.mm", |
| "popup_menu_view_controller_delegate.h", |
| ] |
| deps = [ |
| ":ui_constants", |
| "//base", |
| "//ios/chrome/app/strings", |
| "//ios/chrome/browser/ui", |
| "//ios/chrome/browser/ui/image_util", |
| "//ios/chrome/browser/ui/popup_menu/public/", |
| "//ios/chrome/browser/ui/popup_menu/public/cells", |
| "//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("ui_constants") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| sources = [ |
| "popup_menu_ui_constants.h", |
| "popup_menu_ui_constants.mm", |
| ] |
| } |