| bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 1 | #Views is the Skia windowing toolkit. |
| 2 | #It provides |
| 3 | # * a portable means of creating native windows |
| 4 | # * events |
| 5 | # * basic widgets and controls |
| 6 | |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 7 | { |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 8 | 'targets': [ |
| 9 | { |
| 10 | 'target_name': 'views', |
| 11 | 'type': 'static_library', |
| 12 | 'include_dirs': [ |
| bungeman@google.com | 5a64e58 | 2012-03-29 14:51:56 +0000 | [diff] [blame] | 13 | '../include/config', |
| 14 | '../include/core', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 15 | '../include/views', |
| bungeman@google.com | 5a64e58 | 2012-03-29 14:51:56 +0000 | [diff] [blame] | 16 | '../include/xml', |
| 17 | '../include/utils', |
| 18 | '../include/images', |
| 19 | '../include/effects', |
| bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 20 | '../include/views/unix', |
| robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 21 | ], |
| 22 | 'dependencies': [ |
| 23 | 'angle.gyp:*', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 24 | ], |
| 25 | 'sources': [ |
| 26 | '../include/views/SkApplication.h', |
| 27 | '../include/views/SkBGViewArtist.h', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 28 | '../include/views/SkEvent.h', |
| 29 | '../include/views/SkEventSink.h', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 30 | '../include/views/SkKey.h', |
| 31 | '../include/views/SkOSMenu.h', |
| 32 | '../include/views/SkOSWindow_Mac.h', |
| 33 | '../include/views/SkOSWindow_SDL.h', |
| 34 | '../include/views/SkOSWindow_Unix.h', |
| 35 | '../include/views/SkOSWindow_Win.h', |
| 36 | #'../include/views/SkOSWindow_wxwidgets.h', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 37 | '../include/views/SkStackViewLayout.h', |
| 38 | '../include/views/SkSystemEventTypes.h', |
| bungeman@google.com | 802eee9 | 2012-03-28 20:01:06 +0000 | [diff] [blame] | 39 | '../include/views/SkTextBox.h', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 40 | '../include/views/SkTouchGesture.h', |
| 41 | '../include/views/SkView.h', |
| 42 | '../include/views/SkViewInflate.h', |
| 43 | '../include/views/SkWidget.h', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 44 | '../include/views/SkWindow.h', |
| 45 | |
| 46 | '../src/views/SkBGViewArtist.cpp', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 47 | '../src/views/SkEvent.cpp', |
| 48 | '../src/views/SkEventSink.cpp', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 49 | '../src/views/SkOSMenu.cpp', |
| 50 | '../src/views/SkParsePaint.cpp', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 51 | '../src/views/SkProgressView.cpp', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 52 | '../src/views/SkStackViewLayout.cpp', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 53 | '../src/views/SkTagList.cpp', |
| 54 | '../src/views/SkTagList.h', |
| 55 | '../src/views/SkTextBox.cpp', |
| 56 | '../src/views/SkTouchGesture.cpp', |
| 57 | '../src/views/SkView.cpp', |
| 58 | '../src/views/SkViewInflate.cpp', |
| 59 | '../src/views/SkViewPriv.cpp', |
| 60 | '../src/views/SkViewPriv.h', |
| 61 | '../src/views/SkWidget.cpp', |
| 62 | '../src/views/SkWidgets.cpp', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 63 | '../src/views/SkWindow.cpp', |
| bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 64 | |
| 65 | #mac |
| 66 | '../src/views/mac/SkOSWindow_Mac.mm', |
| 67 | '../src/views/mac/skia_mac.mm', |
| 68 | |
| 69 | #sdl |
| 70 | '../src/views/SDL/SkOSWindow_SDL.cpp', |
| 71 | |
| 72 | #*nix |
| 73 | '../src/views/unix/SkOSWindow_Unix.cpp', |
| 74 | '../src/views/unix/keysym2ucs.c', |
| epoger@google.com | c62923d | 2012-03-22 15:37:22 +0000 | [diff] [blame] | 75 | '../src/views/unix/skia_unix.cpp', |
| bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 76 | |
| 77 | #windows |
| 78 | '../src/views/win/SkOSWindow_win.cpp', |
| 79 | '../src/views/win/skia_win.cpp', |
| 80 | |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 81 | ], |
| 82 | 'sources!' : [ |
| bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 83 | '../src/views/SDL/SkOSWindow_SDL.cpp', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 84 | ], |
| 85 | 'conditions': [ |
| epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 86 | [ 'skia_os == "mac"', { |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 87 | 'link_settings': { |
| 88 | 'libraries': [ |
| yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 89 | '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 90 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 91 | ], |
| 92 | }, |
| bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 93 | },{ |
| 94 | 'sources!': [ |
| 95 | '../src/views/mac/SkOSWindow_Mac.mm', |
| 96 | '../src/views/mac/skia_mac.mm', |
| 97 | ], |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 98 | }], |
| epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 99 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { |
| bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 100 | },{ |
| 101 | 'sources!': [ |
| 102 | '../src/views/unix/SkOSWindow_Unix.cpp', |
| 103 | '../src/views/unix/keysym2ucs.c', |
| epoger@google.com | c62923d | 2012-03-22 15:37:22 +0000 | [diff] [blame] | 104 | '../src/views/unix/skia_unix.cpp', |
| bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 105 | ], |
| 106 | }], |
| 107 | [ 'skia_os == "win"', { |
| 108 | },{ |
| 109 | 'sources!': [ |
| 110 | '../src/views/win/SkOSWindow_win.cpp', |
| 111 | '../src/views/win/skia_win.cpp', |
| 112 | ], |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 113 | }], |
| bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 114 | [ 'skia_gpu == 1', { |
| 115 | 'include_dirs': [ |
| 116 | '../include/gpu', |
| 117 | ], |
| 118 | }], |
| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 119 | ], |
| 120 | 'direct_dependent_settings': { |
| 121 | 'include_dirs': [ |
| 122 | '../include/views', |
| 123 | ], |
| 124 | }, |
| 125 | }, |
| 126 | ], |
| 127 | } |
| 128 | |
| 129 | # Local Variables: |
| 130 | # tab-width:2 |
| 131 | # indent-tabs-mode:nil |
| 132 | # End: |
| 133 | # vim: set expandtab tabstop=2 shiftwidth=2: |