epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 1 | { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'views', |
| 5 | 'type': 'static_library', |
| 6 | 'include_dirs': [ |
| 7 | '../include/config', |
| 8 | '../include/core', |
| 9 | '../include/views', |
| 10 | '../include/xml', |
| 11 | '../include/utils', |
| 12 | '../include/images', |
| 13 | '../include/animator', |
| 14 | '../include/effects', |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame^] | 15 | '../include/views/unix', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 16 | ], |
| 17 | 'sources': [ |
| 18 | '../include/views/SkApplication.h', |
| 19 | '../include/views/SkBGViewArtist.h', |
| 20 | '../include/views/SkBorderView.h', |
| 21 | '../include/views/SkEvent.h', |
| 22 | '../include/views/SkEventSink.h', |
| 23 | '../include/views/SkImageView.h', |
| 24 | '../include/views/SkKey.h', |
| 25 | '../include/views/SkOSMenu.h', |
| 26 | '../include/views/SkOSWindow_Mac.h', |
| 27 | '../include/views/SkOSWindow_SDL.h', |
| 28 | '../include/views/SkOSWindow_Unix.h', |
| 29 | '../include/views/SkOSWindow_Win.h', |
| 30 | #'../include/views/SkOSWindow_wxwidgets.h', |
| 31 | '../include/views/SkProgressBarView.h', |
| 32 | '../include/views/SkScrollBarView.h', |
| 33 | '../include/views/SkStackViewLayout.h', |
| 34 | '../include/views/SkSystemEventTypes.h', |
| 35 | '../include/views/SkTouchGesture.h', |
| 36 | '../include/views/SkView.h', |
| 37 | '../include/views/SkViewInflate.h', |
| 38 | '../include/views/SkWidget.h', |
| 39 | '../include/views/SkWidgetViews.h', |
| 40 | '../include/views/SkWindow.h', |
| 41 | |
| 42 | '../src/views/SkBGViewArtist.cpp', |
| 43 | '../src/views/SkBorderView.cpp', |
| 44 | '../src/views/SkEvent.cpp', |
| 45 | '../src/views/SkEventSink.cpp', |
| 46 | '../src/views/SkImageView.cpp', |
| 47 | '../src/views/SkListView.cpp', |
| 48 | '../src/views/SkListWidget.cpp', |
| 49 | '../src/views/SkOSMenu.cpp', |
| 50 | '../src/views/SkParsePaint.cpp', |
| 51 | '../src/views/SkProgressBarView.cpp', |
| 52 | '../src/views/SkProgressView.cpp', |
| 53 | '../src/views/SkScrollBarView.cpp', |
| 54 | '../src/views/SkStackViewLayout.cpp', |
| 55 | '../src/views/SkStaticTextView.cpp', |
| 56 | '../src/views/SkTagList.cpp', |
| 57 | '../src/views/SkTagList.h', |
| 58 | '../src/views/SkTextBox.cpp', |
| 59 | '../src/views/SkTouchGesture.cpp', |
| 60 | '../src/views/SkView.cpp', |
| 61 | '../src/views/SkViewInflate.cpp', |
| 62 | '../src/views/SkViewPriv.cpp', |
| 63 | '../src/views/SkViewPriv.h', |
| 64 | '../src/views/SkWidget.cpp', |
| 65 | '../src/views/SkWidgets.cpp', |
| 66 | '../src/views/SkWidgetViews.cpp', |
| 67 | '../src/views/SkWindow.cpp', |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame^] | 68 | |
| 69 | #mac |
| 70 | '../src/views/mac/SkOSWindow_Mac.mm', |
| 71 | '../src/views/mac/skia_mac.mm', |
| 72 | |
| 73 | #sdl |
| 74 | '../src/views/SDL/SkOSWindow_SDL.cpp', |
| 75 | |
| 76 | #*nix |
| 77 | '../src/views/unix/SkOSWindow_Unix.cpp', |
| 78 | '../src/views/unix/keysym2ucs.c', |
| 79 | |
| 80 | #windows |
| 81 | '../src/views/win/SkOSWindow_win.cpp', |
| 82 | '../src/views/win/skia_win.cpp', |
| 83 | |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 84 | ], |
| 85 | 'sources!' : [ |
| 86 | '../src/views/SkListView.cpp', #depends on missing SkListSource implementation |
| 87 | '../src/views/SkListWidget.cpp', #depends on missing SkListSource implementation |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame^] | 88 | '../src/views/SDL/SkOSWindow_SDL.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 89 | ], |
| 90 | 'conditions': [ |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 91 | [ 'skia_os == "mac"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 92 | 'link_settings': { |
| 93 | 'libraries': [ |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 94 | '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 95 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 96 | ], |
| 97 | }, |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame^] | 98 | },{ |
| 99 | 'sources!': [ |
| 100 | '../src/views/mac/SkOSWindow_Mac.mm', |
| 101 | '../src/views/mac/skia_mac.mm', |
| 102 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 103 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 104 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 105 | 'sources': [ |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 106 | '../unix_test_app/main.cpp', |
| 107 | ], |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame^] | 108 | },{ |
| 109 | 'sources!': [ |
| 110 | '../src/views/unix/SkOSWindow_Unix.cpp', |
| 111 | '../src/views/unix/keysym2ucs.c', |
| 112 | ], |
| 113 | }], |
| 114 | [ 'skia_os == "win"', { |
| 115 | },{ |
| 116 | 'sources!': [ |
| 117 | '../src/views/win/SkOSWindow_win.cpp', |
| 118 | '../src/views/win/skia_win.cpp', |
| 119 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 120 | }], |
djsollen@google.com | 6ff8255 | 2011-11-07 15:43:57 +0000 | [diff] [blame] | 121 | [ 'skia_os == "android"', { |
| 122 | # Android does not support animator so we need to remove all files |
| 123 | # that have references to it. |
| 124 | 'include_dirs!': [ |
| 125 | '../include/animator', |
| 126 | ], |
| 127 | 'sources!': [ |
| 128 | '../src/views/SkBorderView.cpp', |
| 129 | '../src/views/SkImageView.cpp', |
| 130 | '../src/views/SkProgressBarView.cpp', |
| 131 | '../src/views/SkScrollBarView.cpp', |
| 132 | '../src/views/SkStaticTextView.cpp', |
| 133 | '../src/views/SkWidgetViews.cpp', |
| 134 | ], |
| 135 | }], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 136 | ], |
| 137 | 'direct_dependent_settings': { |
| 138 | 'include_dirs': [ |
| 139 | '../include/views', |
| 140 | ], |
| 141 | }, |
| 142 | }, |
| 143 | ], |
| 144 | } |
| 145 | |
| 146 | # Local Variables: |
| 147 | # tab-width:2 |
| 148 | # indent-tabs-mode:nil |
| 149 | # End: |
| 150 | # vim: set expandtab tabstop=2 shiftwidth=2: |