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

Issue 2299143005: Inline core HTML and SVG sources in the GN build. (Closed)

Created:
4 years, 3 months ago by brettw
Modified:
4 years, 3 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, blink-reviews-style_chromium.org, zoltan1, rwlbuis, blink-reviews-layout_chromium.org, blink-reviews-html_chromium.org, eae+blinkwatch, leviw+renderwatch, fs, dglazkov+blink, krit, f(malita), jchaffraix+rendering, blink-reviews, gyuyoung2, Stephen Chennney, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Inline core SVG sources in the GN build. This adds targets in the corresponding directories where the various SVG files live. The SVG files are kept in separate targets in the "layout" and "style" subdirectories so that the current separation of SVG code is maintained. TBR=dpranke Committed: https://crrev.com/1dd4387181b432cb60d81ba75e720ea7027824ce Cr-Commit-Position: refs/heads/master@{#416283}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+946 lines, -909 lines) Patch
M third_party/WebKit/Source/core/BUILD.gn View 2 chunks +4 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/core/core.gni View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/core.gypi View 1 chunk +0 lines, -871 lines 0 comments Download
A third_party/WebKit/Source/core/html/BUILD.gn View 1 chunk +520 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/layout/svg/BUILD.gn View 1 chunk +111 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/core/style/BUILD.gn View 1 chunk +3 lines, -10 lines 0 comments Download
A third_party/WebKit/Source/core/svg/BUILD.gn View 1 chunk +308 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (9 generated)
brettw
4 years, 3 months ago (2016-09-01 22:37:54 UTC) #2
brettw
You already reviewed some patches in this vein and Dimitri said keeping SVG separated like ...
4 years, 3 months ago (2016-09-02 16:40:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2299143005/1
4 years, 3 months ago (2016-09-02 16:41:22 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-02 16:45:22 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/1dd4387181b432cb60d81ba75e720ea7027824ce Cr-Commit-Position: refs/heads/master@{#416283}
4 years, 3 months ago (2016-09-02 16:46:44 UTC) #14
Dirk Pranke
lgtm
4 years, 3 months ago (2016-09-02 17:01:38 UTC) #15
Nico
4 years, 3 months ago (2016-09-03 03:23:27 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2308953002/ by thakis@chromium.org.

The reason for reverting is: This broke official builds, see
https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/b...
:

C:\b\c\b\win_chrome\src\buildtools\win\gn.exe gen //out/Release --check
  -> returned 1
ERROR at //third_party/WebKit/Source/core/BUILD.gn:52:19: Assignment had no
effect.
    split_count = 5
                  ^
You set the variable "split_count" here and it was unused before it went
out of scope.
See //third_party/WebKit/public/BUILD.gn:53:5: which caused the file to be
included.
    "//third_party/WebKit/Source/core",
    ^---------------------------------

Looks like an easy fix, but I don't have a checkout at hand atm..

Powered by Google App Engine
This is Rietveld 408576698