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

Issue 11363175: Honor werror variable for untrusted builds. (Closed)

Created:
8 years, 1 month ago by Sam Clegg
Modified:
8 years, 1 month ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Apply -Werror for untrusted code in the Gyp build in more cases This change moves the setting of -Werror from build_nexe out into untrusted.gypi. Also, move the pnacl_compile_flag so that they follow the default compile_flags so that they can be used to suppress warnings that are enabled by -Wall. BUG=nativeclient:3108 Committed: http://src.chromium.org/viewvc/native_client?view=rev&revision=10297

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : fix nits #

Total comments: 1

Patch Set 9 : #

Total comments: 1

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : hard code -Werror #

Total comments: 2

Patch Set 13 : #

Patch Set 14 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -16 lines) Patch
M build/build_nexe.py View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M build/standalone_flags.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -6 lines 0 comments Download
M build/untrusted.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Sam Clegg
8 years, 1 month ago (2012-11-09 23:07:41 UTC) #1
jvoung (off chromium)
lgtm
8 years, 1 month ago (2012-11-09 23:22:11 UTC) #2
Sam Clegg
Had to move pnacl_compile_flags after regular compile_flags to that individual errors can be overridden with ...
8 years, 1 month ago (2012-11-10 00:18:48 UTC) #3
Sam Clegg
8 years, 1 month ago (2012-11-10 00:19:22 UTC) #4
jvoung - send to chromium...
Looks okay to me, but Derek can you double check that the order of the ...
8 years, 1 month ago (2012-11-10 00:53:56 UTC) #5
Mark Seaborn
Are these flags only needed for compiling Chrome-side code and not NaCl-side code? If so, ...
8 years, 1 month ago (2012-11-10 02:24:19 UTC) #6
Derek Schuff
Since all the pnacl-specific flags are warning flags, it should be fine to put them ...
8 years, 1 month ago (2012-11-12 16:48:07 UTC) #7
Sam Clegg
On 2012/11/12 16:48:07, Derek Schuff wrote: > Since all the pnacl-specific flags are warning flags, ...
8 years, 1 month ago (2012-11-12 17:49:45 UTC) #8
Sam Clegg
This change is dependent on a corresponding change to chrome landing first: http://codereview.chromium.org/11360238/
8 years, 1 month ago (2012-11-13 22:39:49 UTC) #9
Mark Seaborn
Can you address the TODO about -Werror in build/standalone_flags.gypi too, please?
8 years, 1 month ago (2012-11-13 22:55:23 UTC) #10
Sam Clegg
On 2012/11/13 22:55:23, Mark Seaborn wrote: > Can you address the TODO about -Werror in ...
8 years, 1 month ago (2012-11-13 23:14:11 UTC) #11
Sam Clegg
PTAL
8 years, 1 month ago (2012-11-14 19:44:17 UTC) #12
Mark Seaborn
You have typos in your commit message: "pnacl_comile_flagso" I don't see any trybot results for ...
8 years, 1 month ago (2012-11-14 19:50:05 UTC) #13
Sam Clegg
bots are now passing. http://codereview.chromium.org/11363175/diff/6003/build/untrusted.gypi File build/untrusted.gypi (right): http://codereview.chromium.org/11363175/diff/6003/build/untrusted.gypi#newcode655 build/untrusted.gypi:655: # be disabled in ~/.gyp/include.gypi ...
8 years, 1 month ago (2012-11-15 00:19:16 UTC) #14
Mark Seaborn
> > You have typos in your commit message: "pnacl_comile_flagso" Please fix that. > > ...
8 years, 1 month ago (2012-11-15 00:26:01 UTC) #15
Sam Clegg
This change depends on both: http://codereview.chromium.org/11360238/ and http://codereview.chromium.org/11417011/ So I'm currently try'ing it with both ...
8 years, 1 month ago (2012-11-15 19:21:05 UTC) #16
Sam Clegg
PTAL. All bots are now passing, but we need to wait for these two changes ...
8 years, 1 month ago (2012-11-15 23:08:42 UTC) #17
Mark Seaborn
LGTM. I've fixed your commit message. http://codereview.chromium.org/11363175/diff/20001/build/untrusted.gypi File build/untrusted.gypi (right): http://codereview.chromium.org/11363175/diff/20001/build/untrusted.gypi#newcode26 build/untrusted.gypi:26: '-Werror', Nit: Can ...
8 years, 1 month ago (2012-11-15 23:38:48 UTC) #18
Sam Clegg
I'll wait until the two chrome side fixes land then try once again on the ...
8 years, 1 month ago (2012-11-16 00:13:18 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/sbc@chromium.org/11363175/21004
8 years, 1 month ago (2012-11-17 01:09:54 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/sbc@chromium.org/11363175/21004
8 years, 1 month ago (2012-11-17 14:12:21 UTC) #21
commit-bot: I haz the power
8 years, 1 month ago (2012-11-17 19:19:16 UTC) #22
Change committed as 10297

Powered by Google App Engine
This is Rietveld 408576698