OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 static_library("translate_core_browser") { | 5 source_set("translate_core_browser") { |
6 sources = [ | 6 sources = [ |
7 "core/browser/language_state.cc", | 7 "core/browser/language_state.cc", |
8 "core/browser/language_state.h", | 8 "core/browser/language_state.h", |
9 "core/browser/page_translated_details.h", | 9 "core/browser/page_translated_details.h", |
10 "core/browser/translate_accept_languages.cc", | 10 "core/browser/translate_accept_languages.cc", |
11 "core/browser/translate_accept_languages.h", | 11 "core/browser/translate_accept_languages.h", |
12 "core/browser/translate_browser_metrics.cc", | 12 "core/browser/translate_browser_metrics.cc", |
13 "core/browser/translate_browser_metrics.h", | 13 "core/browser/translate_browser_metrics.h", |
14 "core/browser/translate_client.h", | 14 "core/browser/translate_client.h", |
15 "core/browser/translate_download_manager.cc", | 15 "core/browser/translate_download_manager.cc", |
(...skipping 25 matching lines...) Expand all Loading... |
41 # TODO(brettw) move thise above. This project uses net headers. This is | 41 # TODO(brettw) move thise above. This project uses net headers. This is |
42 # excluded for Android since net doesn't work in the GN build at the time | 42 # excluded for Android since net doesn't work in the GN build at the time |
43 # of this writing. | 43 # of this writing. |
44 deps += [ | 44 deps += [ |
45 "//net", | 45 "//net", |
46 "//ui/base:ui_base", | 46 "//ui/base:ui_base", |
47 ] | 47 ] |
48 } | 48 } |
49 } | 49 } |
50 | 50 |
51 static_library("translate_core_common") { | 51 source_set("translate_core_common") { |
52 sources = [ | 52 sources = [ |
53 "core/common/language_detection_details.cc", | 53 "core/common/language_detection_details.cc", |
54 "core/common/language_detection_details.h", | 54 "core/common/language_detection_details.h", |
55 "core/common/translate_constants.cc", | 55 "core/common/translate_constants.cc", |
56 "core/common/translate_constants.h", | 56 "core/common/translate_constants.h", |
57 "core/common/translate_errors.h", | 57 "core/common/translate_errors.h", |
58 "core/common/translate_metrics.cc", | 58 "core/common/translate_metrics.cc", |
59 "core/common/translate_metrics.h", | 59 "core/common/translate_metrics.h", |
60 "core/common/translate_pref_names.cc", | 60 "core/common/translate_pref_names.cc", |
61 "core/common/translate_pref_names.h", | 61 "core/common/translate_pref_names.h", |
62 "core/common/translate_switches.cc", | 62 "core/common/translate_switches.cc", |
63 "core/common/translate_switches.h", | 63 "core/common/translate_switches.h", |
64 "core/common/translate_util.cc", | 64 "core/common/translate_util.cc", |
65 "core/common/translate_util.h", | 65 "core/common/translate_util.h", |
66 ] | 66 ] |
67 | 67 |
68 deps = [ | 68 deps = [ |
69 "//base", | 69 "//base", |
70 "//url", | 70 "//url", |
71 ] | 71 ] |
72 } | 72 } |
OLD | NEW |