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 source_set("internal") { | 5 source_set("internal") { |
6 visibility = [ | 6 visibility = [ |
7 "//ios/web_view:*", | 7 "//ios/web_view:*", |
8 "//ios/web_view/internal/*", | 8 "//ios/web_view/internal/*", |
9 ] | 9 ] |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 "web_view_url_request_context_getter.mm", | 34 "web_view_url_request_context_getter.mm", |
35 "web_view_web_client.h", | 35 "web_view_web_client.h", |
36 "web_view_web_client.mm", | 36 "web_view_web_client.mm", |
37 "web_view_web_main_delegate.h", | 37 "web_view_web_main_delegate.h", |
38 "web_view_web_main_delegate.mm", | 38 "web_view_web_main_delegate.mm", |
39 "web_view_web_main_parts.h", | 39 "web_view_web_main_parts.h", |
40 "web_view_web_main_parts.mm", | 40 "web_view_web_main_parts.mm", |
41 "web_view_web_state_policy_decider.h", | 41 "web_view_web_state_policy_decider.h", |
42 "web_view_web_state_policy_decider.mm", | 42 "web_view_web_state_policy_decider.mm", |
43 ] | 43 ] |
| 44 |
| 45 # Let header files know that it is building ios/web_view library, not using |
| 46 # it. |
| 47 defines = [ "CWV_IMPLEMENTATION" ] |
| 48 |
44 deps = [ | 49 deps = [ |
45 "//base", | 50 "//base", |
46 "//components/pref_registry", | 51 "//components/pref_registry", |
47 "//components/prefs", | 52 "//components/prefs", |
48 "//components/translate/core/browser", | 53 "//components/translate/core/browser", |
49 "//components/translate/core/common", | 54 "//components/translate/core/common", |
50 "//ios/net", | 55 "//ios/net", |
51 "//ios/web", | 56 "//ios/web", |
52 "//ios/web:reload_type", | 57 "//ios/web:reload_type", |
53 "//ios/web:user_agent", | 58 "//ios/web:user_agent", |
54 "//ios/web/public/app", | 59 "//ios/web/public/app", |
55 "//ios/web_view/internal/translate", | 60 "//ios/web_view/internal/translate", |
56 "//ios/web_view/public", | 61 "//ios/web_view/public", |
57 "//net", | 62 "//net", |
58 "//net:extras", | 63 "//net:extras", |
59 "//ui/base", | 64 "//ui/base", |
60 "//url", | 65 "//url", |
61 ] | 66 ] |
62 | 67 |
63 allow_circular_includes_from = [ "//ios/web_view/internal/translate" ] | 68 allow_circular_includes_from = [ "//ios/web_view/internal/translate" ] |
64 | 69 |
65 configs += [ "//build/config/compiler:enable_arc" ] | 70 configs += [ "//build/config/compiler:enable_arc" ] |
66 } | 71 } |
OLD | NEW |