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

Issue 5933057: .gyp files for ANGLE interface (Closed)

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

Description

.gyp files for ANGLE interface These are the .gyp files required to get the ANGLE GL interface working. From http://codereview.appspot.com/5940046/ here are all the known problems with the .gyps 1) although the SK_MESA flag is only added in common.gypi I found this wasn't sufficient and also needed to add a 'defines' block to common_conditions.gypi. 2) I don't know how to attach ANGLE to Skia correctly so currently have hard paths to the ANGLE libs I (manually) copied to third_party/externals/angle. 3) For some reason the 'libraries' and 'include_dirs' settings in gpu.gyp weren't propagating to the executables so I replicated these blocks in bench.gypi, tests.gyp, gm.gyp and SampleApp.gyp.

Patch Set 1 #

Patch Set 2 : new version from 3/30 remediation session #

Patch Set 3 : Disabled skia_angle variable by default #

Total comments: 8

Patch Set 4 : addressing code review issues #

Total comments: 3

Patch Set 5 : Addressed code review issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -0 lines) Patch
A gyp/angle.gyp View 1 1 chunk +30 lines, -0 lines 0 comments Download
M gyp/common.gypi View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M gyp/common_variables.gypi View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M gyp/gpu.gyp View 1 2 3 4 7 chunks +30 lines, -0 lines 0 comments Download
M gyp/views.gyp View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10
robertphillips
12 years, 5 months ago (2012-03-28 17:09:40 UTC) #1
robertphillips
Here are the updated .gyp files. There is a bit of noise in the diffs ...
12 years, 5 months ago (2012-04-02 12:58:47 UTC) #2
robertphillips
On 2012/04/02 12:58:47, robertphillips wrote: > Here are the updated .gyp files. There is a ...
12 years, 5 months ago (2012-04-02 12:59:37 UTC) #3
bsalomon
On 2012/04/02 12:59:37, robertphillips wrote: > On 2012/04/02 12:58:47, robertphillips wrote: > > Here are ...
12 years, 5 months ago (2012-04-02 13:16:33 UTC) #4
epoger
Almost there... let me know if you'd like to discuss any of these remaining issues ...
12 years, 5 months ago (2012-04-02 14:05:51 UTC) #5
robertphillips
Two out of the three simplifications worked. I don't know why the include_dirs in gpu.gyp ...
12 years, 5 months ago (2012-04-02 15:25:59 UTC) #6
epoger
http://codereview.appspot.com/5933057/diff/11002/gyp/gpu.gyp File gyp/gpu.gyp (right): http://codereview.appspot.com/5933057/diff/11002/gyp/gpu.gyp#newcode4 gyp/gpu.gyp:4: [ 'skia_angle', { On 2012/04/02 15:26:00, robertphillips wrote: > ...
12 years, 5 months ago (2012-04-02 17:26:06 UTC) #7
robertphillips
http://codereview.appspot.com/5933057/diff/11002/gyp/gpu.gyp File gyp/gpu.gyp (right): http://codereview.appspot.com/5933057/diff/11002/gyp/gpu.gyp#newcode4 gyp/gpu.gyp:4: [ 'skia_angle', { That did the trick http://codereview.appspot.com/5933057/diff/13002/gyp/common_variables.gypi File ...
12 years, 5 months ago (2012-04-02 20:34:20 UTC) #8
epoger
LGTM !!!! Thanks for taking the time to get this right!
12 years, 5 months ago (2012-04-02 20:35:17 UTC) #9
robertphillips
12 years, 5 months ago (2012-04-02 21:00:33 UTC) #10
committed as r3580
Sign in to reply to this message.

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