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

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

Issue 2872083003: Added translation policy API. (Closed)
Patch Set: updated comments Created 3 years, 7 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" ]
(...skipping 12 matching lines...) Expand all
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698