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': { |
11 'chrome_common_target': 1, | 11 'chrome_common_target': 1, |
12 'enable_wexit_time_destructors': 1, | 12 'enable_wexit_time_destructors': 1, |
13 }, | 13 }, |
14 'include_dirs': [ | 14 'include_dirs': [ |
15 '..', | 15 '..', |
16 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc. | 16 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_content_client.cc. |
17 ], | 17 ], |
18 'direct_dependent_settings': { | 18 'direct_dependent_settings': { |
19 'include_dirs': [ | 19 'include_dirs': [ |
20 '..', | 20 '..', |
21 ], | 21 ], |
22 }, | 22 }, |
23 'dependencies': [ | 23 'dependencies': [ |
24 # TODO(gregoryd): chrome_resources and chrome_strings could be | 24 # TODO(gregoryd): chrome_resources and chrome_strings could be |
25 # shared with the 64-bit target, but it does not work due to a gyp | 25 # shared with the 64-bit target, but it does not work due to a gyp |
26 # issue. | 26 # issue. |
27 '../third_party/cld/cld.gyp:cld', | |
28 'common_net', | 27 'common_net', |
29 'common_version', | 28 'common_version', |
30 'installer_util', | 29 'installer_util', |
31 'metrics_proto', | 30 'metrics_proto', |
32 '<(DEPTH)/base/base.gyp:base', | 31 '<(DEPTH)/base/base.gyp:base', |
33 '<(DEPTH)/base/base.gyp:base_i18n', | 32 '<(DEPTH)/base/base.gyp:base_i18n', |
34 '<(DEPTH)/base/base.gyp:base_prefs', | 33 '<(DEPTH)/base/base.gyp:base_prefs', |
35 '<(DEPTH)/base/base.gyp:base_static', | 34 '<(DEPTH)/base/base.gyp:base_static', |
36 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', | 35 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_resources', |
37 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', | 36 '<(DEPTH)/chrome/chrome_resources.gyp:chrome_strings', |
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 'sources!': [ | 659 'sources!': [ |
661 'common/media/webrtc_logging_messages.h', | 660 'common/media/webrtc_logging_messages.h', |
662 ] | 661 ] |
663 }], | 662 }], |
664 ['enable_printing==0', { | 663 ['enable_printing==0', { |
665 'sources!': [ | 664 'sources!': [ |
666 'common/print_messages.cc', | 665 'common/print_messages.cc', |
667 'common/print_messages.h', | 666 'common/print_messages.h', |
668 ] | 667 ] |
669 }], | 668 }], |
| 669 ['cld_version==0 or cld_version==1', { |
| 670 'dependencies': [ |
| 671 '<(DEPTH)/third_party/cld/cld.gyp:cld', |
| 672 ], |
| 673 }], |
| 674 ['cld_version==0 or cld_version==2', { |
| 675 'dependencies': [ |
| 676 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld_2', |
| 677 ], |
| 678 }], |
670 ], | 679 ], |
671 'target_conditions': [ | 680 'target_conditions': [ |
672 ['OS == "ios"', { | 681 ['OS == "ios"', { |
673 'sources/': [ | 682 'sources/': [ |
674 # Pull in specific Mac files for iOS (which have been filtered out | 683 # Pull in specific Mac files for iOS (which have been filtered out |
675 # by file name rules). | 684 # by file name rules). |
676 ['include', '^common/chrome_version_info_mac\\.mm$'], | 685 ['include', '^common/chrome_version_info_mac\\.mm$'], |
677 ['include', '^common/mac/nscoder_util\\.'], | 686 ['include', '^common/mac/nscoder_util\\.'], |
678 ], | 687 ], |
679 }], | 688 }], |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 'common/metrics/proto/user_action_event.proto', | 860 'common/metrics/proto/user_action_event.proto', |
852 ], | 861 ], |
853 'variables': { | 862 'variables': { |
854 'proto_in_dir': 'common/metrics/proto', | 863 'proto_in_dir': 'common/metrics/proto', |
855 'proto_out_dir': 'chrome/common/metrics/proto', | 864 'proto_out_dir': 'chrome/common/metrics/proto', |
856 }, | 865 }, |
857 'includes': [ '../build/protoc.gypi' ], | 866 'includes': [ '../build/protoc.gypi' ], |
858 }, | 867 }, |
859 ], | 868 ], |
860 } | 869 } |
OLD | NEW |