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

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

Issue 2791403005: Remove CWV class and move setting User Agent to CWVWebViewConfiguration. (Closed)
Patch Set: Created 3 years, 8 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
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 import("//build/config/ios/ios_sdk.gni") 5 import("//build/config/ios/ios_sdk.gni")
6 import("//build/config/ios/rules.gni") 6 import("//build/config/ios/rules.gni")
7 import("//tools/grit/repack.gni") 7 import("//tools/grit/repack.gni")
8 8
9 config("config") { 9 config("config") {
10 defines = [ "CWV_IMPLEMENTATION" ] 10 defines = [ "CWV_IMPLEMENTATION" ]
11 libs = [ 11 libs = [
12 "CoreGraphics.framework", 12 "CoreGraphics.framework",
13 "Foundation.framework", 13 "Foundation.framework",
14 "MobileCoreServices.framework", 14 "MobileCoreServices.framework",
15 "UIKit.framework", 15 "UIKit.framework",
16 ] 16 ]
17 } 17 }
18 18
19 ios_framework_bundle("web_view") { 19 ios_framework_bundle("web_view") {
20 output_name = "ChromeWebView" 20 output_name = "ChromeWebView"
21 info_plist = "Info.plist" 21 info_plist = "Info.plist"
22 22
23 public_headers = [ 23 public_headers = [
24 "public/ChromeWebView.h", 24 "public/ChromeWebView.h",
25 "public/cwv.h",
26 "public/cwv_export.h", 25 "public/cwv_export.h",
27 "public/cwv_html_element.h", 26 "public/cwv_html_element.h",
28 "public/cwv_navigation_action.h", 27 "public/cwv_navigation_action.h",
29 "public/cwv_navigation_delegate.h", 28 "public/cwv_navigation_delegate.h",
30 "public/cwv_translate_delegate.h", 29 "public/cwv_translate_delegate.h",
31 "public/cwv_translate_manager.h", 30 "public/cwv_translate_manager.h",
32 "public/cwv_ui_delegate.h", 31 "public/cwv_ui_delegate.h",
33 "public/cwv_user_content_controller.h", 32 "public/cwv_user_content_controller.h",
34 "public/cwv_user_script.h", 33 "public/cwv_user_script.h",
35 "public/cwv_web_view.h", 34 "public/cwv_web_view.h",
36 "public/cwv_web_view_configuration.h", 35 "public/cwv_web_view_configuration.h",
37 ] 36 ]
38 37
39 public = [ 38 public = [
40 "public/ChromeWebView.h", 39 "public/ChromeWebView.h",
41 ] 40 ]
42 41
43 sources = [ 42 sources = [
44 "internal/cwv.mm",
45 "internal/cwv_html_element.mm", 43 "internal/cwv_html_element.mm",
46 "internal/cwv_html_element_internal.h", 44 "internal/cwv_html_element_internal.h",
47 "internal/cwv_navigation_action.mm", 45 "internal/cwv_navigation_action.mm",
48 "internal/cwv_navigation_action_internal.h", 46 "internal/cwv_navigation_action_internal.h",
49 "internal/cwv_user_content_controller.mm", 47 "internal/cwv_user_content_controller.mm",
50 "internal/cwv_user_content_controller_internal.h", 48 "internal/cwv_user_content_controller_internal.h",
51 "internal/cwv_user_script.mm", 49 "internal/cwv_user_script.mm",
52 "internal/cwv_web_view.mm", 50 "internal/cwv_web_view.mm",
53 "internal/cwv_web_view_configuration.mm", 51 "internal/cwv_web_view_configuration.mm",
54 "internal/cwv_web_view_configuration_internal.h", 52 "internal/cwv_web_view_configuration_internal.h",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 public_deps = [ 130 public_deps = [
133 ":repack_resources", 131 ":repack_resources",
134 ] 132 ]
135 sources = [ 133 sources = [
136 "$target_gen_dir/web_view_resources.pak", 134 "$target_gen_dir/web_view_resources.pak",
137 ] 135 ]
138 outputs = [ 136 outputs = [
139 "{{bundle_resources_dir}}/{{source_file_part}}", 137 "{{bundle_resources_dir}}/{{source_file_part}}",
140 ] 138 ]
141 } 139 }
OLDNEW
« no previous file with comments | « no previous file | ios/web_view/internal/cwv.mm » ('j') | ios/web_view/internal/cwv_web_view_configuration.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698