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

Side by Side Diff: chrome/chrome_common.gypi

Issue 18911002: Move language detection to chrome/common/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 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 unified diff | Download patch
« no previous file with comments | « build/common.gypi ('k') | chrome/chrome_renderer.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'common', 8 'target_name': 'common',
9 'type': 'static_library', 9 'type': 'static_library',
10 'variables': { 10 'variables': {
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 'common/startup_metric_utils.cc', 434 'common/startup_metric_utils.cc',
435 'common/startup_metric_utils.h', 435 'common/startup_metric_utils.h',
436 'common/switch_utils.cc', 436 'common/switch_utils.cc',
437 'common/switch_utils.h', 437 'common/switch_utils.h',
438 'common/thumbnail_score.cc', 438 'common/thumbnail_score.cc',
439 'common/thumbnail_score.h', 439 'common/thumbnail_score.h',
440 'common/time_format.cc', 440 'common/time_format.cc',
441 'common/time_format.h', 441 'common/time_format.h',
442 'common/translate/language_detection_details.cc', 442 'common/translate/language_detection_details.cc',
443 'common/translate/language_detection_details.h', 443 'common/translate/language_detection_details.h',
444 'common/translate/language_detection_util.cc',
445 'common/translate/language_detection_util.h',
446 'common/translate/translate_common_metrics.cc',
447 'common/translate/translate_common_metrics.h',
444 'common/translate/translate_errors.h', 448 'common/translate/translate_errors.h',
445 'common/translate/translate_util.cc', 449 'common/translate/translate_util.cc',
446 'common/translate/translate_util.h', 450 'common/translate/translate_util.h',
447 'common/tts_messages.h', 451 'common/tts_messages.h',
448 'common/tts_utterance_request.cc', 452 'common/tts_utterance_request.cc',
449 'common/tts_utterance_request.h', 453 'common/tts_utterance_request.h',
450 'common/url_constants.cc', 454 'common/url_constants.cc',
451 'common/url_constants.h', 455 'common/url_constants.h',
452 'common/validation_message_messages.h', 456 'common/validation_message_messages.h',
453 'common/web_application_info.cc', 457 'common/web_application_info.cc',
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 ['exclude', '^common/spellcheck_'], 534 ['exclude', '^common/spellcheck_'],
531 ['exclude', '^common/validation_message_'], 535 ['exclude', '^common/validation_message_'],
532 ['exclude', '^common/web_apps\\.'], 536 ['exclude', '^common/web_apps\\.'],
533 # TODO(ios): Include files here as they are made to work; once 537 # TODO(ios): Include files here as they are made to work; once
534 # everything is online, remove everything below here and just 538 # everything is online, remove everything below here and just
535 # use the exclusions above. 539 # use the exclusions above.
536 ['exclude', '\\.(cc|mm)$'], 540 ['exclude', '\\.(cc|mm)$'],
537 ['include', '_ios\\.(cc|mm)$'], 541 ['include', '_ios\\.(cc|mm)$'],
538 ['include', '(^|/)ios/'], 542 ['include', '(^|/)ios/'],
539 ['include', '^common/chrome_version_info\\.cc$'], 543 ['include', '^common/chrome_version_info\\.cc$'],
544 ['include', '^common/translate'],
540 ['include', '^common/zip'], 545 ['include', '^common/zip'],
541 ], 546 ],
542 'include_dirs': [ 547 'include_dirs': [
543 '<(DEPTH)/breakpad/src', 548 '<(DEPTH)/breakpad/src',
544 ], 549 ],
545 }], 550 }],
546 ['OS=="android"', { 551 ['OS=="android"', {
547 'sources/': [ 552 'sources/': [
548 ['exclude', '^common/chrome_version_info_posix.cc'], 553 ['exclude', '^common/chrome_version_info_posix.cc'],
549 ['exclude', '^common/service_'], 554 ['exclude', '^common/service_'],
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 ['use_system_nspr==1', { 619 ['use_system_nspr==1', {
615 'dependencies': [ 620 'dependencies': [
616 '<(DEPTH)/base/third_party/nspr/nspr.gyp:nspr', 621 '<(DEPTH)/base/third_party/nspr/nspr.gyp:nspr',
617 ], 622 ],
618 }], 623 }],
619 ['enable_webrtc==0', { 624 ['enable_webrtc==0', {
620 'sources!': [ 625 'sources!': [
621 'common/media/webrtc_logging_messages.h', 626 'common/media/webrtc_logging_messages.h',
622 ] 627 ]
623 }], 628 }],
629 ['enable_language_detection==1', {
630 'dependencies': [
631 '../third_party/cld/cld.gyp:cld',
632 ],
633 }],
624 ], 634 ],
625 'target_conditions': [ 635 'target_conditions': [
626 ['OS == "ios"', { 636 ['OS == "ios"', {
627 'sources/': [ 637 'sources/': [
628 # Pull in specific Mac files for iOS (which have been filtered out 638 # Pull in specific Mac files for iOS (which have been filtered out
629 # by file name rules). 639 # by file name rules).
630 ['include', '^common/chrome_version_info_mac\\.mm$'], 640 ['include', '^common/chrome_version_info_mac\\.mm$'],
631 ['include', '^common/mac/nscoder_util\\.'], 641 ['include', '^common/mac/nscoder_util\\.'],
632 ], 642 ],
633 }], 643 }],
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 'common/metrics/proto/user_action_event.proto', 813 'common/metrics/proto/user_action_event.proto',
804 ], 814 ],
805 'variables': { 815 'variables': {
806 'proto_in_dir': 'common/metrics/proto', 816 'proto_in_dir': 'common/metrics/proto',
807 'proto_out_dir': 'chrome/common/metrics/proto', 817 'proto_out_dir': 'chrome/common/metrics/proto',
808 }, 818 },
809 'includes': [ '../build/protoc.gypi' ], 819 'includes': [ '../build/protoc.gypi' ],
810 }, 820 },
811 ], 821 ],
812 } 822 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | chrome/chrome_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698