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

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

Issue 2839093002: Implemented new Translate API for purely Objective-C clients. (Closed)
Patch Set: added TODO 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" ]
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_translate_delegate.h", 28 "public/cwv_translation_controller.h",
28 "public/cwv_translate_manager.h", 29 "public/cwv_translation_language.h",
29 "public/cwv_ui_delegate.h", 30 "public/cwv_ui_delegate.h",
30 "public/cwv_user_content_controller.h", 31 "public/cwv_user_content_controller.h",
31 "public/cwv_user_script.h", 32 "public/cwv_user_script.h",
32 "public/cwv_web_view.h", 33 "public/cwv_web_view.h",
33 "public/cwv_web_view_configuration.h", 34 "public/cwv_web_view_configuration.h",
34 ] 35 ]
35 36
36 ios_web_view_sources = [ 37 ios_web_view_sources = [
37 "internal/cwv_html_element.mm", 38 "internal/cwv_html_element.mm",
38 "internal/cwv_html_element_internal.h", 39 "internal/cwv_html_element_internal.h",
39 "internal/cwv_navigation_action.mm", 40 "internal/cwv_navigation_action.mm",
40 "internal/cwv_navigation_action_internal.h", 41 "internal/cwv_navigation_action_internal.h",
41 "internal/cwv_user_content_controller.mm", 42 "internal/cwv_user_content_controller.mm",
42 "internal/cwv_user_content_controller_internal.h", 43 "internal/cwv_user_content_controller_internal.h",
43 "internal/cwv_user_script.mm", 44 "internal/cwv_user_script.mm",
44 "internal/cwv_web_view.mm", 45 "internal/cwv_web_view.mm",
45 "internal/cwv_web_view_configuration.mm", 46 "internal/cwv_web_view_configuration.mm",
46 "internal/cwv_web_view_configuration_internal.h", 47 "internal/cwv_web_view_configuration_internal.h",
47 "internal/pref_names.cc", 48 "internal/pref_names.cc",
48 "internal/pref_names.h", 49 "internal/pref_names.h",
49 "internal/translate/cwv_translate_manager_impl.h", 50 "internal/translate/cwv_language_detection_result_internal.h",
50 "internal/translate/cwv_translate_manager_impl.mm", 51 "internal/translate/cwv_language_detection_result.mm",
52 "internal/translate/cwv_translation_controller.mm",
53 "internal/translate/cwv_translation_controller_internal.h",
54 "internal/translate/cwv_translation_language_internal.h",
55 "internal/translate/cwv_translation_language.mm",
51 "internal/translate/web_view_translate_accept_languages_factory.cc", 56 "internal/translate/web_view_translate_accept_languages_factory.cc",
52 "internal/translate/web_view_translate_accept_languages_factory.h", 57 "internal/translate/web_view_translate_accept_languages_factory.h",
53 "internal/translate/web_view_translate_client.h", 58 "internal/translate/web_view_translate_client.h",
54 "internal/translate/web_view_translate_client.mm", 59 "internal/translate/web_view_translate_client.mm",
55 "internal/translate/web_view_translate_ranker_factory.cc", 60 "internal/translate/web_view_translate_ranker_factory.cc",
56 "internal/translate/web_view_translate_ranker_factory.h", 61 "internal/translate/web_view_translate_ranker_factory.h",
57 "internal/web_view_browser_state.h", 62 "internal/web_view_browser_state.h",
58 "internal/web_view_browser_state.mm", 63 "internal/web_view_browser_state.mm",
59 "internal/web_view_early_page_script_provider.h", 64 "internal/web_view_early_page_script_provider.h",
60 "internal/web_view_early_page_script_provider.mm", 65 "internal/web_view_early_page_script_provider.mm",
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 ] 190 ]
186 args = [ 191 args = [
187 "license_file", 192 "license_file",
188 rebase_path(_license_path, root_build_dir), 193 rebase_path(_license_path, root_build_dir),
189 "--gn-target", 194 "--gn-target",
190 "//ios/web_view", 195 "//ios/web_view",
191 "--gn-out-dir", 196 "--gn-out-dir",
192 ".", 197 ".",
193 ] 198 ]
194 } 199 }
OLDNEW
« no previous file with comments | « no previous file | ios/web_view/internal/cwv_web_view.mm » ('j') | ios/web_view/internal/translate/cwv_language_detection_result.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698