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 'includes': [ | 9 'includes': [ |
10 '../build/common.gypi', | 10 '../build/common.gypi', |
11 ], | 11 ], |
12 'target_defaults': { | 12 'target_defaults': { |
13 'sources/': [ | 13 'sources/': [ |
14 ['exclude', '/(cocoa|gtk|win)/'], | 14 ['exclude', '/(cocoa|gtk|win)/'], |
15 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|x)\\.(cc|mm?)$'], | 15 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|x)\\.(cc|mm?)$'], |
16 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], | 16 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], |
17 ], | 17 ], |
18 'conditions': [ | 18 'conditions': [ |
19 ['OS=="linux"', {'sources/': [ | 19 ['OS=="linux" or OS=="freebsd"', {'sources/': [ |
20 ['include', '/gtk/'], | 20 ['include', '/gtk/'], |
21 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], | 21 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], |
22 ['include', '/(gtk|x11)_[^/]*\\.cc$'], | 22 ['include', '/(gtk|x11)_[^/]*\\.cc$'], |
23 ]}], | 23 ]}], |
24 ['OS=="mac"', {'sources/': [ | 24 ['OS=="mac"', {'sources/': [ |
25 ['include', '/cocoa/'], | 25 ['include', '/cocoa/'], |
26 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], | 26 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], |
27 ]}, { # else: OS != "mac" | 27 ]}, { # else: OS != "mac" |
28 'sources/': [ | 28 'sources/': [ |
29 ['exclude', '\\.mm?$'], | 29 ['exclude', '\\.mm?$'], |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 'table_model.cc', | 118 'table_model.cc', |
119 'table_model.h', | 119 'table_model.h', |
120 'table_model_observer.h', | 120 'table_model_observer.h', |
121 ], | 121 ], |
122 'direct_dependent_settings': { | 122 'direct_dependent_settings': { |
123 'include_dirs': [ | 123 'include_dirs': [ |
124 '..', | 124 '..', |
125 ], | 125 ], |
126 }, | 126 }, |
127 'conditions': [ | 127 'conditions': [ |
128 ['OS=="linux"', { | 128 ['OS=="linux" or OS=="freebsd"', { |
129 'dependencies': [ | 129 'dependencies': [ |
130 # font_gtk.cc uses fontconfig. | 130 # font_gtk.cc uses fontconfig. |
131 # TODO(evanm): I think this is wrong; it should just use GTK. | 131 # TODO(evanm): I think this is wrong; it should just use GTK. |
132 '../build/linux/system.gyp:fontconfig', | 132 '../build/linux/system.gyp:fontconfig', |
133 '../build/linux/system.gyp:gtk', | 133 '../build/linux/system.gyp:gtk', |
134 ], | 134 ], |
135 'conditions': [ | 135 'conditions': [ |
136 ['toolkit_views==0 and chromeos==0', { | 136 ['toolkit_views==0 and chromeos==0', { |
137 # Note: because of gyp predence rules this has to be defined as | 137 # Note: because of gyp predence rules this has to be defined as |
138 # 'sources/' rather than 'sources!'. | 138 # 'sources/' rather than 'sources!'. |
(...skipping 21 matching lines...) Expand all Loading... |
160 ], | 160 ], |
161 }], | 161 }], |
162 ['OS!="win"', { | 162 ['OS!="win"', { |
163 'sources!': [ | 163 'sources!': [ |
164 'drag_drop_types.h', | 164 'drag_drop_types.h', |
165 'gfx/icon_util.cc', | 165 'gfx/icon_util.cc', |
166 'gfx/icon_util.h', | 166 'gfx/icon_util.h', |
167 'os_exchange_data.cc', | 167 'os_exchange_data.cc', |
168 ], | 168 ], |
169 }], | 169 }], |
170 ['OS!="linux"', { | 170 ['OS!="linux" and OS!="freebsd"', { |
171 'sources!': [ | 171 'sources!': [ |
172 'gtk_dnd_util.cc', | 172 'gtk_dnd_util.cc', |
173 'gtk_dnd_util.h', | 173 'gtk_dnd_util.h', |
174 ], | 174 ], |
175 }], | 175 }], |
176 ], | 176 ], |
177 }, | 177 }, |
178 { | 178 { |
179 'target_name': 'app_unittests', | 179 'target_name': 'app_unittests', |
180 'type': 'executable', | 180 'type': 'executable', |
(...skipping 18 matching lines...) Expand all Loading... |
199 'os_exchange_data_win_unittest.cc', | 199 'os_exchange_data_win_unittest.cc', |
200 'run_all_unittests.cc', | 200 'run_all_unittests.cc', |
201 'test_suite.h', | 201 'test_suite.h', |
202 'tree_node_iterator_unittest.cc', | 202 'tree_node_iterator_unittest.cc', |
203 'win_util_unittest.cc', | 203 'win_util_unittest.cc', |
204 ], | 204 ], |
205 'include_dirs': [ | 205 'include_dirs': [ |
206 '..', | 206 '..', |
207 ], | 207 ], |
208 'conditions': [ | 208 'conditions': [ |
209 ['OS=="linux"', { | 209 ['OS=="linux" or OS=="freebsd"', { |
210 # TODO: Move these dependencies to platform-neutral once these | 210 # TODO: Move these dependencies to platform-neutral once these |
211 # projects are generated by GYP. | 211 # projects are generated by GYP. |
212 'dependencies': [ | 212 'dependencies': [ |
213 '../build/linux/system.gyp:gtk', | 213 '../build/linux/system.gyp:gtk', |
214 ], | 214 ], |
215 }], | 215 }], |
216 ['OS!="win"', { | 216 ['OS!="win"', { |
217 'sources!': [ | 217 'sources!': [ |
218 'gfx/icon_util_unittest.cc', | 218 'gfx/icon_util_unittest.cc', |
219 'os_exchange_data_win_unittest.cc', | 219 'os_exchange_data_win_unittest.cc', |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 'process_outputs_as_sources': 1, | 341 'process_outputs_as_sources': 1, |
342 'message': 'Generating appid information in <(SHARED_INTERMEDIAT
E_DIR)/chrome/appid.h' | 342 'message': 'Generating appid information in <(SHARED_INTERMEDIAT
E_DIR)/chrome/appid.h' |
343 }, | 343 }, |
344 ], | 344 ], |
345 }, | 345 }, |
346 ], | 346 ], |
347 ], | 347 ], |
348 }, | 348 }, |
349 ], | 349 ], |
350 } | 350 } |
OLD | NEW |