Chromium Code Reviews| Index: components/translate/core/browser/BUILD.gn |
| diff --git a/components/translate/core/browser/BUILD.gn b/components/translate/core/browser/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..32c8c9f758020c881da3858b4c6dd9831857fcb1 |
| --- /dev/null |
| +++ b/components/translate/core/browser/BUILD.gn |
| @@ -0,0 +1,49 @@ |
| +# Copyright 2014 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +static_library("browser") { |
| + sources = [ |
| + "language_state.cc", |
| + "language_state.h", |
| + "page_translated_details.h", |
| + "translate_accept_languages.cc", |
| + "translate_accept_languages.h", |
| + "translate_browser_metrics.cc", |
| + "translate_browser_metrics.h", |
| + "translate_client.h", |
| + "translate_download_manager.cc", |
| + "translate_download_manager.h", |
| + "translate_driver.h", |
| + "translate_error_details.h", |
| + "translate_event_details.cc", |
| + "translate_event_details.h", |
| + "translate_language_list.cc", |
| + "translate_language_list.h", |
| + "translate_prefs.cc", |
| + "translate_prefs.h", |
| + "translate_script.cc", |
| + "translate_script.h", |
| + "translate_url_fetcher.cc", |
| + "translate_url_fetcher.h", |
| + "translate_url_util.cc", |
| + "translate_url_util.h", |
| + ] |
| + |
| + deps = [ |
| + "//base", |
| + "//components/language_usage_metrics", |
| + "//components/resources:components_resources", |
| + "//components/translate/core/common", |
| + "//url", |
| + ] |
| + if (!is_android) { |
| + # TODO(brettw) move thise above. This project uses net headers. This is |
|
jamesr
2014/07/09 22:21:57
s/thise/these/
why not -= these out like we do in
brettw
2014/07/10 18:18:58
Actually, I think this should work on Android now
|
| + # excluded for Android since net doesn't work in the GN build at the time |
| + # of this writing. |
| + deps += [ |
| + "//net", |
| + "//ui/base", |
| + ] |
| + } |
| +} |