OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'target_defaults': { |
| 10 'sources/': [ |
| 11 ['exclude', '/(cocoa|gtk|win)/'], |
| 12 ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|x)\\.(cc|mm?)$'], |
| 13 ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], |
| 14 ], |
| 15 'conditions': [ |
| 16 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {'sources/': [ |
| 17 ['include', '/gtk/'], |
| 18 ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], |
| 19 ['include', '/(gtk|x11)_[^/]*\\.cc$'], |
| 20 ]}], |
| 21 ['OS=="mac"', {'sources/': [ |
| 22 ['include', '/cocoa/'], |
| 23 ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], |
| 24 ]}, { # else: OS != "mac" |
| 25 'sources/': [ |
| 26 ['exclude', '\\.mm?$'], |
| 27 ], |
| 28 }], |
| 29 ['OS=="win"', {'sources/': [ |
| 30 ['include', '_(win)\\.cc$'], |
| 31 ['include', '/win/'], |
| 32 ['include', '/win_[^/]*\\.cc$'], |
| 33 ]}], |
| 34 ['touchui==0', {'sources/': [ |
| 35 ['exclude', 'event_x.cc$'], |
| 36 ['exclude', 'native_menu_x.cc$'], |
| 37 ['exclude', 'native_menu_x.h$'], |
| 38 ['exclude', 'touchui/'], |
| 39 ['exclude', '_(touch)\\.cc$'], |
| 40 ]}], |
| 41 ], |
| 42 }, |
| 43 'includes': [ |
| 44 'base/ui_base.gypi', |
| 45 ], |
| 46 } |
| 47 |
| 48 # Local Variables: |
| 49 # tab-width:2 |
| 50 # indent-tabs-mode:nil |
| 51 # End: |
| 52 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |