diff options
author | yangsu@google.com <yangsu@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-08-08 15:12:05 +0000 |
---|---|---|
committer | yangsu@google.com <yangsu@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-08-08 15:12:05 +0000 |
commit | f3493f0e1f92a8a284adb93ecbf350401e1c7423 (patch) | |
tree | 6a2e7b99bbcbf566b184b8789c4452ee175f9ff1 /gyp/CocoaSampleApp.gyp | |
parent | 0168afc7196fe82da8af230c93c56f3035d54d2b (diff) |
iOS/Cocoa SampleApp, Drawingboard, and Networking updates
http://codereview.appspot.com/4843041/
http://codereview.appspot.com/4826061/
http://codereview.appspot.com/4832044/
http://codereview.appspot.com/4798055/
git-svn-id: http://skia.googlecode.com/svn/trunk@2058 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp/CocoaSampleApp.gyp')
-rw-r--r-- | gyp/CocoaSampleApp.gyp | 71 |
1 files changed, 25 insertions, 46 deletions
diff --git a/gyp/CocoaSampleApp.gyp b/gyp/CocoaSampleApp.gyp index 90711a88b1..8286f8cc41 100644 --- a/gyp/CocoaSampleApp.gyp +++ b/gyp/CocoaSampleApp.gyp @@ -53,6 +53,7 @@ '../samplecode/SampleDegenerateTwoPtRadials.cpp', '../samplecode/SampleDither.cpp', '../samplecode/SampleDitherBitmap.cpp', + '../samplecode/SampleDrawBitmap.cpp', '../samplecode/SampleDrawLooper.cpp', '../samplecode/SampleEffects.cpp', '../samplecode/SampleEmboss.cpp', @@ -117,6 +118,24 @@ # Dependencies for the pipe code in SampleApp '../src/pipe/SkGPipeRead.cpp', '../src/pipe/SkGPipeWrite.cpp', + + # DrawingBoard + '../experimental/DrawingBoard/SkColorPalette.h', + '../experimental/DrawingBoard/SkColorPalette.cpp', + '../experimental/DrawingBoard/SkNetPipeController.h', + '../experimental/DrawingBoard/SkNetPipeController.cpp', + '../experimental/DrawingBoard/SampleDrawingClient.cpp', + '../experimental/DrawingBoard/SampleDrawingServer.cpp', + + # Networking + '../experimental/Networking/SampleNetPipeReader.cpp', + '../experimental/Networking/SkSockets.cpp', + '../experimental/Networking/SkSockets.h', + + # Transition + '../src/utils/SkInterpolator.cpp', + '../include/utils/SkInterpolator.h', + '../samplecode/TransitionView.cpp', ], 'sources!': [ '../samplecode/SampleSkLayer.cpp', #relies on SkMatrix44 which doesn't compile @@ -163,14 +182,12 @@ '../experimental/CocoaSampleApp/SampleAppDelegate.mm', '../experimental/CocoaSampleApp/SkNSView.h', '../experimental/CocoaSampleApp/SkNSView.mm', - '../experimental/CocoaSampleApp/SkOSWindow_Mac.h', - '../experimental/CocoaSampleApp/SkOSWindow_Mac.mm', '../experimental/CocoaSampleApp/SkOptionsTableView.h', '../experimental/CocoaSampleApp/SkOptionsTableView.mm', + '../experimental/CocoaSampleApp/SkOSWindow_Mac.h', + '../experimental/CocoaSampleApp/SkOSWindow_Mac.mm', '../experimental/CocoaSampleApp/SkTextFieldCell.h', '../experimental/CocoaSampleApp/SkTextFieldCell.m', - '../experimental/SkSockets.h', - '../experimental/SkSockets.cpp', '../experimental/SkEventNotifier.h', '../experimental/SkEventNotifier.mm', ], @@ -181,6 +198,10 @@ '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', ], + 'libraries!': [ + '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', + '$(SDKROOT)/System/Library/Frameworks/AGL.framework', + ], }, 'xcode_settings' : { 'INFOPLIST_FILE' : '../experimental/CocoaSampleApp/SampleApp-Info.plist', @@ -189,48 +210,6 @@ '../experimental/CocoaSampleApp/SampleApp.xib', ], }], - [ 'skia_os == "ios"', { - # TODO: This doesn't build properly yet, but it's getting there. - 'sources!': [ - '../samplecode/SampleDecode.cpp', - ], - 'sources': [ - '../experimental/iOSSampleApp/SkIOSNotifier.mm', - '../experimental/iOSSampleApp/SkTime_iOS.mm', - '../experimental/iOSSampleApp/SkUIDetailViewController.mm', - '../experimental/iOSSampleApp/SkUIRootViewController.mm', - '../experimental/iOSSampleApp/SkUIView_shell.mm', - - '../experimental/iOSSampleApp/iOSSampleApp_Prefix.pch', - '../experimental/iOSSampleApp/Shared/main.m', - '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.mm', - '../experimental/iOSSampleApp/iPad/SkUISplitViewController.mm', - '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm', - '../experimental/iOSSampleApp/iPhone/SkUINavigationController.mm', - - '../src/utils/ios/SkOSWindow_iOS.mm', - '../src/utils/ios/SkImageDecoder_iOS.mm', - '../src/utils/ios/SkStream_NSData.mm', - '../src/utils/ios/SkOSFile_iOS.mm', - - '../src/utils/mac/SkCreateCGImageRef.cpp', - '../experimental/iOSSampleApp/SkiOSSampleApp-Debug.xcconfig', - '../experimental/iOSSampleApp/SkiOSSampleApp-Release.xcconfig', - ], - 'include_dirs' : [ - '../experimental/iOSSampleApp', - '../experimental/iOSSampleApp/iPad', - '../experimental/iOSSampleApp/iPhone', - '../include/utils/ios', - '../../gpu/include', - ], - 'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig', - 'mac_bundle_resources' : [ - '../experimental/iOSSampleApp/iPad/MainWindow_iPad.xib', - '../experimental/iOSSampleApp/iPhone/MainWindow_iPhone.xib', - ], - }], - ], 'msvs_settings': { 'VCLinkerTool': { |