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

Issue 12224087: fix third_party_headers to work properly on Windows w/ ninja. (Closed)

Created:
7 years, 10 months ago by Dirk Pranke
Modified:
7 years, 10 months ago
Reviewers:
tony, Ryan Sleevi
CC:
chromium-reviews, darin-cc_chromium.org, Ryan Sleevi, scottmg, Nico, jamesr
Visibility:
Public.

Description

fix third_party_headers to work properly on Windows w/ ninja. The setup_third_party.py script was hand-rolling an implementation of os.path.relpath in order to be 2.5 compatible, and that was getting confused when we had to generate forwarding headers from ninja's intermediate directory. This patch reworks the python code to use relpath (since we require 2.6 now) and work the same way regardless of platform or headers being generated, so that we can have a single code path. Full details in the bug. R=tony@chromium.org BUG=175273 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182359

Patch Set 1 #

Patch Set 2 : remove unneeded comment, fix lint warning #

Patch Set 3 : improve comment in WriteForwardingHeader #

Total comments: 9

Patch Set 4 : update w/ review feedback, include <(DEPTH) into include_dirs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -59 lines) Patch
M webkit/support/setup_third_party.gyp View 1 2 3 3 chunks +14 lines, -0 lines 0 comments Download
M webkit/support/setup_third_party.py View 1 2 3 4 chunks +42 lines, -59 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Dirk Pranke
PTAL ... https://codereview.chromium.org/12224087/diff/3001/webkit/support/setup_third_party.gyp File webkit/support/setup_third_party.gyp (right): https://codereview.chromium.org/12224087/diff/3001/webkit/support/setup_third_party.gyp#newcode25 webkit/support/setup_third_party.gyp:25: # already (and always) be in the ...
7 years, 10 months ago (2013-02-09 03:35:12 UTC) #1
Ryan Sleevi
https://codereview.chromium.org/12224087/diff/3001/webkit/support/setup_third_party.gyp File webkit/support/setup_third_party.gyp (right): https://codereview.chromium.org/12224087/diff/3001/webkit/support/setup_third_party.gyp#newcode25 webkit/support/setup_third_party.gyp:25: # already (and always) be in the include_dir path ...
7 years, 10 months ago (2013-02-10 11:06:01 UTC) #2
tony
https://codereview.chromium.org/12224087/diff/3001/webkit/support/setup_third_party.gyp File webkit/support/setup_third_party.gyp (right): https://codereview.chromium.org/12224087/diff/3001/webkit/support/setup_third_party.gyp#newcode25 webkit/support/setup_third_party.gyp:25: # already (and always) be in the include_dir path ...
7 years, 10 months ago (2013-02-11 18:16:50 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/12224087/diff/3001/webkit/support/setup_third_party.gyp File webkit/support/setup_third_party.gyp (right): https://codereview.chromium.org/12224087/diff/3001/webkit/support/setup_third_party.gyp#newcode25 webkit/support/setup_third_party.gyp:25: # already (and always) be in the include_dir path ...
7 years, 10 months ago (2013-02-11 18:19:17 UTC) #4
tony
https://codereview.chromium.org/12224087/diff/3001/webkit/support/setup_third_party.gyp File webkit/support/setup_third_party.gyp (right): https://codereview.chromium.org/12224087/diff/3001/webkit/support/setup_third_party.gyp#newcode25 webkit/support/setup_third_party.gyp:25: # already (and always) be in the include_dir path ...
7 years, 10 months ago (2013-02-11 20:05:38 UTC) #5
Dirk Pranke
https://codereview.chromium.org/12224087/diff/3001/webkit/support/setup_third_party.gyp File webkit/support/setup_third_party.gyp (right): https://codereview.chromium.org/12224087/diff/3001/webkit/support/setup_third_party.gyp#newcode25 webkit/support/setup_third_party.gyp:25: # already (and always) be in the include_dir path ...
7 years, 10 months ago (2013-02-11 23:42:30 UTC) #6
Ryan Sleevi
https://codereview.chromium.org/12224087/diff/3001/webkit/support/setup_third_party.gyp File webkit/support/setup_third_party.gyp (right): https://codereview.chromium.org/12224087/diff/3001/webkit/support/setup_third_party.gyp#newcode25 webkit/support/setup_third_party.gyp:25: # already (and always) be in the include_dir path ...
7 years, 10 months ago (2013-02-11 23:50:10 UTC) #7
tony
7 years, 10 months ago (2013-02-12 00:08:30 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698