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

Issue 2576573002: Move enable_pdf to a buildflag header. (Closed)

Created:
4 years ago by brettw
Modified:
4 years ago
Reviewers:
raymes
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move enable_pdf to a buildflag header. Removes the build flag from //build/config and moves it to a new .gni file in //pdf. Converts the define to a BUILDFLAG. Makes it possible to unconditionally depend on "//pdf" without checking the enable_pdf flag. This cleans up most of the callers. There is still a dependency on plugins and this assertion is moved to the top of //chrome/common/BUILD.gn. The assertion for the printing dependency on PDF is moved to the //printing/BUILD.gn so the enable_pdf flag isn't injected everywhere enable_printing is needed. Committed: https://crrev.com/e5cc5c689fef092ac8b0f9bf91caeff492c4e857 Cr-Commit-Position: refs/heads/master@{#438441}

Patch Set 1 #

Patch Set 2 : String #

Patch Set 3 : Merge #

Patch Set 4 : Paths #

Patch Set 5 : Engine #

Total comments: 2

Patch Set 6 : No Chromecast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -109 lines) Patch
M build/config/BUILD.gn View 1 chunk +0 lines, -3 lines 0 comments Download
M build/config/features.gni View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/BUILD.gn View 1 2 6 chunks +4 lines, -15 lines 0 comments Download
M chrome/app/BUILD.gn View 2 chunks +1 line, -4 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/common/BUILD.gn View 1 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download
M pdf/BUILD.gn View 1 2 3 4 5 1 chunk +82 lines, -69 lines 0 comments Download
A pdf/features.gni View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M printing/BUILD.gn View 2 chunks +8 lines, -0 lines 0 comments Download
M printing/features/features.gni View 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 34 (23 generated)
brettw
String
4 years ago (2016-12-13 20:21:51 UTC) #2
brettw
4 years ago (2016-12-13 20:22:14 UTC) #5
brettw
Merge
4 years ago (2016-12-13 20:28:57 UTC) #9
brettw
Paths
4 years ago (2016-12-13 20:48:12 UTC) #14
brettw
Engine
4 years ago (2016-12-13 21:09:04 UTC) #19
raymes
lgtm but my gn foo isn't very good at all. https://codereview.chromium.org/2576573002/diff/80001/pdf/BUILD.gn File pdf/BUILD.gn (right): https://codereview.chromium.org/2576573002/diff/80001/pdf/BUILD.gn#newcode6 ...
4 years ago (2016-12-14 00:57:16 UTC) #24
brettw
https://codereview.chromium.org/2576573002/diff/80001/pdf/BUILD.gn File pdf/BUILD.gn (right): https://codereview.chromium.org/2576573002/diff/80001/pdf/BUILD.gn#newcode6 pdf/BUILD.gn:6: import("//build/config/chromecast_build.gni") On 2016/12/14 00:57:16, raymes wrote: > is this ...
4 years ago (2016-12-14 03:39:42 UTC) #25
brettw
No Chromecast
4 years ago (2016-12-14 03:39:47 UTC) #26
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/2576573002/100001
4 years ago (2016-12-14 03:40:15 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-14 05:28:07 UTC) #32
commit-bot: I haz the power
4 years ago (2016-12-14 05:30:17 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e5cc5c689fef092ac8b0f9bf91caeff492c4e857
Cr-Commit-Position: refs/heads/master@{#438441}

Powered by Google App Engine
This is Rietveld 408576698