OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 source_set("internal") { | |
6 visibility = [ | |
7 "//ios/web_view:*", | |
8 "//ios/web_view/internal/*", | |
9 ] | |
10 | |
11 sources = [ | |
12 "cwv.mm", | |
13 "cwv_html_element.mm", | |
14 "cwv_html_element_internal.h", | |
15 "cwv_navigation_action.mm", | |
16 "cwv_navigation_action_internal.h", | |
17 "cwv_user_content_controller.mm", | |
18 "cwv_user_content_controller_internal.h", | |
19 "cwv_user_script.mm", | |
20 "cwv_web_view.mm", | |
21 "cwv_web_view_configuration.mm", | |
22 "cwv_web_view_configuration_internal.h", | |
23 "pref_names.cc", | |
24 "pref_names.h", | |
25 "web_view_browser_state.h", | |
26 "web_view_browser_state.mm", | |
27 "web_view_early_page_script_provider.h", | |
28 "web_view_early_page_script_provider.mm", | |
29 "web_view_java_script_dialog_presenter.h", | |
30 "web_view_java_script_dialog_presenter.mm", | |
31 "web_view_network_delegate.cc", | |
32 "web_view_network_delegate.h", | |
33 "web_view_url_request_context_getter.h", | |
34 "web_view_url_request_context_getter.mm", | |
35 "web_view_web_client.h", | |
36 "web_view_web_client.mm", | |
37 "web_view_web_main_delegate.h", | |
38 "web_view_web_main_delegate.mm", | |
39 "web_view_web_main_parts.h", | |
40 "web_view_web_main_parts.mm", | |
41 "web_view_web_state_policy_decider.h", | |
42 "web_view_web_state_policy_decider.mm", | |
43 ] | |
44 | |
45 # Let header files know that it is building ios/web_view library, not using | |
46 # it. | |
47 defines = [ "CWV_IMPLEMENTATION" ] | |
48 | |
49 deps = [ | |
50 "//base", | |
51 "//components/pref_registry", | |
52 "//components/prefs", | |
53 "//components/translate/core/browser", | |
54 "//components/translate/core/common", | |
55 "//ios/net", | |
56 "//ios/web", | |
57 "//ios/web:reload_type", | |
58 "//ios/web:user_agent", | |
59 "//ios/web/public/app", | |
60 "//ios/web_view/internal/translate", | |
61 "//ios/web_view/public", | |
62 "//net", | |
63 "//net:extras", | |
64 "//ui/base", | |
65 "//url", | |
66 ] | |
67 | |
68 allow_circular_includes_from = [ "//ios/web_view/internal/translate" ] | |
69 | |
70 configs += [ "//build/config/compiler:enable_arc" ] | |
71 } | |
OLD | NEW |