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

Issue 6619049: Build Skia as a static library (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by EricB
Modified:
7 years, 7 months ago
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Build Skia as a static library - Roll GYP so that we get non-thin archives on Linux - Add merge_static_libs.py - Add skia_core_lib target which builds core, ports, opts*, and utils - Replace dependencies on core/ports/opts/utils with skia_core_libs - Rename exportable libraries with "skia_" Committed: https://code.google.com/p/skia/source/detail?r=5889

Patch Set 1 #

Patch Set 2 : #

Total comments: 18

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Total comments: 19

Patch Set 13 : #

Patch Set 14 : #

Total comments: 2

Patch Set 15 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -143 lines) Patch
M DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M Makefile View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +6 lines, -1 line 0 comments Download
M gyp/FileReaderApp.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -4 lines 0 comments Download
M gyp/SampleApp.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +1 line, -7 lines 0 comments Download
M gyp/SimpleCocoaApp.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -4 lines 0 comments Download
M gyp/SimpleiOSApp.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -4 lines 0 comments Download
R gyp/animator.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M gyp/bench.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +2 lines, -11 lines 0 comments Download
M gyp/common_conditions.gypi View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M gyp/common_variables.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +15 lines, -12 lines 0 comments Download
M gyp/core.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +20 lines, -0 lines 0 comments Download
M gyp/debugger.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -4 lines 0 comments Download
M gyp/effects.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -5 lines 0 comments Download
M gyp/gm.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +1 line, -7 lines 0 comments Download
M gyp/gpu.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -0 lines 0 comments Download
M gyp/images.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M gyp/opts.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +6 lines, -0 lines 0 comments Download
M gyp/pdf.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -3 lines 0 comments Download
M gyp/ports.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M gyp/sfnt.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M gyp/shapeops_demo.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +1 line, -9 lines 0 comments Download
M gyp/shapeops_edge.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -7 lines 0 comments Download
A gyp/skia_base_libs.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +47 lines, -0 lines 0 comments Download
M gyp/svg.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M gyp/tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -7 lines 0 comments Download
M gyp/tools.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +22 lines, -46 lines 0 comments Download
M gyp/utils.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -3 lines 0 comments Download
M gyp/views.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -5 lines 0 comments Download
M gyp/xml.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M gyp/xps.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -2 lines 0 comments Download
M skia.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
A tools/merge_static_libs.py View 1 2 3 4 5 6 7 8 1 chunk +66 lines, -0 lines 0 comments Download

Messages

Total messages: 21
EricB
I don't think this is quite ready to go, but I'd like some feedback on ...
11 years, 7 months ago (2012-10-04 21:57:59 UTC) #1
EricB
On 2012/10/04 21:57:59, EricB wrote: > I don't think this is quite ready to go, ...
11 years, 7 months ago (2012-10-05 12:47:18 UTC) #2
DerekS
from the end user perspective I like the idea of being able to call 'make ...
11 years, 7 months ago (2012-10-05 13:52:27 UTC) #3
epoger
On 2012/10/04 21:57:59, EricB wrote: > I don't think this is quite ready to go, ...
11 years, 7 months ago (2012-10-05 16:26:01 UTC) #4
epoger
On 2012/10/05 16:26:01, epoger wrote: > On 2012/10/04 21:57:59, EricB wrote: > > I don't ...
11 years, 7 months ago (2012-10-05 16:26:36 UTC) #5
epoger
I think this is pretty much right, ASSUMING that we want this particular set of ...
11 years, 7 months ago (2012-10-05 17:12:05 UTC) #6
EricB
This is getting closer. A couple of things I'm not happy with: - The merge_static_libs ...
11 years, 7 months ago (2012-10-05 20:52:23 UTC) #7
EricB
Uploaded patch set 12. I made merge_static_libraries.py work with both thin and non-thin static libraries. ...
11 years, 7 months ago (2012-10-08 14:44:48 UTC) #8
epoger
I'm getting concerned about the unwieldy / potentially difficult-to-maintain nature of this change. Details within. ...
11 years, 7 months ago (2012-10-09 16:14:06 UTC) #9
EricB
https://codereview.appspot.com/6619049/diff/13064/Makefile File Makefile (right): https://codereview.appspot.com/6619049/diff/13064/Makefile#newcode33 Makefile:33: bench \ On 2012/10/09 16:14:07, epoger wrote: > I'm ...
11 years, 7 months ago (2012-10-09 17:51:57 UTC) #10
bsalomon
https://codereview.appspot.com/6619049/diff/13064/gyp/bench.gyp File gyp/bench.gyp (right): https://codereview.appspot.com/6619049/diff/13064/gyp/bench.gyp#newcode27 gyp/bench.gyp:27: '../src/gpu', On 2012/10/09 17:51:57, EricB wrote: > On 2012/10/09 ...
11 years, 7 months ago (2012-10-09 18:35:56 UTC) #11
epoger
https://codereview.appspot.com/6619049/diff/13064/Makefile File Makefile (right): https://codereview.appspot.com/6619049/diff/13064/Makefile#newcode33 Makefile:33: bench \ On 2012/10/09 17:51:57, EricB wrote: > On ...
11 years, 7 months ago (2012-10-09 18:58:27 UTC) #12
EricB
https://codereview.appspot.com/6619049/diff/13064/Makefile File Makefile (right): https://codereview.appspot.com/6619049/diff/13064/Makefile#newcode33 Makefile:33: bench \ On 2012/10/09 18:58:27, epoger wrote: > On ...
11 years, 7 months ago (2012-10-09 19:18:09 UTC) #13
epoger
My brain runneth over. If there is consensus among Eric/Brian/Derek that this is the right ...
11 years, 7 months ago (2012-10-09 19:35:05 UTC) #14
DerekS
On 2012/10/09 19:35:05, epoger wrote: > My brain runneth over. > > If there is ...
11 years, 7 months ago (2012-10-09 20:00:54 UTC) #15
bsalomon
On 2012/10/09 20:00:54, DerekS wrote: > On 2012/10/09 19:35:05, epoger wrote: > > My brain ...
11 years, 7 months ago (2012-10-09 20:58:53 UTC) #16
EricB
Per today's discussion, I have modified the CL: - No longer "merge" multiple static libraries ...
11 years, 7 months ago (2012-10-10 15:54:49 UTC) #17
epoger
LGTM I think you have walked this tightrope just right. I still have one question, ...
11 years, 7 months ago (2012-10-10 16:17:59 UTC) #18
EricB
Uploaded patch set 15. https://codereview.appspot.com/6619049/diff/25006/gyp/core.gyp File gyp/core.gyp (right): https://codereview.appspot.com/6619049/diff/25006/gyp/core.gyp#newcode6 gyp/core.gyp:6: 'product_name': 'skia_core', On 2012/10/10 16:17:59, ...
11 years, 7 months ago (2012-10-10 17:51:05 UTC) #19
EricB
Uploaded patch set 15.
11 years, 7 months ago (2012-10-10 18:19:17 UTC) #20
epoger
11 years, 7 months ago (2012-10-10 19:09:17 UTC) #21
LGTM
Sign in to reply to this message.

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