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

Issue 9824001: Change built_elsewhere flag to work with pexe mode (Closed)

Created:
8 years, 9 months ago by Derek Schuff
Modified:
8 years, 9 months ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Change built_elsewhere flag to work with pexe mode Instead of ignoring all dependencies for a test target, we replace the builders (CC CXX et al) except for translate with no-ops. Also run some basic pexe mode tests on arm, and tweak the pruning process before uploading to the hw bot( and give the tarball a better name). BUG= http://code.google.com/p/nativeclient/issues/detail?id=2609 TEST=bots Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=8091

Patch Set 1 #

Patch Set 2 : add AS, line len #

Total comments: 12

Patch Set 3 : review comments, native env #

Total comments: 10

Patch Set 4 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -26 lines) Patch
M SConstruct View 1 2 3 chunks +18 lines, -18 lines 0 comments Download
M buildbot/buildbot_pnacl.sh View 1 4 chunks +17 lines, -7 lines 0 comments Download
M site_scons/site_tools/naclsdk.py View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download
M src/trusted/service_runtime/build.scons View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
(google.com) Derek Schuff
PTAL
8 years, 9 months ago (2012-03-21 22:43:52 UTC) #1
jvoung - send to chromium...
https://chromiumcodereview.appspot.com/9824001/diff/1005/SConstruct File SConstruct (right): https://chromiumcodereview.appspot.com/9824001/diff/1005/SConstruct#newcode1981 SConstruct:1981: env.Precious(pexe) Could you add a comment explaining the need ...
8 years, 9 months ago (2012-03-21 23:15:04 UTC) #2
(google.com) Derek Schuff
https://chromiumcodereview.appspot.com/9824001/diff/1005/SConstruct File SConstruct (right): https://chromiumcodereview.appspot.com/9824001/diff/1005/SConstruct#newcode1981 SConstruct:1981: env.Precious(pexe) On 2012/03/21 23:15:04, jvoung wrote: > Could you ...
8 years, 9 months ago (2012-03-22 00:02:02 UTC) #3
jvoung - send to chromium...
https://chromiumcodereview.appspot.com/9824001/diff/1005/SConstruct File SConstruct (right): https://chromiumcodereview.appspot.com/9824001/diff/1005/SConstruct#newcode2887 SConstruct:2887: # Allow emulation for testing built_elsewhere flag On 2012/03/22 ...
8 years, 9 months ago (2012-03-22 00:17:45 UTC) #4
robertm
drive by comments below https://chromiumcodereview.appspot.com/9824001/diff/10001/site_scons/site_tools/naclsdk.py File site_scons/site_tools/naclsdk.py (right): https://chromiumcodereview.appspot.com/9824001/diff/10001/site_scons/site_tools/naclsdk.py#newcode331 site_scons/site_tools/naclsdk.py:331: env.Replace(CC='true', CXX='true', LINK='true', AR='true', if ...
8 years, 9 months ago (2012-03-22 14:09:37 UTC) #5
(google.com) Derek Schuff
https://chromiumcodereview.appspot.com/9824001/diff/10001/site_scons/site_tools/naclsdk.py File site_scons/site_tools/naclsdk.py (right): https://chromiumcodereview.appspot.com/9824001/diff/10001/site_scons/site_tools/naclsdk.py#newcode331 site_scons/site_tools/naclsdk.py:331: env.Replace(CC='true', CXX='true', LINK='true', AR='true', How would that work? Will ...
8 years, 9 months ago (2012-03-22 16:10:25 UTC) #6
robertm
LGTM (assuming trybots are happy) https://chromiumcodereview.appspot.com/9824001/diff/10001/site_scons/site_tools/naclsdk.py File site_scons/site_tools/naclsdk.py (right): https://chromiumcodereview.appspot.com/9824001/diff/10001/site_scons/site_tools/naclsdk.py#newcode331 site_scons/site_tools/naclsdk.py:331: env.Replace(CC='true', CXX='true', LINK='true', AR='true', ...
8 years, 9 months ago (2012-03-22 16:18:43 UTC) #7
jvoung - send to chromium...
lgtm too in case you were waiting On 2012/03/22 16:18:43, robertm wrote: > LGTM > ...
8 years, 9 months ago (2012-03-22 17:44:08 UTC) #8
(google.com) Derek Schuff
8 years, 9 months ago (2012-03-22 18:01:18 UTC) #9
was mostly just wating for the tree to open up again :)
commited r8091

On Thu, Mar 22, 2012 at 10:44 AM,  <jvoung@google.com> wrote:
> lgtm too in case you were waiting
>
>
> On 2012/03/22 16:18:43, robertm wrote:
>>
>> LGTM
>
>
>> (assuming trybots are happy)
>
>
>
>
https://chromiumcodereview.appspot.com/9824001/diff/10001/site_scons/site_too...
>>
>> File site_scons/site_tools/naclsdk.py (right):
>
>
>
>
https://chromiumcodereview.appspot.com/9824001/diff/10001/site_scons/site_too...
>>
>> site_scons/site_tools/naclsdk.py:331: env.Replace(CC='true', CXX='true',
>> LINK='true', AR='true',
>> not sure.
>> another option could be CC='echo CC #' where the purpose of the '#' is to
>
> ignore
>>
>> the command line.
>> if the simple stuff does not work don't bother
>
>
>> On 2012/03/22 16:10:25, Derek Schuff wrote:
>> > How would that work? Will it work if I just pass a python function here
>> instead
>> > of a shell command?
>> >
>> > On 2012/03/22 14:09:37, robertm wrote:
>> > > if it is not too much work it be nice to make the faked out
>> > > command more verbose, e.g.
>> > >
>> > >  'Skip CC', dest
>> > > 'Skip CXX', dest
>> > >
>> > > etc
>> >
>
>
>
>
> https://chromiumcodereview.appspot.com/9824001/

-- 
You received this message because you are subscribed to the Google Groups
"Native-Client-Reviews" group.
To post to this group, send email to native-client-reviews@googlegroups.com.
To unsubscribe from this group, send email to
native-client-reviews+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/native-client-reviews?hl=en.

Powered by Google App Engine
This is Rietveld 408576698