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 'target_defaults': { | 9 'target_defaults': { |
10 'sources/': [ | 10 'sources/': [ |
11 ['exclude', '/(cocoa|gtk|win)/'], | 11 ['exclude', '/(cocoa|gtk|win)/'], |
12 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|x)\\.(cc|mm?)$'], | 12 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|x)\\.(cc|mm?)$'], |
13 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], | 13 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], |
14 ], | 14 ], |
15 'conditions': [ | 15 'conditions': [ |
16 ['OS=="linux"', {'sources/': [ | 16 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {'sources/': [ |
17 ['include', '/gtk/'], | 17 ['include', '/gtk/'], |
18 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], | 18 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], |
19 ['include', '/(gtk|x11)_[^/]*\\.cc$'], | 19 ['include', '/(gtk|x11)_[^/]*\\.cc$'], |
20 ]}], | 20 ]}], |
21 ['OS=="mac"', {'sources/': [ | 21 ['OS=="mac"', {'sources/': [ |
22 ['include', '/cocoa/'], | 22 ['include', '/cocoa/'], |
23 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], | 23 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], |
24 ]}, { # else: OS != "mac" | 24 ]}, { # else: OS != "mac" |
25 'sources/': [ | 25 'sources/': [ |
26 ['exclude', '\\.mm?$'], | 26 ['exclude', '\\.mm?$'], |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 'window/window_resources.h', | 290 'window/window_resources.h', |
291 'window/window_gtk.cc', | 291 'window/window_gtk.cc', |
292 'window/window_gtk.h', | 292 'window/window_gtk.h', |
293 'window/window_win.cc', | 293 'window/window_win.cc', |
294 'window/window_win.h', | 294 'window/window_win.h', |
295 ], | 295 ], |
296 'include_dirs': [ | 296 'include_dirs': [ |
297 '../chrome/third_party/wtl/include', | 297 '../chrome/third_party/wtl/include', |
298 ], | 298 ], |
299 'conditions': [ | 299 'conditions': [ |
300 ['OS=="linux"', { | 300 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
301 'dependencies': [ | 301 'dependencies': [ |
302 '../build/linux/system.gyp:gtk', | 302 '../build/linux/system.gyp:gtk', |
303 '../build/linux/system.gyp:x11', | 303 '../build/linux/system.gyp:x11', |
304 ], | 304 ], |
305 'sources!': [ | 305 'sources!': [ |
306 'accessibility/accessible_wrapper.cc', | 306 'accessibility/accessible_wrapper.cc', |
307 'accessibility/view_accessibility.cc', | 307 'accessibility/view_accessibility.cc', |
308 'accessibility/view_accessibility_wrapper.cc', | 308 'accessibility/view_accessibility_wrapper.cc', |
309 'controls/scrollbar/bitmap_scroll_bar.cc', | 309 'controls/scrollbar/bitmap_scroll_bar.cc', |
310 'controls/combo_box.cc', | 310 'controls/combo_box.cc', |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 'examples/radio_button_example.h', | 368 'examples/radio_button_example.h', |
369 'examples/scroll_view_example.h', | 369 'examples/scroll_view_example.h', |
370 'examples/slider_example.h', | 370 'examples/slider_example.h', |
371 'examples/tabbed_pane_example.h', | 371 'examples/tabbed_pane_example.h', |
372 'examples/textfield_example.h', | 372 'examples/textfield_example.h', |
373 'examples/widget_example.h', | 373 'examples/widget_example.h', |
374 | 374 |
375 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources/app_resources.rc', | 375 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources/app_resources.rc', |
376 ], | 376 ], |
377 'conditions': [ | 377 'conditions': [ |
378 ['OS=="linux"', { | 378 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
379 'dependencies': [ | 379 'dependencies': [ |
380 '../build/linux/system.gyp:gtk', | 380 '../build/linux/system.gyp:gtk', |
381 '../chrome/chrome.gyp:packed_resources', | 381 '../chrome/chrome.gyp:packed_resources', |
382 ], | 382 ], |
383 }, | 383 }, |
384 ], | 384 ], |
385 ['OS=="linux" and toolkit_views==1', { | 385 ['OS=="linux" and toolkit_views==1', { |
386 'dependencies': [ | 386 'dependencies': [ |
387 'views', | 387 'views', |
388 ], | 388 ], |
(...skipping 12 matching lines...) Expand all Loading... |
401 ], | 401 ], |
402 }, | 402 }, |
403 ], | 403 ], |
404 } | 404 } |
405 | 405 |
406 # Local Variables: | 406 # Local Variables: |
407 # tab-width:2 | 407 # tab-width:2 |
408 # indent-tabs-mode:nil | 408 # indent-tabs-mode:nil |
409 # End: | 409 # End: |
410 # vim: set expandtab tabstop=2 shiftwidth=2: | 410 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |