OLD | NEW |
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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 'common/startup_metric_utils.cc', | 432 'common/startup_metric_utils.cc', |
433 'common/startup_metric_utils.h', | 433 'common/startup_metric_utils.h', |
434 'common/switch_utils.cc', | 434 'common/switch_utils.cc', |
435 'common/switch_utils.h', | 435 'common/switch_utils.h', |
436 'common/thumbnail_score.cc', | 436 'common/thumbnail_score.cc', |
437 'common/thumbnail_score.h', | 437 'common/thumbnail_score.h', |
438 'common/time_format.cc', | 438 'common/time_format.cc', |
439 'common/time_format.h', | 439 'common/time_format.h', |
440 'common/translate/language_detection_details.cc', | 440 'common/translate/language_detection_details.cc', |
441 'common/translate/language_detection_details.h', | 441 'common/translate/language_detection_details.h', |
| 442 'common/translate/language_detection_util.cc', |
| 443 'common/translate/language_detection_util.h', |
442 'common/translate/translate_errors.h', | 444 'common/translate/translate_errors.h', |
| 445 'common/translate/translate_helper_metrics.cc', |
| 446 'common/translate/translate_helper_metrics.h', |
443 'common/translate/translate_util.cc', | 447 'common/translate/translate_util.cc', |
444 'common/translate/translate_util.h', | 448 'common/translate/translate_util.h', |
445 'common/tts_messages.h', | 449 'common/tts_messages.h', |
446 'common/tts_utterance_request.cc', | 450 'common/tts_utterance_request.cc', |
447 'common/tts_utterance_request.h', | 451 'common/tts_utterance_request.h', |
448 'common/url_constants.cc', | 452 'common/url_constants.cc', |
449 'common/url_constants.h', | 453 'common/url_constants.h', |
450 'common/validation_message_messages.h', | 454 'common/validation_message_messages.h', |
451 'common/web_application_info.cc', | 455 'common/web_application_info.cc', |
452 'common/web_application_info.h', | 456 'common/web_application_info.h', |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 ['exclude', '^common/spellcheck_'], | 532 ['exclude', '^common/spellcheck_'], |
529 ['exclude', '^common/validation_message_'], | 533 ['exclude', '^common/validation_message_'], |
530 ['exclude', '^common/web_apps\\.'], | 534 ['exclude', '^common/web_apps\\.'], |
531 # TODO(ios): Include files here as they are made to work; once | 535 # TODO(ios): Include files here as they are made to work; once |
532 # everything is online, remove everything below here and just | 536 # everything is online, remove everything below here and just |
533 # use the exclusions above. | 537 # use the exclusions above. |
534 ['exclude', '\\.(cc|mm)$'], | 538 ['exclude', '\\.(cc|mm)$'], |
535 ['include', '_ios\\.(cc|mm)$'], | 539 ['include', '_ios\\.(cc|mm)$'], |
536 ['include', '(^|/)ios/'], | 540 ['include', '(^|/)ios/'], |
537 ['include', '^common/chrome_version_info\\.cc$'], | 541 ['include', '^common/chrome_version_info\\.cc$'], |
| 542 ['include', '^common/translate'], |
538 ['include', '^common/zip'], | 543 ['include', '^common/zip'], |
539 ], | 544 ], |
540 'include_dirs': [ | 545 'include_dirs': [ |
541 '<(DEPTH)/breakpad/src', | 546 '<(DEPTH)/breakpad/src', |
542 ], | 547 ], |
543 }], | 548 }], |
544 ['OS=="android"', { | 549 ['OS=="android"', { |
545 'sources/': [ | 550 'sources/': [ |
546 ['exclude', '^common/chrome_version_info_posix.cc'], | 551 ['exclude', '^common/chrome_version_info_posix.cc'], |
547 ['exclude', '^common/service_'], | 552 ['exclude', '^common/service_'], |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 ['use_system_nspr==1', { | 617 ['use_system_nspr==1', { |
613 'dependencies': [ | 618 'dependencies': [ |
614 '<(DEPTH)/base/third_party/nspr/nspr.gyp:nspr', | 619 '<(DEPTH)/base/third_party/nspr/nspr.gyp:nspr', |
615 ], | 620 ], |
616 }], | 621 }], |
617 ['enable_webrtc==0', { | 622 ['enable_webrtc==0', { |
618 'sources!': [ | 623 'sources!': [ |
619 'common/media/webrtc_logging_messages.h', | 624 'common/media/webrtc_logging_messages.h', |
620 ] | 625 ] |
621 }], | 626 }], |
| 627 ['enable_language_detection==1', { |
| 628 'dependencies': [ |
| 629 '../third_party/cld/cld.gyp:cld', |
| 630 ], |
| 631 }], |
622 ], | 632 ], |
623 'target_conditions': [ | 633 'target_conditions': [ |
624 ['OS == "ios"', { | 634 ['OS == "ios"', { |
625 'sources/': [ | 635 'sources/': [ |
626 # Pull in specific Mac files for iOS (which have been filtered out | 636 # Pull in specific Mac files for iOS (which have been filtered out |
627 # by file name rules). | 637 # by file name rules). |
628 ['include', '^common/chrome_version_info_mac\\.mm$'], | 638 ['include', '^common/chrome_version_info_mac\\.mm$'], |
629 ['include', '^common/mac/nscoder_util\\.'], | 639 ['include', '^common/mac/nscoder_util\\.'], |
630 ], | 640 ], |
631 }], | 641 }], |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 'common/metrics/proto/user_action_event.proto', | 811 'common/metrics/proto/user_action_event.proto', |
802 ], | 812 ], |
803 'variables': { | 813 'variables': { |
804 'proto_in_dir': 'common/metrics/proto', | 814 'proto_in_dir': 'common/metrics/proto', |
805 'proto_out_dir': 'chrome/common/metrics/proto', | 815 'proto_out_dir': 'chrome/common/metrics/proto', |
806 }, | 816 }, |
807 'includes': [ '../build/protoc.gypi' ], | 817 'includes': [ '../build/protoc.gypi' ], |
808 }, | 818 }, |
809 ], | 819 ], |
810 } | 820 } |
OLD | NEW |