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

Issue 180223004: Amend PATH for nacl64 so loader can find x64 CRT (Closed)

Created:
6 years, 10 months ago by scottmg
Modified:
6 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Amend PATH for nacl64 so loader can find x64 CRT In order to keep from needing to system-install VS runtime DLLs for debug builds, we put them in the output directory. This mostly works, except in the case of nacl64 it requires the x64 CRT, but builds into the x86 output directory. The OS loader will ignore the x86 ones, and continue searching the PATH, so before launching nacl64.exe, append to PATH to the location of the x64 CRT DLLs. See linked bug for more details and investigation. R=cpu@chromium.org, mseaborn@chromium.org BUG=346034 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253504

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : elif #

Total comments: 2

Patch Set 4 : string split #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -4 lines) Patch
M build/gyp_chromium View 1 chunk +13 lines, -4 lines 0 comments Download
M components/nacl/browser/nacl_process_host.cc View 1 2 3 2 chunks +43 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
cpu_(ooo_6.6-7.5)
lgtm https://codereview.chromium.org/180223004/diff/20001/components/nacl/browser/nacl_process_host.cc File components/nacl/browser/nacl_process_host.cc (right): https://codereview.chromium.org/180223004/diff/20001/components/nacl/browser/nacl_process_host.cc#newcode535 components/nacl/browser/nacl_process_host.cc:535: if (old_path.find(x64_crt_path) == std::string::npos) { if --> else ...
6 years, 10 months ago (2014-02-25 21:29:33 UTC) #1
scottmg
https://codereview.chromium.org/180223004/diff/20001/components/nacl/browser/nacl_process_host.cc File components/nacl/browser/nacl_process_host.cc (right): https://codereview.chromium.org/180223004/diff/20001/components/nacl/browser/nacl_process_host.cc#newcode535 components/nacl/browser/nacl_process_host.cc:535: if (old_path.find(x64_crt_path) == std::string::npos) { On 2014/02/25 21:29:34, cpu ...
6 years, 10 months ago (2014-02-25 21:36:34 UTC) #2
Mark Seaborn
LGTM https://codereview.chromium.org/180223004/diff/40001/components/nacl/browser/nacl_process_host.cc File components/nacl/browser/nacl_process_host.cc (right): https://codereview.chromium.org/180223004/diff/40001/components/nacl/browser/nacl_process_host.cc#newcode535 components/nacl/browser/nacl_process_host.cc:535: } else if (old_path.find(x64_crt_path) == std::string::npos) { This ...
6 years, 10 months ago (2014-02-26 02:24:50 UTC) #3
scottmg
https://codereview.chromium.org/180223004/diff/40001/components/nacl/browser/nacl_process_host.cc File components/nacl/browser/nacl_process_host.cc (right): https://codereview.chromium.org/180223004/diff/40001/components/nacl/browser/nacl_process_host.cc#newcode535 components/nacl/browser/nacl_process_host.cc:535: } else if (old_path.find(x64_crt_path) == std::string::npos) { On 2014/02/26 ...
6 years, 10 months ago (2014-02-26 04:27:59 UTC) #4
Mark Seaborn
LGTM
6 years, 10 months ago (2014-02-26 17:54:19 UTC) #5
scottmg
6 years, 10 months ago (2014-02-26 17:58:30 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r253504 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698