Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Issue 214883005: Add Skia to the GN build. (Closed)

Created:
6 years, 8 months ago by brettw
Modified:
6 years, 8 months ago
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Add Skia to the GN build. This makes the GN build of Skia compile and adds it to the GN build. Previously, the configuration of the GN Skia tried to match the confusing array of skia targets. This new version dispenses with that and just adds all files (except SSE ones) to one target. I'm not even sure if it's necessary to split out the SSE ones, but it seems nice since that target will get more complicated when we add Arm and MIPS support. I audited the defines again and added some to the main build config that had been added to the GYP build recently. This improves some operator error messages that I found confusing when I had errors in my file. BUG= R=djsollen@google.com, scottmg@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262779

Patch Set 1 #

Total comments: 2

Patch Set 2 : separate out files #

Patch Set 3 : #

Patch Set 4 : Updates to skia files. #

Patch Set 5 : sync #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+1275 lines, -1321 lines) Patch
M BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 2 comments Download
M base/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M build/config/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M build/config/arm.gni View 1 chunk +2 lines, -4 lines 0 comments Download
A skia/BUILD.gn View 1 2 3 1 chunk +368 lines, -0 lines 0 comments Download
A skia/skia_gn_files.gypi View 1 2 3 4 1 chunk +880 lines, -0 lines 2 comments Download
M tools/gn/operators.cc View 3 chunks +19 lines, -10 lines 0 comments Download
M tools/gn/secondary/skia/BUILD.gn View 1 1 chunk +0 lines, -1307 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
brettw
6 years, 8 months ago (2014-04-02 16:52:12 UTC) #1
scottmg
lgtm
6 years, 8 months ago (2014-04-02 16:59:23 UTC) #2
scottmg
https://codereview.chromium.org/214883005/diff/1/tools/gn/operators.cc File tools/gn/operators.cc (right): https://codereview.chromium.org/214883005/diff/1/tools/gn/operators.cc#newcode421 tools/gn/operators.cc:421: "\" instead."); do these need the AppendRange still?
6 years, 8 months ago (2014-04-02 17:03:22 UTC) #3
brettw
https://codereview.chromium.org/214883005/diff/1/tools/gn/operators.cc File tools/gn/operators.cc (right): https://codereview.chromium.org/214883005/diff/1/tools/gn/operators.cc#newcode421 tools/gn/operators.cc:421: "\" instead."); No. I don't know what I was ...
6 years, 8 months ago (2014-04-02 17:06:01 UTC) #4
brettw
+Derek for SKia
6 years, 8 months ago (2014-04-03 20:30:20 UTC) #5
djsollen
6 years, 8 months ago (2014-04-03 20:50:53 UTC) #6
djsollen
Unfortunately, the Skia gyp is currently not able to have one large target because of ...
6 years, 8 months ago (2014-04-04 12:36:11 UTC) #7
brettw
On 2014/04/04 12:36:11, djsollen wrote: > Unfortunately, the Skia gyp is currently not able to ...
6 years, 8 months ago (2014-04-04 16:43:04 UTC) #8
brettw
Any other comments? I'd like to get this in soon since it's blocking any more ...
6 years, 8 months ago (2014-04-08 23:48:48 UTC) #9
djsollen
https://codereview.chromium.org/214883005/diff/80001/skia/skia_gn_files.gypi File skia/skia_gn_files.gypi (right): https://codereview.chromium.org/214883005/diff/80001/skia/skia_gn_files.gypi#newcode26 skia/skia_gn_files.gypi:26: 'skia_gpu_sources': [ can you do something like... 'skia_gpu_sources': [ ...
6 years, 8 months ago (2014-04-09 14:22:26 UTC) #10
brettw
https://codereview.chromium.org/214883005/diff/80001/skia/skia_gn_files.gypi File skia/skia_gn_files.gypi (right): https://codereview.chromium.org/214883005/diff/80001/skia/skia_gn_files.gypi#newcode26 skia/skia_gn_files.gypi:26: 'skia_gpu_sources': [ No. This file is not processed by ...
6 years, 8 months ago (2014-04-09 16:22:43 UTC) #11
djsollen
lgtm on the skia dictionaries! I'll work on getting those dictionaries rolled into Skia so ...
6 years, 8 months ago (2014-04-09 17:33:32 UTC) #12
brettw
Committed patchset #5 manually as r262779 (presubmit successful).
6 years, 8 months ago (2014-04-09 19:55:33 UTC) #13
tfarina
https://codereview.chromium.org/214883005/diff/80001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/214883005/diff/80001/BUILD.gn#newcode33 BUILD.gn:33: #"//skia", you forgot to remove this :) or just ...
6 years, 8 months ago (2014-04-12 02:27:13 UTC) #14
brettw
6 years, 8 months ago (2014-04-12 04:42:39 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/214883005/diff/80001/BUILD.gn
File BUILD.gn (right):

https://codereview.chromium.org/214883005/diff/80001/BUILD.gn#newcode33
BUILD.gn:33: #"//skia",
On 2014/04/12 02:27:13, tfarina wrote:
> you forgot to remove this :)
> 
> or just uncomment instead of adding at line 38.
> 
> I will include this "fix" in my https://codereview.chromium.org/230073003/ CL.

sounds good, thanks

Powered by Google App Engine
This is Rietveld 408576698