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