| { |
| 'includes': [ |
| 'common.gypi', |
| ], |
| 'targets': [ |
| { |
| 'target_name': 'views', |
| 'type': 'static_library', |
| 'include_dirs': [ |
| '../include/config', |
| '../include/core', |
| '../include/views', |
| '../include/xml', |
| '../include/utils', |
| '../include/images', |
| '../include/animator', |
| '../include/effects', |
| ], |
| 'sources': [ |
| '../include/views/SkApplication.h', |
| '../include/views/SkBGViewArtist.h', |
| '../include/views/SkBorderView.h', |
| '../include/views/SkEvent.h', |
| '../include/views/SkEventSink.h', |
| '../include/views/SkImageView.h', |
| '../include/views/SkKey.h', |
| '../include/views/SkOSMenu.h', |
| '../include/views/SkOSWindow_Mac.h', |
| '../include/views/SkOSWindow_SDL.h', |
| '../include/views/SkOSWindow_Unix.h', |
| '../include/views/SkOSWindow_Win.h', |
| #'../include/views/SkOSWindow_wxwidgets.h', |
| '../include/views/SkProgressBarView.h', |
| '../include/views/SkScrollBarView.h', |
| '../include/views/SkStackViewLayout.h', |
| '../include/views/SkSystemEventTypes.h', |
| '../include/views/SkTouchGesture.h', |
| '../include/views/SkView.h', |
| '../include/views/SkViewInflate.h', |
| '../include/views/SkWidget.h', |
| '../include/views/SkWidgetViews.h', |
| '../include/views/SkWindow.h', |
| |
| '../src/views/SkBGViewArtist.cpp', |
| '../src/views/SkBorderView.cpp', |
| '../src/views/SkEvent.cpp', |
| '../src/views/SkEventSink.cpp', |
| '../src/views/SkImageView.cpp', |
| '../src/views/SkListView.cpp', |
| '../src/views/SkListWidget.cpp', |
| '../src/views/SkOSMenu.cpp', |
| '../src/views/SkParsePaint.cpp', |
| '../src/views/SkProgressBarView.cpp', |
| '../src/views/SkProgressView.cpp', |
| '../src/views/SkScrollBarView.cpp', |
| '../src/views/SkStackViewLayout.cpp', |
| '../src/views/SkStaticTextView.cpp', |
| '../src/views/SkTagList.cpp', |
| '../src/views/SkTagList.h', |
| '../src/views/SkTextBox.cpp', |
| '../src/views/SkTouchGesture.cpp', |
| '../src/views/SkView.cpp', |
| '../src/views/SkViewInflate.cpp', |
| '../src/views/SkViewPriv.cpp', |
| '../src/views/SkViewPriv.h', |
| '../src/views/SkWidget.cpp', |
| '../src/views/SkWidgets.cpp', |
| '../src/views/SkWidgetViews.cpp', |
| '../src/views/SkWindow.cpp', |
| ], |
| 'sources!' : [ |
| '../src/views/SkListView.cpp', #depends on missing SkListSource implementation |
| '../src/views/SkListWidget.cpp', #depends on missing SkListSource implementation |
| ], |
| 'conditions': [ |
| [ 'skia_os == "mac"', { |
| 'link_settings': { |
| 'libraries': [ |
| '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| ], |
| }, |
| }], |
| [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { |
| 'sources': [ |
| '../unix_test_app/main.cpp', |
| ], |
| }], |
| [ 'skia_os == "android"', { |
| # Android does not support animator so we need to remove all files |
| # that have references to it. |
| 'include_dirs!': [ |
| '../include/animator', |
| ], |
| 'sources!': [ |
| '../src/views/SkBorderView.cpp', |
| '../src/views/SkImageView.cpp', |
| '../src/views/SkProgressBarView.cpp', |
| '../src/views/SkScrollBarView.cpp', |
| '../src/views/SkStaticTextView.cpp', |
| '../src/views/SkWidgetViews.cpp', |
| ], |
| }], |
| ], |
| 'direct_dependent_settings': { |
| 'include_dirs': [ |
| '../include/views', |
| ], |
| }, |
| }, |
| ], |
| } |
| |
| # Local Variables: |
| # tab-width:2 |
| # indent-tabs-mode:nil |
| # End: |
| # vim: set expandtab tabstop=2 shiftwidth=2: |