Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Unified Diff: ios/chrome/search_widget_extension/BUILD.gn

Issue 2858253002: Adding search widget UI and functionality. (Closed)
Patch Set: comment and naming Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/chrome/search_widget_extension/resources/quick_action_camera_search.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/search_widget_extension/BUILD.gn
diff --git a/ios/chrome/search_widget_extension/BUILD.gn b/ios/chrome/search_widget_extension/BUILD.gn
index 4b632490e6e12e935e5972a5968cc2eb6ea1639e..10b0177a4bf09204bc28bf161af57c7bda032204 100644
--- a/ios/chrome/search_widget_extension/BUILD.gn
+++ b/ios/chrome/search_widget_extension/BUILD.gn
@@ -40,9 +40,12 @@ source_set("search_widget") {
"search_widget_view.mm",
"search_widget_view_controller.h",
"search_widget_view_controller.mm",
+ "ui_util.h",
+ "ui_util.mm",
]
deps = [
+ ":resources",
"//base",
"//components/open_from_clipboard:open_from_clipboard_impl",
"//ios/chrome/common/app_group",
@@ -68,3 +71,24 @@ source_set("unit_tests") {
]
configs += [ "//build/config/compiler:enable_arc" ]
}
+
+bundle_data("resources") {
+ visibility = [ ":*" ]
+ sources = [
+ "resources/quick_action_camera_search.png",
+ "resources/quick_action_camera_search@2x.png",
+ "resources/quick_action_camera_search@3x.png",
+ "resources/quick_action_incognito_search.png",
+ "resources/quick_action_incognito_search@2x.png",
+ "resources/quick_action_incognito_search@3x.png",
+ "resources/quick_action_search.png",
+ "resources/quick_action_search@2x.png",
+ "resources/quick_action_search@3x.png",
+ "resources/quick_action_voice_search.png",
+ "resources/quick_action_voice_search@2x.png",
+ "resources/quick_action_voice_search@3x.png",
+ ]
+ outputs = [
+ "{{bundle_resources_dir}}/{{source_file_part}}",
+ ]
+}
« no previous file with comments | « no previous file | ios/chrome/search_widget_extension/resources/quick_action_camera_search.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698