OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 | 8 |
9 'variables': { | 9 'variables': { |
10 'version_py_path': 'tools/build/version.py', | 10 'version_py_path': 'tools/build/version.py', |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 }], | 183 }], |
184 ['target_arch=="x64"', { | 184 ['target_arch=="x64"', { |
185 'nacl_defines': [ | 185 'nacl_defines': [ |
186 # TODO(gregoryd): consider getting this from NaCl's common.gypi | 186 # TODO(gregoryd): consider getting this from NaCl's common.gypi |
187 'NACL_TARGET_SUBARCH=64', | 187 'NACL_TARGET_SUBARCH=64', |
188 'NACL_BUILD_SUBARCH=64', | 188 'NACL_BUILD_SUBARCH=64', |
189 ], | 189 ], |
190 }], | 190 }], |
191 ], # conditions | 191 ], # conditions |
192 }, # variables | 192 }, # variables |
193 'target_defaults': { | |
194 'sources/': [ | |
195 ['exclude', '/(cocoa|gtk|win)/'], | |
196 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|views|x)(_unittest)?(_ma
c)?\\.(cc|mm?)$'], | |
197 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], | |
198 ], | |
199 'conditions': [ | |
200 ['OS=="linux" or OS=="freebsd"', {'sources/': [ | |
201 ['include', '/gtk/'], | |
202 ['include', '_(gtk|linux|posix|skia|x)(_unittest)?\\.cc$'], | |
203 ['include', '/(gtk|x11)_[^/]*\\.cc$'], | |
204 ]}], | |
205 ['OS=="mac"', {'sources/': [ | |
206 ['include', '/cocoa/'], | |
207 ['include', '_(cocoa|mac|posix)(_unittest)?(_mac)?\\.(cc|mm?)$'], | |
208 ]}, { # else: OS != "mac" | |
209 'sources/': [ | |
210 ['exclude', '\\.mm?$'], | |
211 ], | |
212 }], | |
213 ['OS=="win"', {'sources/': [ | |
214 ['include', '_(views|win)(_unittest)?\\.cc$'], | |
215 ['include', '/win/'], | |
216 ['include', '/(views|win)_[^/]*\\.cc$'], | |
217 ]}], | |
218 ['OS=="linux" and toolkit_views==1', {'sources/': [ | |
219 ['include', '_views\\.cc$'], | |
220 ]}], | |
221 ], | |
222 }, | |
223 'targets': [ | 193 'targets': [ |
224 { | 194 { |
225 # TODO(mark): It would be better if each static library that needed | 195 # TODO(mark): It would be better if each static library that needed |
226 # to run grit would list its own .grd files, but unfortunately some | 196 # to run grit would list its own .grd files, but unfortunately some |
227 # of the static libraries currently have circular dependencies among | 197 # of the static libraries currently have circular dependencies among |
228 # generated headers. | 198 # generated headers. |
229 'target_name': 'chrome_resources', | 199 'target_name': 'chrome_resources', |
230 'type': 'none', | 200 'type': 'none', |
231 'msvs_guid': 'B95AB527-F7DB-41E9-AD91-EB51EE0F56BE', | 201 'msvs_guid': 'B95AB527-F7DB-41E9-AD91-EB51EE0F56BE', |
232 'variables': { | 202 'variables': { |
(...skipping 6743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6976 ] | 6946 ] |
6977 }], | 6947 }], |
6978 ], # 'conditions' | 6948 ], # 'conditions' |
6979 } | 6949 } |
6980 | 6950 |
6981 # Local Variables: | 6951 # Local Variables: |
6982 # tab-width:2 | 6952 # tab-width:2 |
6983 # indent-tabs-mode:nil | 6953 # indent-tabs-mode:nil |
6984 # End: | 6954 # End: |
6985 # vim: set expandtab tabstop=2 shiftwidth=2: | 6955 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |