Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2831)

Issue 5306089: Adding support to trunk for building Skia using the Android NDK. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by DerekS
Modified:
12 years, 8 months ago
Reviewers:
epoger, bsalomon, reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Adding support to trunk for building Skia using the Android NDK. This CL depends on a subsequent CL to add the appropriate NDK toolchain and system sources to the skia repo. Review URL: http://codereview.appspot.com/5306089/ Committed: http://code.google.com/p/skia/source/detail?r=2592

Patch Set 1 #

Total comments: 29

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1337 lines, -220 lines) Patch
M bench/BenchTimer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M gyp/SampleApp.gyp View 1 1 chunk +19 lines, -1 line 0 comments Download
A gyp/android_system.gyp View 1 1 chunk +152 lines, -0 lines 0 comments Download
M gyp/bench.gypi View 1 1 chunk +3 lines, -2 lines 0 comments Download
M gyp/common_conditions.gypi View 1 chunk +44 lines, -0 lines 0 comments Download
M gyp/core.gyp View 1 chunk +18 lines, -0 lines 0 comments Download
M gyp/gpu.gyp View 1 3 chunks +17 lines, -0 lines 0 comments Download
M gyp/images.gyp View 1 chunk +10 lines, -1 line 0 comments Download
M gyp/opts.gyp View 1 chunk +29 lines, -5 lines 0 comments Download
M gyp/xml.gyp View 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkOSFile.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkPreConfig.h View 3 chunks +11 lines, -2 lines 0 comments Download
M include/gpu/SkNativeGLContext.h View 3 chunks +12 lines, -0 lines 0 comments Download
A samplecode/SampleApp_android.cpp View 1 chunk +375 lines, -0 lines 0 comments Download
A src/gpu/android/GrGLCreateNativeInterface_android.cpp View 1 chunk +120 lines, -0 lines 0 comments Download
D src/gpu/android/GrGLDefaultInterface_android.cpp View 1 chunk +0 lines, -120 lines 0 comments Download
A src/gpu/android/SkNativeGLContext_android.cpp View 1 chunk +104 lines, -0 lines 0 comments Download
A src/ports/FontHostConfiguration_android.h View 1 1 chunk +42 lines, -0 lines 0 comments Download
A src/ports/FontHostConfiguration_android.cpp View 1 1 chunk +195 lines, -0 lines 0 comments Download
M src/ports/SkFontHost_FreeType.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/ports/SkFontHost_android.cpp View 9 chunks +179 lines, -83 lines 0 comments Download
M src/utils/SkOSFile.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
DerekS
12 years, 8 months ago (2011-11-02 17:10:11 UTC) #1
DerekS
12 years, 8 months ago (2011-11-02 17:27:47 UTC) #2
bsalomon
The parts I understand LGTM. http://codereview.appspot.com/5306089/diff/1/gyp/gpu.gyp File gyp/gpu.gyp (right): http://codereview.appspot.com/5306089/diff/1/gyp/gpu.gyp#newcode336 gyp/gpu.gyp:336: '-DGL_GLEXT_PROTOTYPES', Maybe these should ...
12 years, 8 months ago (2011-11-02 17:39:52 UTC) #3
epoger
http://codereview.appspot.com/5306089/diff/1/bench/BenchTimer.cpp File bench/BenchTimer.cpp (right): http://codereview.appspot.com/5306089/diff/1/bench/BenchTimer.cpp#newcode13 bench/BenchTimer.cpp:13: #elif defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID) So I guess you need ...
12 years, 8 months ago (2011-11-02 18:32:00 UTC) #4
DerekS
http://codereview.appspot.com/5306089/diff/1/bench/BenchTimer.cpp File bench/BenchTimer.cpp (right): http://codereview.appspot.com/5306089/diff/1/bench/BenchTimer.cpp#newcode13 bench/BenchTimer.cpp:13: #elif defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID) Not necessarily, there may be ...
12 years, 8 months ago (2011-11-02 19:19:14 UTC) #5
epoger
12 years, 8 months ago (2011-11-02 21:26:25 UTC) #6
LGTM

http://codereview.appspot.com/5306089/diff/1/gyp/SampleApp.gyp
File gyp/SampleApp.gyp (right):

http://codereview.appspot.com/5306089/diff/1/gyp/SampleApp.gyp#newcode276
gyp/SampleApp.gyp:276: '../include/utils',
On 2011/11/02 19:19:14, djsollen wrote:
> It is only needed by SampleApp_android.cpp so this seemed like the right place
> to put it.  I can move it to the standard include directory since that won't
> hurt anything. 
> 
> On 2011/11/02 18:32:00, epoger wrote:
> > Are you sure you need to add ../include/utils?   What is android-specific
> about
> > this need?
> 

Please try removing it (if you didn't already); I suspect it is already provided
for you by line 150 of utils.gyp since this target depends on utils.gyp.

OK with me for you to commit with or without this, though.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b