Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: components/translate/BUILD.gn

Issue 382663002: Add components and CLD to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/translate.gypi ('k') | components/translate/content/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/BUILD.gn
diff --git a/components/translate/BUILD.gn b/components/translate/BUILD.gn
deleted file mode 100644
index 8fb3512dc4aeb7d5c5380ec7ca1737aee9bc1f27..0000000000000000000000000000000000000000
--- a/components/translate/BUILD.gn
+++ /dev/null
@@ -1,72 +0,0 @@
-# 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("translate_core_browser") {
- sources = [
- "core/browser/language_state.cc",
- "core/browser/language_state.h",
- "core/browser/page_translated_details.h",
- "core/browser/translate_accept_languages.cc",
- "core/browser/translate_accept_languages.h",
- "core/browser/translate_browser_metrics.cc",
- "core/browser/translate_browser_metrics.h",
- "core/browser/translate_client.h",
- "core/browser/translate_download_manager.cc",
- "core/browser/translate_download_manager.h",
- "core/browser/translate_driver.h",
- "core/browser/translate_error_details.h",
- "core/browser/translate_event_details.cc",
- "core/browser/translate_event_details.h",
- "core/browser/translate_language_list.cc",
- "core/browser/translate_language_list.h",
- "core/browser/translate_prefs.cc",
- "core/browser/translate_prefs.h",
- "core/browser/translate_script.cc",
- "core/browser/translate_script.h",
- "core/browser/translate_url_fetcher.cc",
- "core/browser/translate_url_fetcher.h",
- "core/browser/translate_url_util.cc",
- "core/browser/translate_url_util.h",
- ]
-
- deps = [
- ":translate_core_common",
- "//base",
- "//components/language_usage_metrics",
- "//components/resources:components_resources",
- "//url",
- ]
- if (!is_android) {
- # TODO(brettw) move thise above. This project uses net headers. This is
- # excluded for Android since net doesn't work in the GN build at the time
- # of this writing.
- deps += [
- "//net",
- "//ui/base",
- ]
- }
-}
-
-static_library("translate_core_common") {
- sources = [
- "core/common/language_detection_details.cc",
- "core/common/language_detection_details.h",
- "core/common/translate_constants.cc",
- "core/common/translate_constants.h",
- "core/common/translate_errors.h",
- "core/common/translate_metrics.cc",
- "core/common/translate_metrics.h",
- "core/common/translate_pref_names.cc",
- "core/common/translate_pref_names.h",
- "core/common/translate_switches.cc",
- "core/common/translate_switches.h",
- "core/common/translate_util.cc",
- "core/common/translate_util.h",
- ]
-
- deps = [
- "//base",
- "//url",
- ]
-}
« no previous file with comments | « components/translate.gypi ('k') | components/translate/content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698