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" ] |
(...skipping 12 matching lines...) Expand all Loading... |
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_language_detection_result.h", | 25 "public/cwv_language_detection_result.h", |
26 "public/cwv_navigation_action.h", | 26 "public/cwv_navigation_action.h", |
27 "public/cwv_navigation_delegate.h", | 27 "public/cwv_navigation_delegate.h", |
28 "public/cwv_scroll_view.h", | 28 "public/cwv_scroll_view.h", |
29 "public/cwv_scroll_view_delegate.h", | 29 "public/cwv_scroll_view_delegate.h", |
30 "public/cwv_translation_controller.h", | 30 "public/cwv_translation_controller.h", |
31 "public/cwv_translation_controller_delegate.h", | 31 "public/cwv_translation_controller_delegate.h", |
32 "public/cwv_translation_language.h", | 32 "public/cwv_translation_language.h", |
| 33 "public/cwv_translation_policy.h", |
33 "public/cwv_ui_delegate.h", | 34 "public/cwv_ui_delegate.h", |
34 "public/cwv_user_content_controller.h", | 35 "public/cwv_user_content_controller.h", |
35 "public/cwv_user_script.h", | 36 "public/cwv_user_script.h", |
36 "public/cwv_web_view.h", | 37 "public/cwv_web_view.h", |
37 "public/cwv_web_view_configuration.h", | 38 "public/cwv_web_view_configuration.h", |
38 ] | 39 ] |
39 | 40 |
40 ios_web_view_sources = [ | 41 ios_web_view_sources = [ |
41 "internal/cwv_html_element.mm", | 42 "internal/cwv_html_element.mm", |
42 "internal/cwv_html_element_internal.h", | 43 "internal/cwv_html_element_internal.h", |
43 "internal/cwv_navigation_action.mm", | 44 "internal/cwv_navigation_action.mm", |
44 "internal/cwv_navigation_action_internal.h", | 45 "internal/cwv_navigation_action_internal.h", |
45 "internal/cwv_scroll_view.mm", | 46 "internal/cwv_scroll_view.mm", |
46 "internal/cwv_scroll_view_internal.h", | 47 "internal/cwv_scroll_view_internal.h", |
47 "internal/cwv_user_content_controller.mm", | 48 "internal/cwv_user_content_controller.mm", |
48 "internal/cwv_user_content_controller_internal.h", | 49 "internal/cwv_user_content_controller_internal.h", |
49 "internal/cwv_user_script.mm", | 50 "internal/cwv_user_script.mm", |
50 "internal/cwv_web_view.mm", | 51 "internal/cwv_web_view.mm", |
51 "internal/cwv_web_view_configuration.mm", | 52 "internal/cwv_web_view_configuration.mm", |
52 "internal/cwv_web_view_configuration_internal.h", | 53 "internal/cwv_web_view_configuration_internal.h", |
53 "internal/pref_names.cc", | 54 "internal/pref_names.cc", |
54 "internal/pref_names.h", | 55 "internal/pref_names.h", |
55 "internal/translate/cwv_language_detection_result_internal.h", | 56 "internal/translate/cwv_language_detection_result_internal.h", |
56 "internal/translate/cwv_language_detection_result.mm", | 57 "internal/translate/cwv_language_detection_result.mm", |
57 "internal/translate/cwv_translation_controller.mm", | 58 "internal/translate/cwv_translation_controller.mm", |
58 "internal/translate/cwv_translation_controller_internal.h", | 59 "internal/translate/cwv_translation_controller_internal.h", |
59 "internal/translate/cwv_translation_language_internal.h", | 60 "internal/translate/cwv_translation_language_internal.h", |
60 "internal/translate/cwv_translation_language.mm", | 61 "internal/translate/cwv_translation_language.mm", |
| 62 "internal/translate/cwv_translation_policy.mm", |
61 "internal/translate/web_view_translate_accept_languages_factory.cc", | 63 "internal/translate/web_view_translate_accept_languages_factory.cc", |
62 "internal/translate/web_view_translate_accept_languages_factory.h", | 64 "internal/translate/web_view_translate_accept_languages_factory.h", |
63 "internal/translate/web_view_translate_client.h", | 65 "internal/translate/web_view_translate_client.h", |
64 "internal/translate/web_view_translate_client.mm", | 66 "internal/translate/web_view_translate_client.mm", |
65 "internal/translate/web_view_translate_ranker_factory.cc", | 67 "internal/translate/web_view_translate_ranker_factory.cc", |
66 "internal/translate/web_view_translate_ranker_factory.h", | 68 "internal/translate/web_view_translate_ranker_factory.h", |
67 "internal/web_view_browser_state.h", | 69 "internal/web_view_browser_state.h", |
68 "internal/web_view_browser_state.mm", | 70 "internal/web_view_browser_state.mm", |
69 "internal/web_view_early_page_script_provider.h", | 71 "internal/web_view_early_page_script_provider.h", |
70 "internal/web_view_early_page_script_provider.mm", | 72 "internal/web_view_early_page_script_provider.mm", |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 ] | 193 ] |
192 args = [ | 194 args = [ |
193 "license_file", | 195 "license_file", |
194 rebase_path(_license_path, root_build_dir), | 196 rebase_path(_license_path, root_build_dir), |
195 "--gn-target", | 197 "--gn-target", |
196 "//ios/web_view", | 198 "//ios/web_view", |
197 "--gn-out-dir", | 199 "--gn-out-dir", |
198 ".", | 200 ".", |
199 ] | 201 ] |
200 } | 202 } |
OLD | NEW |