OLD | NEW |
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 # These variables are used to share framework sources with both ChromeWebView | 19 # These variables are used to share framework sources with both ChromeWebView |
20 # and CrNetChromeWebView frameworks. | 20 # and CrNetChromeWebView frameworks. |
21 ios_web_view_public_headers = [ | 21 ios_web_view_public_headers = [ |
22 "public/ChromeWebView.h", | 22 "public/ChromeWebView.h", |
23 "public/cwv_export.h", | 23 "public/cwv_export.h", |
24 "public/cwv_html_element.h", | 24 "public/cwv_html_element.h", |
25 "public/cwv_navigation_action.h", | 25 "public/cwv_navigation_action.h", |
26 "public/cwv_navigation_delegate.h", | 26 "public/cwv_navigation_delegate.h", |
| 27 "public/cwv_scroll_view.h", |
| 28 "public/cwv_scroll_view_delegate.h", |
27 "public/cwv_translate_delegate.h", | 29 "public/cwv_translate_delegate.h", |
28 "public/cwv_translate_manager.h", | 30 "public/cwv_translate_manager.h", |
29 "public/cwv_ui_delegate.h", | 31 "public/cwv_ui_delegate.h", |
30 "public/cwv_user_content_controller.h", | 32 "public/cwv_user_content_controller.h", |
31 "public/cwv_user_script.h", | 33 "public/cwv_user_script.h", |
32 "public/cwv_web_view.h", | 34 "public/cwv_web_view.h", |
33 "public/cwv_web_view_configuration.h", | 35 "public/cwv_web_view_configuration.h", |
34 ] | 36 ] |
35 | 37 |
36 ios_web_view_sources = [ | 38 ios_web_view_sources = [ |
37 "internal/cwv_html_element.mm", | 39 "internal/cwv_html_element.mm", |
38 "internal/cwv_html_element_internal.h", | 40 "internal/cwv_html_element_internal.h", |
39 "internal/cwv_navigation_action.mm", | 41 "internal/cwv_navigation_action.mm", |
40 "internal/cwv_navigation_action_internal.h", | 42 "internal/cwv_navigation_action_internal.h", |
| 43 "internal/cwv_scroll_view.mm", |
| 44 "internal/cwv_scroll_view_internal.h", |
41 "internal/cwv_user_content_controller.mm", | 45 "internal/cwv_user_content_controller.mm", |
42 "internal/cwv_user_content_controller_internal.h", | 46 "internal/cwv_user_content_controller_internal.h", |
43 "internal/cwv_user_script.mm", | 47 "internal/cwv_user_script.mm", |
44 "internal/cwv_web_view.mm", | 48 "internal/cwv_web_view.mm", |
45 "internal/cwv_web_view_configuration.mm", | 49 "internal/cwv_web_view_configuration.mm", |
46 "internal/cwv_web_view_configuration_internal.h", | 50 "internal/cwv_web_view_configuration_internal.h", |
47 "internal/pref_names.cc", | 51 "internal/pref_names.cc", |
48 "internal/pref_names.h", | 52 "internal/pref_names.h", |
49 "internal/translate/cwv_translate_manager_impl.h", | 53 "internal/translate/cwv_translate_manager_impl.h", |
50 "internal/translate/cwv_translate_manager_impl.mm", | 54 "internal/translate/cwv_translate_manager_impl.mm", |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 ] | 189 ] |
186 args = [ | 190 args = [ |
187 "license_file", | 191 "license_file", |
188 rebase_path(_license_path, root_build_dir), | 192 rebase_path(_license_path, root_build_dir), |
189 "--gn-target", | 193 "--gn-target", |
190 "//ios/web_view", | 194 "//ios/web_view", |
191 "--gn-out-dir", | 195 "--gn-out-dir", |
192 ".", | 196 ".", |
193 ] | 197 ] |
194 } | 198 } |
OLD | NEW |