OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'common_constants_sources': [ | 8 'common_constants_sources': [ |
9 'common/chrome_constants.cc', | 9 'common/chrome_constants.cc', |
10 'common/chrome_constants.h', | 10 'common/chrome_constants.h', |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 '<@(_outputs)', | 65 '<@(_outputs)', |
66 ], | 66 ], |
67 'message': 'Generating version header file: <@(_outputs)', | 67 'message': 'Generating version header file: <@(_outputs)', |
68 }, | 68 }, |
69 ], | 69 ], |
70 }, | 70 }, |
71 { | 71 { |
72 # GN version: //chrome/common:constants | 72 # GN version: //chrome/common:constants |
73 'target_name': 'common_constants', | 73 'target_name': 'common_constants', |
74 'type': 'static_library', | 74 'type': 'static_library', |
| 75 'hard_dependency': 1, # Because of transitive dep on version_header. |
75 'sources': [ | 76 'sources': [ |
76 '<@(common_constants_sources)' | 77 '<@(common_constants_sources)' |
77 ], | 78 ], |
78 'include_dirs': [ | 79 'include_dirs': [ |
79 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_paths.cc. | 80 '<(SHARED_INTERMEDIATE_DIR)', # Needed by chrome_paths.cc. |
80 ], | 81 ], |
81 'dependencies': [ | 82 'dependencies': [ |
82 'version_header', | 83 'version_header', |
83 '../base/base.gyp:base', | 84 '../base/base.gyp:base', |
84 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 85 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 'configurations': { | 130 'configurations': { |
130 'Common_Base': { | 131 'Common_Base': { |
131 'msvs_target_platform': 'x64', | 132 'msvs_target_platform': 'x64', |
132 }, | 133 }, |
133 }, | 134 }, |
134 }, | 135 }, |
135 ], | 136 ], |
136 }], | 137 }], |
137 ], | 138 ], |
138 } | 139 } |
OLD | NEW |