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

Issue 1897523002: Use visual studio toolchain from depot_tools for PDFium compilation (Closed)

Created:
4 years, 8 months ago by Wei Li
Modified:
4 years, 7 months ago
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Use visual studio toolchain from depot_tools for PDFium compilation Change to use visual studio toolchain from depot_tools by default. Setting DEPOT_TOOLS_WIN_TOOLCHAIN=0 allows compilation using system toolchain as before. Using toolchain from depot_tools unifies the compilation environment, and brings the benefits of automated update, bug fixes etc. Committed: https://pdfium.googlesource.com/pdfium/+/590f2d9e057a0d5b17a9706affd3c6115265021b

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase and address comments #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+460 lines, -2 lines) Patch
M .gitignore View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M DEPS View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A build_gyp/find_depot_tools.py View 1 2 1 chunk +60 lines, -0 lines 0 comments Download
M build_gyp/gyp_pdfium View 1 2 3 chunks +15 lines, -2 lines 0 comments Download
A build_gyp/vs_toolchain.py View 1 2 1 chunk +378 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
Wei Li
PTAL, thanks
4 years, 8 months ago (2016-04-15 20:13:47 UTC) #2
Tom Sepez
Deferring to bruce (for windows-fu) and lei (for python-fu).
4 years, 8 months ago (2016-04-15 20:20:38 UTC) #4
Wei Li
FYI, find_depot_tools and vs_toolchain are copies from chromium with only a path setting change in ...
4 years, 8 months ago (2016-04-15 20:49:00 UTC) #5
brucedawson
On 2016/04/15 20:49:00, Wei Li wrote: > FYI, find_depot_tools and vs_toolchain are copies from chromium ...
4 years, 8 months ago (2016-04-15 21:38:07 UTC) #6
Lei Zhang
Are the Python files just exact copies of the same files in the Chromium repo?
4 years, 8 months ago (2016-04-15 21:58:51 UTC) #7
Wei Li
@brucedawson, thanks, I ran through GYP/GN chromium builds without problems. @Lei, other than the copy ...
4 years, 8 months ago (2016-04-16 01:05:01 UTC) #8
Lei Zhang
https://codereview.chromium.org/1897523002/diff/1/build/find_depot_tools.py File build/find_depot_tools.py (right): https://codereview.chromium.org/1897523002/diff/1/build/find_depot_tools.py#newcode2 build/find_depot_tools.py:2: # Copyright 2016 PDFium Authors. All rights reserved. IANAL, ...
4 years, 8 months ago (2016-04-18 20:58:03 UTC) #9
Wei Li
thanks https://codereview.chromium.org/1897523002/diff/1/build/find_depot_tools.py File build/find_depot_tools.py (right): https://codereview.chromium.org/1897523002/diff/1/build/find_depot_tools.py#newcode2 build/find_depot_tools.py:2: # Copyright 2016 PDFium Authors. All rights reserved. ...
4 years, 8 months ago (2016-04-18 22:22:01 UTC) #10
brucedawson
I tried testing this on my stand-alone pdfium repo and hit lots of errors. Some ...
4 years, 8 months ago (2016-04-22 23:43:27 UTC) #11
Wei Li
On 2016/04/22 23:43:27, brucedawson wrote: > I tried testing this on my stand-alone pdfium repo ...
4 years, 8 months ago (2016-04-23 00:28:43 UTC) #12
Wei Li
Rebased, pls try, thanks!
4 years, 8 months ago (2016-04-23 03:07:48 UTC) #13
brucedawson
On 2016/04/23 03:07:48, Wei Li wrote: > Rebased, pls try, thanks! Yep, seems to work. ...
4 years, 7 months ago (2016-04-27 00:57:34 UTC) #14
Lei Zhang
lgtm
4 years, 7 months ago (2016-04-27 20:13:35 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1897523002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1897523002/40001
4 years, 7 months ago (2016-04-27 20:42:50 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://pdfium.googlesource.com/pdfium/+/590f2d9e057a0d5b17a9706affd3c6115265021b
4 years, 7 months ago (2016-04-27 21:07:00 UTC) #19
Wei Li
4 years, 7 months ago (2016-04-27 23:14:22 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1922373003/ by weili@chromium.org.

The reason for reverting is: Clang build is broken. drm build has some problem.
Will revert this change for now..

Powered by Google App Engine
This is Rietveld 408576698