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

Issue 137803016: build_nexe.py can now apply tls_edit (Closed)

Created:
6 years, 10 months ago by David Yen
Modified:
6 years, 10 months ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

build_nexe.py can now apply tls_edit Instead of custom gyp rules to apply tls_edit to IRT nexe's, build_nexe can now apply tls_edit as an option. The gyp rule to build IRTs using build_nexe.py can simply specify this option making all the custom gyp rules irrelevent. Note this change does not actually remove the extra tls_edit gyp rules, that will be done as a separate step. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3127 TEST= trybots R=bradnelson@google.com, mcgrathr@chromium.org, noelallen@chromium.org Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=12738

Patch Set 1 #

Total comments: 1

Patch Set 2 : Removed old tls_edit rules from irt.gyp #

Total comments: 1

Patch Set 3 : Added proper executable suffix in gypi rules for tls_edit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -69 lines) Patch
M build/build_nexe.py View 3 chunks +19 lines, -4 lines 0 comments Download
M build/untrusted.gypi View 1 2 8 chunks +8 lines, -0 lines 0 comments Download
M src/untrusted/irt/irt.gyp View 1 2 chunks +3 lines, -65 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
David Yen
I've added an option to use tls_edit inside of build_nexe.py. This simplifies all of our ...
6 years, 10 months ago (2014-02-08 01:32:16 UTC) #1
bradn
lgtm https://codereview.chromium.org/137803016/diff/1/build/untrusted.gypi File build/untrusted.gypi (right): https://codereview.chromium.org/137803016/diff/1/build/untrusted.gypi#newcode905 build/untrusted.gypi:905: '--tls-edit=<(PRODUCT_DIR)/tls_edit', So one minor wrinkle with this is ...
6 years, 10 months ago (2014-02-08 22:32:29 UTC) #2
Roland McGrath
build_nexe.py doesn't know or need to know what the thing is doing. It just happens ...
6 years, 10 months ago (2014-02-10 17:18:20 UTC) #3
David Yen
On 2014/02/08 22:32:29, bradn wrote: > lgtm > > https://codereview.chromium.org/137803016/diff/1/build/untrusted.gypi > File build/untrusted.gypi (right): > ...
6 years, 10 months ago (2014-02-10 17:38:36 UTC) #4
David Yen
I added a patch that removes the tls_edit rules from irt.gyp.
6 years, 10 months ago (2014-02-10 21:22:26 UTC) #5
noelallen1
LGTM except that tls_edit is an executable? the gyp change isn't here so can't tell. ...
6 years, 10 months ago (2014-02-10 21:38:36 UTC) #6
Roland McGrath
lgtm
6 years, 10 months ago (2014-02-11 18:13:49 UTC) #7
David Yen
I added the gyp executable suffix to the end as Noel suggested, ptal
6 years, 10 months ago (2014-02-11 18:14:26 UTC) #8
David Yen
Committed patchset #3 manually as r12738 (presubmit successful).
6 years, 10 months ago (2014-02-11 18:15:50 UTC) #9
Mark Seaborn
This seems to cause the Chromium Windows build to fail with: '..\..\out\Release' is not recognized ...
6 years, 10 months ago (2014-02-12 16:07:04 UTC) #10
dyen_google.com
6 years, 10 months ago (2014-02-12 18:27:22 UTC) #11
It looks like a slash issue in windows, I've fixed it here:

https://codereview.chromium.org/160613003/


On Wed, Feb 12, 2014 at 8:07 AM, <mseaborn@chromium.org> wrote:

> This seems to cause the Chromium Windows build to fail with:
>
> '..\..\out\Release' is not recognized as an internal or external command,
>
> operable program or batch file.
>
> FAILED with 0: ..\..\out\Release/tls_edit.exe
> ..\..\out\Release/gen/nacl_irt_x86_64_raw.nexe.debug.raw
> ..\..\out\Release/gen/nacl_irt_x86_64_raw.nexe.debug
>
> See
> http://build.chromium.org/p/tryserver.chromium/builders/
> win_rel/builds/262332/steps/compile/logs/stdio
> (from https://codereview.chromium.org/153823011/)
>
>
> https://codereview.chromium.org/137803016/
>

-- 
You received this message because you are subscribed to the Google Groups
"Native-Client-Reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to native-client-reviews+unsubscribe@googlegroups.com.
To post to this group, send email to native-client-reviews@googlegroups.com.
Visit this group at http://groups.google.com/group/native-client-reviews.
For more options, visit https://groups.google.com/groups/opt_out.

Powered by Google App Engine
This is Rietveld 408576698