tfarina@chromium.org | e229e92 | 2012-09-27 13:44:57 +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. |
bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 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', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 11 | 'product_name': 'skia_views', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 12 | 'type': 'static_library', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 13 | 'standalone_static_library': 1, |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 14 | 'include_dirs': [ |
bungeman@google.com | 5a64e58 | 2012-03-29 14:51:56 +0000 | [diff] [blame] | 15 | '../include/config', |
| 16 | '../include/core', |
bungeman@google.com | 5a64e58 | 2012-03-29 14:51:56 +0000 | [diff] [blame] | 17 | '../include/effects', |
scroggo@google.com | f8d7d27 | 2013-02-22 21:38:35 +0000 | [diff] [blame] | 18 | '../include/images', |
| 19 | '../include/lazy', |
| 20 | '../include/utils', |
| 21 | '../include/views', |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 22 | '../include/views/unix', |
scroggo@google.com | f8d7d27 | 2013-02-22 21:38:35 +0000 | [diff] [blame] | 23 | '../include/xml', |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 24 | ], |
| 25 | 'dependencies': [ |
| 26 | 'angle.gyp:*', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 27 | ], |
| 28 | 'sources': [ |
| 29 | '../include/views/SkApplication.h', |
| 30 | '../include/views/SkBGViewArtist.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 31 | '../include/views/SkEvent.h', |
| 32 | '../include/views/SkEventSink.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 33 | '../include/views/SkKey.h', |
| 34 | '../include/views/SkOSMenu.h', |
| 35 | '../include/views/SkOSWindow_Mac.h', |
borenet@google.com | 7158e6a | 2012-11-01 17:43:44 +0000 | [diff] [blame] | 36 | '../include/views/SkOSWindow_NaCl.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 37 | '../include/views/SkOSWindow_SDL.h', |
| 38 | '../include/views/SkOSWindow_Unix.h', |
| 39 | '../include/views/SkOSWindow_Win.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 40 | '../include/views/SkStackViewLayout.h', |
| 41 | '../include/views/SkSystemEventTypes.h', |
bungeman@google.com | 802eee9 | 2012-03-28 20:01:06 +0000 | [diff] [blame] | 42 | '../include/views/SkTextBox.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 43 | '../include/views/SkTouchGesture.h', |
| 44 | '../include/views/SkView.h', |
| 45 | '../include/views/SkViewInflate.h', |
| 46 | '../include/views/SkWidget.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 47 | '../include/views/SkWindow.h', |
| 48 | |
| 49 | '../src/views/SkBGViewArtist.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 50 | '../src/views/SkEvent.cpp', |
| 51 | '../src/views/SkEventSink.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 52 | '../src/views/SkOSMenu.cpp', |
| 53 | '../src/views/SkParsePaint.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 54 | '../src/views/SkProgressView.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 55 | '../src/views/SkStackViewLayout.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 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', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 64 | '../src/views/SkWidgets.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 65 | '../src/views/SkWindow.cpp', |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 66 | |
tfarina@chromium.org | e229e92 | 2012-09-27 13:44:57 +0000 | [diff] [blame] | 67 | # Mac |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 68 | '../src/views/mac/SkOSWindow_Mac.mm', |
| 69 | '../src/views/mac/skia_mac.mm', |
| 70 | |
tfarina@chromium.org | e229e92 | 2012-09-27 13:44:57 +0000 | [diff] [blame] | 71 | # SDL |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 72 | '../src/views/SDL/SkOSWindow_SDL.cpp', |
| 73 | |
tfarina@chromium.org | e229e92 | 2012-09-27 13:44:57 +0000 | [diff] [blame] | 74 | # *nix |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 75 | '../src/views/unix/SkOSWindow_Unix.cpp', |
| 76 | '../src/views/unix/keysym2ucs.c', |
epoger@google.com | c62923d | 2012-03-22 15:37:22 +0000 | [diff] [blame] | 77 | '../src/views/unix/skia_unix.cpp', |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 78 | |
tfarina@chromium.org | e229e92 | 2012-09-27 13:44:57 +0000 | [diff] [blame] | 79 | # Windows |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 80 | '../src/views/win/SkOSWindow_win.cpp', |
| 81 | '../src/views/win/skia_win.cpp', |
| 82 | |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 83 | ], |
| 84 | 'sources!' : [ |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 85 | '../src/views/SDL/SkOSWindow_SDL.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 86 | ], |
| 87 | 'conditions': [ |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 88 | [ 'skia_os == "mac"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 89 | 'link_settings': { |
| 90 | 'libraries': [ |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 91 | '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 92 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 93 | ], |
| 94 | }, |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 95 | },{ |
| 96 | 'sources!': [ |
| 97 | '../src/views/mac/SkOSWindow_Mac.mm', |
| 98 | '../src/views/mac/skia_mac.mm', |
| 99 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 100 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 101 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { |
borenet@google.com | db2e25a | 2012-11-01 18:01:08 +0000 | [diff] [blame] | 102 | 'link_settings': { |
| 103 | 'libraries': [ |
| 104 | '-lGL', |
| 105 | '-lGLU', |
| 106 | '-lX11', |
| 107 | ], |
| 108 | }, |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 109 | },{ |
| 110 | 'sources!': [ |
| 111 | '../src/views/unix/SkOSWindow_Unix.cpp', |
| 112 | '../src/views/unix/keysym2ucs.c', |
epoger@google.com | c62923d | 2012-03-22 15:37:22 +0000 | [diff] [blame] | 113 | '../src/views/unix/skia_unix.cpp', |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 114 | ], |
| 115 | }], |
| 116 | [ 'skia_os == "win"', { |
| 117 | },{ |
| 118 | 'sources!': [ |
| 119 | '../src/views/win/SkOSWindow_win.cpp', |
| 120 | '../src/views/win/skia_win.cpp', |
| 121 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 122 | }], |
borenet@google.com | 7158e6a | 2012-11-01 17:43:44 +0000 | [diff] [blame] | 123 | [ 'skia_os == "nacl"', { |
| 124 | 'sources!': [ |
| 125 | '../src/views/unix/SkOSWindow_Unix.cpp', |
| 126 | '../src/views/unix/keysym2ucs.c', |
| 127 | '../src/views/unix/skia_unix.cpp', |
| 128 | ], |
| 129 | }, { |
| 130 | 'sources!': [ |
| 131 | '../src/views/nacl/SkOSWindow_NaCl.cpp', |
| 132 | ], |
| 133 | }], |
borenet@google.com | b364eb6 | 2012-10-11 19:23:46 +0000 | [diff] [blame] | 134 | [ 'skia_gpu == 1', { |
| 135 | 'include_dirs': [ |
| 136 | '../include/gpu', |
| 137 | ], |
| 138 | }], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 139 | ], |
| 140 | 'direct_dependent_settings': { |
| 141 | 'include_dirs': [ |
| 142 | '../include/views', |
| 143 | ], |
| 144 | }, |
| 145 | }, |
| 146 | ], |
| 147 | } |
| 148 | |
| 149 | # Local Variables: |
| 150 | # tab-width:2 |
| 151 | # indent-tabs-mode:nil |
| 152 | # End: |
| 153 | # vim: set expandtab tabstop=2 shiftwidth=2: |