OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 }, | 7 }, |
8 'includes': [ | 8 'includes': [ |
9 '../build/util/version.gypi', | 9 '../build/util/version.gypi', |
10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 ['component=="shared_library"', { | 119 ['component=="shared_library"', { |
120 # In component builds, all targets depend on chrome_redirects by | 120 # In component builds, all targets depend on chrome_redirects by |
121 # default. Remove it here to avoid a circular dependency. | 121 # default. Remove it here to avoid a circular dependency. |
122 'dependencies!': [ | 122 'dependencies!': [ |
123 '../chrome_elf/chrome_elf.gyp:chrome_redirects', | 123 '../chrome_elf/chrome_elf.gyp:chrome_redirects', |
124 ], | 124 ], |
125 }], | 125 }], |
126 ], | 126 ], |
127 }, | 127 }, |
128 { | 128 { |
129 'target_name': 'chrome_elf_common', | 129 'target_name': 'chrome_elf_constants', |
130 'type': 'static_library', | 130 'type': 'static_library', |
131 'include_dirs': [ | 131 'include_dirs': [ |
132 '..', | 132 '..', |
133 ], | 133 ], |
134 'sources': [ | 134 'sources': [ |
135 'chrome_elf_constants.cc', | 135 'chrome_elf_constants.cc', |
136 'chrome_elf_constants.h', | 136 'chrome_elf_constants.h', |
| 137 ], |
| 138 'conditions': [ |
| 139 ['component=="shared_library"', { |
| 140 # In component builds, all targets depend on chrome_redirects by |
| 141 # default. Remove it here so we are able to test it. |
| 142 'dependencies!': [ |
| 143 '../chrome_elf/chrome_elf.gyp:chrome_redirects', |
| 144 ], |
| 145 }], |
| 146 ], |
| 147 }, |
| 148 { |
| 149 'target_name': 'chrome_elf_common', |
| 150 'type': 'static_library', |
| 151 'dependencies': [ |
| 152 'chrome_elf_constants', |
| 153 ], |
| 154 'include_dirs': [ |
| 155 '..', |
| 156 ], |
| 157 'sources': [ |
137 'chrome_elf_types.h', | 158 'chrome_elf_types.h', |
138 'chrome_elf_util.cc', | 159 'chrome_elf_util.cc', |
139 'chrome_elf_util.h', | 160 'chrome_elf_util.h', |
140 ], | 161 ], |
141 'conditions': [ | 162 'conditions': [ |
142 ['component=="shared_library"', { | 163 ['component=="shared_library"', { |
143 # In component builds, all targets depend on chrome_redirects by | 164 # In component builds, all targets depend on chrome_redirects by |
144 # default. Remove it here so we are able to test it. | 165 # default. Remove it here so we are able to test it. |
145 'dependencies!': [ | 166 'dependencies!': [ |
146 '../chrome_elf/chrome_elf.gyp:chrome_redirects', | 167 '../chrome_elf/chrome_elf.gyp:chrome_redirects', |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 '../chrome_elf/chrome_elf.gyp:chrome_redirects', | 218 '../chrome_elf/chrome_elf.gyp:chrome_redirects', |
198 ], | 219 ], |
199 }], | 220 }], |
200 ], | 221 ], |
201 }, | 222 }, |
202 ], | 223 ], |
203 }], | 224 }], |
204 ], | 225 ], |
205 } | 226 } |
206 | 227 |
OLD | NEW |