Index: ui/ui.gyp |
=================================================================== |
--- ui/ui.gyp (revision 0) |
+++ ui/ui.gyp (revision 0) |
@@ -0,0 +1,52 @@ |
+# Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'variables': { |
+ 'chromium_code': 1, |
+ }, |
+ 'target_defaults': { |
+ 'sources/': [ |
+ ['exclude', '/(cocoa|gtk|win)/'], |
+ ['exclude', '_(cocoa|gtk|linux|mac|posix|skia|win|x)\\.(cc|mm?)$'], |
+ ['exclude', '/(gtk|win|x11)_[^/]*\\.cc$'], |
+ ], |
+ 'conditions': [ |
+ ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {'sources/': [ |
+ ['include', '/gtk/'], |
+ ['include', '_(gtk|linux|posix|skia|x)\\.cc$'], |
+ ['include', '/(gtk|x11)_[^/]*\\.cc$'], |
+ ]}], |
+ ['OS=="mac"', {'sources/': [ |
+ ['include', '/cocoa/'], |
+ ['include', '_(cocoa|mac|posix)\\.(cc|mm?)$'], |
+ ]}, { # else: OS != "mac" |
+ 'sources/': [ |
+ ['exclude', '\\.mm?$'], |
+ ], |
+ }], |
+ ['OS=="win"', {'sources/': [ |
+ ['include', '_(win)\\.cc$'], |
+ ['include', '/win/'], |
+ ['include', '/win_[^/]*\\.cc$'], |
+ ]}], |
+ ['touchui==0', {'sources/': [ |
+ ['exclude', 'event_x.cc$'], |
+ ['exclude', 'native_menu_x.cc$'], |
+ ['exclude', 'native_menu_x.h$'], |
+ ['exclude', 'touchui/'], |
+ ['exclude', '_(touch)\\.cc$'], |
+ ]}], |
+ ], |
+ }, |
+ 'includes': [ |
+ 'base/ui_base.gypi', |
+ ], |
+} |
+ |
+# Local Variables: |
+# tab-width:2 |
+# indent-tabs-mode:nil |
+# End: |
+# vim: set expandtab tabstop=2 shiftwidth=2: |