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("//components/grpc_support/include/headers.gni") | 7 import("//components/grpc_support/include/headers.gni") |
8 import("//ios/build/config.gni") | 8 import("//ios/build/config.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 import("//tools/grit/repack.gni") | 10 import("//tools/grit/repack.gni") |
11 | 11 |
12 config("config") { | 12 config("config") { |
13 defines = [ "CWV_IMPLEMENTATION" ] | 13 defines = [ "CWV_IMPLEMENTATION" ] |
14 libs = [ | 14 libs = [ |
15 "CoreGraphics.framework", | 15 "CoreGraphics.framework", |
16 "Foundation.framework", | 16 "Foundation.framework", |
17 "MobileCoreServices.framework", | 17 "MobileCoreServices.framework", |
18 "UIKit.framework", | 18 "UIKit.framework", |
19 ] | 19 ] |
20 } | 20 } |
21 | 21 |
22 # These variables are used to share framework sources with both ChromeWebView | 22 # These variables are used to share framework sources with both ChromeWebView |
23 # and CrNetChromeWebView frameworks. | 23 # and CrNetChromeWebView frameworks. |
24 ios_web_view_public_headers = [ | 24 ios_web_view_public_headers = [ |
25 "public/ChromeWebView.h", | 25 "public/ChromeWebView.h", |
26 "public/cwv_export.h", | 26 "public/cwv_export.h", |
27 "public/cwv_html_element.h", | 27 "public/cwv_html_element.h", |
28 "public/cwv_navigation_action.h", | 28 "public/cwv_navigation_action.h", |
29 "public/cwv_navigation_delegate.h", | 29 "public/cwv_navigation_delegate.h", |
| 30 "public/cwv_preferences.h", |
30 "public/cwv_scroll_view.h", | 31 "public/cwv_scroll_view.h", |
31 "public/cwv_scroll_view_delegate.h", | 32 "public/cwv_scroll_view_delegate.h", |
32 "public/cwv_translation_controller.h", | 33 "public/cwv_translation_controller.h", |
33 "public/cwv_translation_controller_delegate.h", | 34 "public/cwv_translation_controller_delegate.h", |
34 "public/cwv_translation_language.h", | 35 "public/cwv_translation_language.h", |
35 "public/cwv_translation_policy.h", | 36 "public/cwv_translation_policy.h", |
36 "public/cwv_ui_delegate.h", | 37 "public/cwv_ui_delegate.h", |
37 "public/cwv_user_content_controller.h", | 38 "public/cwv_user_content_controller.h", |
38 "public/cwv_user_script.h", | 39 "public/cwv_user_script.h", |
39 "public/cwv_web_view.h", | 40 "public/cwv_web_view.h", |
40 "public/cwv_web_view_configuration.h", | 41 "public/cwv_web_view_configuration.h", |
41 ] | 42 ] |
42 | 43 |
43 ios_web_view_sources = [ | 44 ios_web_view_sources = [ |
44 "internal/app/application_context.cc", | 45 "internal/app/application_context.cc", |
45 "internal/app/application_context.h", | 46 "internal/app/application_context.h", |
46 "internal/app/web_view_io_thread.h", | 47 "internal/app/web_view_io_thread.h", |
47 "internal/app/web_view_io_thread.mm", | 48 "internal/app/web_view_io_thread.mm", |
48 "internal/cwv_html_element.mm", | 49 "internal/cwv_html_element.mm", |
49 "internal/cwv_html_element_internal.h", | 50 "internal/cwv_html_element_internal.h", |
50 "internal/cwv_navigation_action.mm", | 51 "internal/cwv_navigation_action.mm", |
51 "internal/cwv_navigation_action_internal.h", | 52 "internal/cwv_navigation_action_internal.h", |
| 53 "internal/cwv_preferences.mm", |
| 54 "internal/cwv_preferences_internal.h", |
52 "internal/cwv_scroll_view.mm", | 55 "internal/cwv_scroll_view.mm", |
53 "internal/cwv_scroll_view_internal.h", | 56 "internal/cwv_scroll_view_internal.h", |
54 "internal/cwv_user_content_controller.mm", | 57 "internal/cwv_user_content_controller.mm", |
55 "internal/cwv_user_content_controller_internal.h", | 58 "internal/cwv_user_content_controller_internal.h", |
56 "internal/cwv_user_script.mm", | 59 "internal/cwv_user_script.mm", |
57 "internal/cwv_web_view.mm", | 60 "internal/cwv_web_view.mm", |
58 "internal/cwv_web_view_configuration.mm", | 61 "internal/cwv_web_view_configuration.mm", |
59 "internal/cwv_web_view_configuration_internal.h", | 62 "internal/cwv_web_view_configuration_internal.h", |
60 "internal/pref_names.cc", | 63 "internal/pref_names.cc", |
61 "internal/pref_names.h", | 64 "internal/pref_names.h", |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 } | 295 } |
293 | 296 |
294 group("cronet_ios_web_view_package") { | 297 group("cronet_ios_web_view_package") { |
295 deps = [ | 298 deps = [ |
296 ":cronet_ios_web_view_dsym_archive", | 299 ":cronet_ios_web_view_dsym_archive", |
297 ":cronet_ios_web_view_generate_license", | 300 ":cronet_ios_web_view_generate_license", |
298 ":cronet_ios_web_view_package_copy", | 301 ":cronet_ios_web_view_package_copy", |
299 ] | 302 ] |
300 } | 303 } |
301 } | 304 } |
OLD | NEW |