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

Issue 6428064: Add NaCl port of Skia (Closed)

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

Description

Add NaCl port of Skia Initial commit. This is far from done. Committed: https://code.google.com/p/skia/source/detail?r=5398

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+636 lines, -13 lines) Patch
A nacl/Makefile View 1 2 3 4 1 chunk +82 lines, -0 lines 0 comments Download
A nacl/favicon.ico View Binary file 0 comments Download
A nacl/httpd.py View 1 chunk +212 lines, -0 lines 0 comments Download
A nacl/index.html View 1 chunk +103 lines, -0 lines 0 comments Download
A nacl/skia_nacl.nmf View 1 chunk +6 lines, -0 lines 0 comments Download
A nacl/src/skia_nacl.cpp View 1 chunk +197 lines, -0 lines 0 comments Download
M trunk/gyp/common_variables.gypi View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M trunk/gyp/ports.gyp View 1 2 3 4 1 chunk +26 lines, -13 lines 0 comments Download
M trunk/gyp/utils.gyp View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 7
EricB
This makes the necessary changes to our build system in order to build under NaCl ...
11 years, 10 months ago (2012-09-04 16:43:20 UTC) #1
reed1
WDIK (what do I know) -- deferring to elliot
11 years, 10 months ago (2012-09-04 16:51:11 UTC) #2
epoger
On 2012/09/04 16:51:11, reed1 wrote: > WDIK (what do I know) -- deferring to elliot ...
11 years, 10 months ago (2012-09-04 17:29:25 UTC) #3
EricB
I'll describe things briefly here, so that it's on the record. I added a 'nacl' ...
11 years, 10 months ago (2012-09-04 17:50:17 UTC) #4
epoger
LGTM Thanks for the explanation... On 2012/09/04 17:50:17, EricB wrote: > I'll describe things briefly ...
11 years, 10 months ago (2012-09-04 18:38:04 UTC) #5
bungeman
> I'm curious as to whether changes like these might be > needed for the ...
11 years, 10 months ago (2012-09-04 18:49:26 UTC) #6
EricB
11 years, 10 months ago (2012-09-04 18:53:52 UTC) #7
On 2012/09/04 18:38:04, epoger wrote:
> So, if I understand this right...
> 
> - The Makefile added here is for building the sample NaCl application
> (skia_nacl) which happens to use the Skia library.  You need to put this
> Makefile, manifest, etc. within the naclports environment in order for it to
> build.
> 

Correct, except that it can be built in place.  It just requires that libskia.a
exists in the right location inside your NaCl SDK.

> - The gyp changes are required to build a skia library that will link properly
> into the skia_nacl sample app.  (Even with these changes, the Skia library is
> still built independently of the naclports environment.  Hence it can still
use
> our gyp framework, as opposed to the naclports repository, which doesn't
appear
> to use gyp.)
> 

Correct.  The typical install process for a library in naclports is to download
a source tarball, unzip it, compile the sources, copy the libraries into the
NaCl SDK, and then clean up, deleting the sources and everything that was
downloaded.  This is the process that I have hacked up, because of the bug which
bungeman@ just posted.  Right now, I expose several of the libraries as
top-level targets via an on-the-fly patch, build those targets, grep for the
object files produced in building them, and wrap those up in a new libskia.a.  I
guess I'll have to tackle issue #459 next.

Most of these changes have to do with NaCl's sandboxing not giving us access to
typical system stuff, so they belong inside the conditionals.
Sign in to reply to this message.

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