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

Unified Diff: components/translate.gypi

Issue 93603006: Move Translate-related files to components/translate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 6 years, 11 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/components_tests.gyp ('k') | components/translate/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate.gypi
diff --git a/components/translate.gypi b/components/translate.gypi
index 7c19fe81bdb0c505f11e71b113c76df0efb4a7dc..7c63eb9faaa11e5ef26e7f406a1e793b68eebc61 100644
--- a/components/translate.gypi
+++ b/components/translate.gypi
@@ -5,9 +5,10 @@
{
'targets': [
{
- 'target_name': 'translate_common',
+ 'target_name': 'translate_core_browser',
'type': 'static_library',
'dependencies': [
+ 'translate_core_common',
'../base/base.gyp:base',
'../url/url.gyp:url_lib',
],
@@ -15,21 +16,41 @@
'..',
],
'sources': [
- 'translate/common/translate_constants.cc',
- 'translate/common/translate_constants.h',
- 'translate/common/translate_metrics.cc',
- 'translate/common/translate_metrics.h',
- 'translate/common/translate_switches.cc',
- 'translate/common/translate_switches.h',
- 'translate/common/translate_util.cc',
- 'translate/common/translate_util.h',
+ 'translate/core/browser/page_translated_details.h',
+ 'translate/core/browser/translate_error_details.h',
+ 'translate/core/browser/translate_event_details.cc',
+ 'translate/core/browser/translate_event_details.h',
+ ],
+ },
+ {
+ 'target_name': 'translate_core_common',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../url/url.gyp:url_lib',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'translate/core/common/translate_constants.cc',
+ 'translate/core/common/translate_constants.h',
+ 'translate/core/common/translate_errors.h',
+ 'translate/core/common/translate_metrics.cc',
+ 'translate/core/common/translate_metrics.h',
+ 'translate/core/common/translate_switches.cc',
+ 'translate/core/common/translate_switches.h',
+ 'translate/core/common/translate_util.cc',
+ 'translate/core/common/translate_util.h',
+ 'translate/core/common/language_detection_details.cc',
+ 'translate/core/common/language_detection_details.h',
],
},
{
'target_name': 'translate_language_detection',
'type': 'static_library',
'dependencies': [
- 'translate_common',
+ 'translate_core_common',
'../base/base.gyp:base',
'../url/url.gyp:url_lib',
],
« no previous file with comments | « components/components_tests.gyp ('k') | components/translate/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698