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

Unified Diff: ios/web_view/shell/BUILD.gn

Issue 2653083002: Cleanup ios/web_view. (Closed)
Patch Set: Respond to more comments. Created 3 years, 11 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 | « ios/web_view/public/criwv_web_view_delegate.h ('k') | ios/web_view/shell/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/shell/BUILD.gn
diff --git a/ios/web_view/shell/BUILD.gn b/ios/web_view/shell/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..9683ad8ec0dbcb02df0cde4d148a8c33aa7bc8e1
--- /dev/null
+++ b/ios/web_view/shell/BUILD.gn
@@ -0,0 +1,81 @@
+# 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.
+
+import("//tools/grit/repack.gni")
+import("//build/config/ios/rules.gni")
+
+ios_app_bundle("ios_web_view_shell") {
+ deps = [
+ "//base",
+ "//ios/web_view",
+ ]
+ bundle_deps = [
+ ":resources",
+ ":packed_resources",
+ ]
+ info_plist = "Info.plist"
+ sources = [
+ "shell_app_delegate.h",
+ "shell_app_delegate.mm",
+ "shell_delegate.h",
+ "shell_delegate.mm",
+ "shell_exe_main.mm",
+ "shell_view_controller.h",
+ "shell_view_controller.mm",
+ "translate_controller.h",
+ "translate_controller.mm",
+ ]
+ libs = [
+ "CFNetwork.framework",
+ "CoreFoundation.framework",
+ "CoreGraphics.framework",
+ "CoreText.framework",
+ "Foundation.framework",
+ "ImageIO.framework",
+ "MobileCoreServices.framework",
+ "Security.framework",
+ "SystemConfiguration.framework",
+ "UIKit.framework",
+ "WebKit.framework",
+ "resolv",
+ ]
+}
+
+bundle_data("resources") {
+ visibility = [ ":ios_web_view_shell" ]
+ sources = [
+ "Default-568h@2x.png",
+ "textfield_background@2x.png",
+ "toolbar_back@2x.png",
+ "toolbar_forward@2x.png",
+ "toolbar_stop@2x.png",
+ ]
+ outputs = [
+ "{{bundle_resources_dir}}/{{source_file_part}}",
+ ]
+}
+
+repack("repack_resources") {
+ visibility = [ ":packed_resources" ]
+ deps = [
+ "//components/resources:components_resources",
+ ]
+ sources = [
+ "$root_gen_dir/components/components_resources.pak",
+ ]
+ output = "$target_gen_dir/web_view_resources.pak"
+}
+
+bundle_data("packed_resources") {
+ visibility = [ ":ios_web_view_shell" ]
+ public_deps = [
+ ":repack_resources",
+ ]
+ sources = [
+ "$target_gen_dir/web_view_resources.pak",
+ ]
+ outputs = [
+ "{{bundle_resources_dir}}/{{source_file_part}}",
+ ]
+}
« no previous file with comments | « ios/web_view/public/criwv_web_view_delegate.h ('k') | ios/web_view/shell/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698