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

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

Issue 1443073002: Add gn implementation of //ios/web/shell:ios_web_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@translate
Patch Set: Created 5 years, 1 month 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/public/app/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/shell/BUILD.gn
diff --git a/ios/web/shell/BUILD.gn b/ios/web/shell/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..3d9e9676eae9d2c263b19c6475719bc619c5400c
--- /dev/null
+++ b/ios/web/shell/BUILD.gn
@@ -0,0 +1,70 @@
+# Copyright 2015 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("//build/config/ios/rules.gni")
+
+ios_app("ios_web_shell") {
+ info_plist = "Info.plist"
+ app_name = "ios_web_shell"
+ entitlements_path = ""
+ code_signing_identity = ""
+
+ sources = [
+ "app_delegate.h",
+ "app_delegate.mm",
+ "shell_browser_state.h",
+ "shell_browser_state.mm",
+ "shell_main_delegate.h",
+ "shell_main_delegate.mm",
+ "shell_network_delegate.cc",
+ "shell_network_delegate.h",
+ "shell_url_request_context_getter.cc",
+ "shell_url_request_context_getter.h",
+ "shell_web_client.h",
+ "shell_web_client.mm",
+ "shell_web_main_parts.h",
+ "shell_web_main_parts.mm",
+ "view_controller.h",
+ "view_controller.mm",
+ "web_exe_main.mm",
+ ]
+
+ deps = [
+ "//base",
+ "//ios/web",
+ "//ios/web/public/app",
+ "//net",
+ "//net:extras",
+ "//ui/base",
+
+ # All shared libraries must have the sanitizer deps to properly link in
+ # asan mode (this target will be empty in other cases).
+ "//build/config/sanitizers:deps",
+ ]
+
+ ldflags = [
+ "-Xlinker",
+ "-objc_abi_version",
+ "-Xlinker",
+ "2",
+ ]
+
+ libs = [
+ "CoreGraphics.framework",
+ "CoreFoundation.framework",
+ "Foundation.framework",
+ "UIKit.framework",
+ ]
+
+ # TODO(crbug.com/546283): once gn supports bundle resources, add support for
+ # the following gyp code:
+ #
+ # 'mac_bundle_resources': [
+ # 'shell/Default.png',
+ # 'shell/MainView.xib',
+ # 'shell/textfield_background@2x.png',
+ # 'shell/toolbar_back@2x.png',
+ # 'shell/toolbar_forward@2x.png',
+ # ],
+}
« no previous file with comments | « ios/web/public/app/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698