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

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

Issue 2858253002: Adding search widget UI and functionality. (Closed)
Patch Set: 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
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..b6923b0046ee2b2cd264f9718500ffd3cca49184 100644
--- a/ios/chrome/search_widget_extension/BUILD.gn
+++ b/ios/chrome/search_widget_extension/BUILD.gn
@@ -43,6 +43,7 @@ source_set("search_widget") {
]
deps = [
+ ":resources",
"//base",
"//components/open_from_clipboard:open_from_clipboard_impl",
"//ios/chrome/common/app_group",
@@ -68,3 +69,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}}",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698