| epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame^] | 1 | { |
| 2 | 'includes': [ |
| 3 | 'target_defaults.gypi', |
| 4 | ], |
| 5 | 'targets': [ |
| 6 | { |
| 7 | 'target_name': 'views', |
| 8 | 'type': 'static_library', |
| 9 | 'include_dirs': [ |
| 10 | '../include/config', |
| 11 | '../include/core', |
| 12 | '../include/views', |
| 13 | '../include/xml', |
| 14 | '../include/utils', |
| 15 | '../include/images', |
| 16 | '../include/animator', |
| 17 | '../include/effects', |
| 18 | ], |
| 19 | 'sources': [ |
| 20 | '../include/views/SkApplication.h', |
| 21 | '../include/views/SkBGViewArtist.h', |
| 22 | '../include/views/SkBorderView.h', |
| 23 | '../include/views/SkEvent.h', |
| 24 | '../include/views/SkEventSink.h', |
| 25 | '../include/views/SkImageView.h', |
| 26 | '../include/views/SkKey.h', |
| 27 | '../include/views/SkOSMenu.h', |
| 28 | '../include/views/SkOSWindow_Mac.h', |
| 29 | '../include/views/SkOSWindow_SDL.h', |
| 30 | '../include/views/SkOSWindow_Unix.h', |
| 31 | '../include/views/SkOSWindow_Win.h', |
| 32 | #'../include/views/SkOSWindow_wxwidgets.h', |
| 33 | '../include/views/SkProgressBarView.h', |
| 34 | '../include/views/SkScrollBarView.h', |
| 35 | '../include/views/SkStackViewLayout.h', |
| 36 | '../include/views/SkSystemEventTypes.h', |
| 37 | '../include/views/SkTouchGesture.h', |
| 38 | '../include/views/SkView.h', |
| 39 | '../include/views/SkViewInflate.h', |
| 40 | '../include/views/SkWidget.h', |
| 41 | '../include/views/SkWidgetViews.h', |
| 42 | '../include/views/SkWindow.h', |
| 43 | |
| 44 | '../src/views/SkBGViewArtist.cpp', |
| 45 | '../src/views/SkBorderView.cpp', |
| 46 | '../src/views/SkEvent.cpp', |
| 47 | '../src/views/SkEventSink.cpp', |
| 48 | '../src/views/SkImageView.cpp', |
| 49 | '../src/views/SkListView.cpp', |
| 50 | '../src/views/SkListWidget.cpp', |
| 51 | '../src/views/SkOSMenu.cpp', |
| 52 | '../src/views/SkParsePaint.cpp', |
| 53 | '../src/views/SkProgressBarView.cpp', |
| 54 | '../src/views/SkProgressView.cpp', |
| 55 | '../src/views/SkScrollBarView.cpp', |
| 56 | '../src/views/SkStackViewLayout.cpp', |
| 57 | '../src/views/SkStaticTextView.cpp', |
| 58 | '../src/views/SkTagList.cpp', |
| 59 | '../src/views/SkTagList.h', |
| 60 | '../src/views/SkTextBox.cpp', |
| 61 | '../src/views/SkTouchGesture.cpp', |
| 62 | '../src/views/SkView.cpp', |
| 63 | '../src/views/SkViewInflate.cpp', |
| 64 | '../src/views/SkViewPriv.cpp', |
| 65 | '../src/views/SkViewPriv.h', |
| 66 | '../src/views/SkWidget.cpp', |
| 67 | '../src/views/SkWidgets.cpp', |
| 68 | '../src/views/SkWidgetViews.cpp', |
| 69 | '../src/views/SkWindow.cpp', |
| 70 | ], |
| 71 | 'sources!' : [ |
| 72 | '../src/views/SkListView.cpp', #depends on missing SkListSource implementation |
| 73 | '../src/views/SkListWidget.cpp', #depends on missing SkListSource implementation |
| 74 | ], |
| 75 | 'conditions': [ |
| 76 | [ 'OS == "win"', { |
| 77 | 'sources': [ |
| 78 | '../src/utils/win/SkOSWindow_Win.cpp', |
| 79 | '../src/utils/win/skia_win.cpp', |
| 80 | ], |
| 81 | }], |
| 82 | [ 'OS == "mac"', { |
| 83 | 'sources': [ |
| 84 | '../include/utils/SkCGUtils.h', |
| 85 | #'../src/utils/mac/SkBitmap_Mac.cpp', |
| 86 | '../src/utils/mac/SkCreateCGImageRef.cpp', |
| 87 | '../src/utils/mac/SkEGLContext_mac.cpp', |
| 88 | '../src/utils/mac/skia_mac.cpp', |
| 89 | '../src/utils/mac/SkOSWindow_Mac.cpp', |
| 90 | ], |
| 91 | 'link_settings': { |
| 92 | 'libraries': [ |
| 93 | '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
| 94 | '$(SDKROOT)/System/Library/Frameworks/AGL.framework', |
| 95 | ], |
| 96 | }, |
| 97 | }], |
| 98 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', { |
| 99 | 'include_dirs' : [ |
| 100 | '../include/utils/unix', |
| 101 | ], |
| 102 | 'sources': [ |
| 103 | '../src/utils/unix/keysym2ucs.c', |
| 104 | '../src/utils/unix/SkOSWindow_Unix.cpp', |
| 105 | '../unix_test_app/main.cpp', |
| 106 | ], |
| 107 | }], |
| 108 | ], |
| 109 | 'direct_dependent_settings': { |
| 110 | 'include_dirs': [ |
| 111 | '../include/views', |
| 112 | ], |
| 113 | }, |
| 114 | }, |
| 115 | ], |
| 116 | } |
| 117 | |
| 118 | # Local Variables: |
| 119 | # tab-width:2 |
| 120 | # indent-tabs-mode:nil |
| 121 | # End: |
| 122 | # vim: set expandtab tabstop=2 shiftwidth=2: |