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

Side by Side Diff: ios/web_view/BUILD.gn

Issue 2745653010: Create ChromeWebView Framework. (Closed)
Patch Set: Respond to comments. Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | ios/web_view/Info.plist » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # Public target that should be used to depend on web_view. Only give access 5 import("//build/config/ios/ios_sdk.gni")
6 # to the web_view public headers while still linking with the implementation. 6 import("//build/config/ios/rules.gni")
7 group("web_view") { 7 import("//tools/grit/repack.gni")
8
9 config("config") {
10 include_dirs = [
11 "internal",
12 "public",
13 ]
14 }
15
16 ios_framework_bundle("web_view") {
17 output_name = "ChromeWebView"
18 info_plist = "Info.plist"
19
20 sources = [
21 "public/cwv.h",
22 ]
23
24 public_headers = [
25 "public/criwv_translate_manager.h",
26 "public/cwv.h",
27 "public/cwv_delegate.h",
28 "public/cwv_html_element.h",
29 "public/cwv_navigation_delegate.h",
30 "public/cwv_translate_delegate.h",
31 "public/cwv_ui_delegate.h",
32 "public/cwv_web_view.h",
33 "public/cwv_web_view_configuration.h",
34 "public/cwv_website_data_store.h",
35 ]
36
37 deps = [
38 ":packed_resources",
39 "//base",
40 "//components/infobars/core",
41 "//components/keyed_service/core",
42 "//components/keyed_service/ios",
43 "//components/pref_registry",
44 "//components/prefs",
45 "//components/translate/core/browser",
46 "//components/translate/core/common",
47 "//components/translate/ios/browser",
48 "//ios/net",
49 "//ios/web",
50 "//ios/web:user_agent",
51 "//ios/web/public/app",
52 "//ios/web_view/internal",
53 "//net",
54 "//net:extras",
55 "//ui/base",
56 "//url",
57 ]
58
8 public_deps = [ 59 public_deps = [
9 "//ios/web_view/public", 60 "//ios/web_view/public",
10 ] 61 ]
62
63 libs = [ "UIKit.framework" ]
64
65 public_configs = [ ":config" ]
66
67 configs += [ "//build/config/compiler:enable_arc" ]
68 }
69
70 repack("repack_resources") {
71 visibility = [ ":packed_resources" ]
11 deps = [ 72 deps = [
12 "//ios/web_view/internal", 73 "//components/resources:components_resources",
74 "//ios/web:resources",
75 ]
76 sources = [
77 "$root_gen_dir/components/components_resources.pak",
78 "$root_gen_dir/ios/web/ios_web_resources.pak",
79 ]
80 output = "$target_gen_dir/web_view_resources.pak"
81 }
82
83 bundle_data("packed_resources") {
84 visibility = [ "//ios/web_view:*" ]
85 public_deps = [
86 ":repack_resources",
87 ]
88 sources = [
89 "$target_gen_dir/web_view_resources.pak",
90 ]
91 outputs = [
92 "{{bundle_resources_dir}}/{{source_file_part}}",
13 ] 93 ]
14 } 94 }
OLDNEW
« no previous file with comments | « no previous file | ios/web_view/Info.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698