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("translate") { | |
6 visibility = [ | |
7 "//ios/web_view", | |
8 "//ios/web_view/internal/*", | |
9 ] | |
10 | |
11 sources = [ | |
12 "cwv_translate_manager_impl.h", | |
13 "cwv_translate_manager_impl.mm", | |
14 "web_view_translate_accept_languages_factory.cc", | |
15 "web_view_translate_accept_languages_factory.h", | |
16 "web_view_translate_client.h", | |
17 "web_view_translate_client.mm", | |
18 ] | |
19 | |
20 # Let header files know that it is building ios/web_view library, not using | |
21 # it. | |
22 defines = [ "CWV_IMPLEMENTATION" ] | |
23 | |
24 deps = [ | |
25 "//base", | |
26 "//components/infobars/core", | |
27 "//components/keyed_service/core", | |
28 "//components/keyed_service/ios", | |
29 "//components/prefs", | |
30 "//components/translate/core/browser", | |
31 "//components/translate/core/common", | |
32 "//components/translate/ios/browser", | |
33 "//ios/web", | |
34 "//ios/web_view/public", | |
35 "//url", | |
36 ] | |
37 | |
38 configs += [ "//build/config/compiler:enable_arc" ] | |
39 } | |
OLD | NEW |