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

Issue 11026038: Android: fix webview-in-android build config. (Closed)

Created:
8 years, 2 months ago by Torne
Modified:
7 years, 11 months ago
Reviewers:
Yaron, Nico
CC:
chromium-reviews, peter+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Visibility:
Public.

Description

Android: fix webview-in-android build config. The envsetup configuration for building WebView using the Android build system has rotted. Rather than try to share the non_sdk_build_init code, just repeat the (few) parts we need to avoid setting all the parts that are inappropriate, and fix the parts that are wrong or outdated. Also, upstream the common.gypi settings that are specific to the WebView build. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160188

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -7 lines) Patch
M build/android/envsetup.sh View 2 chunks +9 lines, -1 line 2 comments Download
M build/android/envsetup_functions.sh View 2 chunks +17 lines, -6 lines 0 comments Download
M build/common.gypi View 1 chunk +43 lines, -0 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
Torne
Hi Yaron, This is the main set of fixes required to get the webview-in-android build ...
8 years, 2 months ago (2012-10-04 14:20:56 UTC) #1
Yaron
lgtm https://codereview.chromium.org/11026038/diff/1/build/android/envsetup.sh File build/android/envsetup.sh (right): https://codereview.chromium.org/11026038/diff/1/build/android/envsetup.sh#newcode18 build/android/envsetup.sh:18: export ANDROID_SDK_BUILD=0 Hmm. So in theory, we plan ...
8 years, 2 months ago (2012-10-04 16:04:42 UTC) #2
Torne
I'd still like to kill more of the stuff in envsetup.sh in general, but for ...
8 years, 2 months ago (2012-10-04 16:10:33 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/torne@chromium.org/11026038/1
8 years, 2 months ago (2012-10-04 16:11:41 UTC) #4
commit-bot: I haz the power
Change committed as 160188
8 years, 2 months ago (2012-10-04 19:16:10 UTC) #5
Nico
https://chromiumcodereview.appspot.com/11026038/diff/1/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/11026038/diff/1/build/common.gypi#newcode2817 build/common.gypi:2817: '-Wno-error=sequence-point', I happened to see this while reading common.gypi ...
8 years ago (2012-12-07 20:41:41 UTC) #6
Torne
On 2012/12/07 20:41:41, Nico wrote: > https://chromiumcodereview.appspot.com/11026038/diff/1/build/common.gypi > File build/common.gypi (right): > > https://chromiumcodereview.appspot.com/11026038/diff/1/build/common.gypi#newcode2817 > ...
8 years ago (2012-12-11 11:37:51 UTC) #7
Torne
On 2012/12/11 11:37:51, Torne wrote: > On 2012/12/07 20:41:41, Nico wrote: > > https://chromiumcodereview.appspot.com/11026038/diff/1/build/common.gypi > ...
7 years, 11 months ago (2013-01-09 13:55:32 UTC) #8
Nico
7 years, 11 months ago (2013-01-09 17:53:39 UTC) #9
Message was sent while issue was closed.
On 2013/01/09 13:55:32, Torne wrote:
> On 2012/12/11 11:37:51, Torne wrote:
> > On 2012/12/07 20:41:41, Nico wrote:
> > > https://chromiumcodereview.appspot.com/11026038/diff/1/build/common.gypi
> > > File build/common.gypi (right):
> > > 
> > >
> >
>
https://chromiumcodereview.appspot.com/11026038/diff/1/build/common.gypi#newc...
> > > build/common.gypi:2817: '-Wno-error=sequence-point',
> > > I happened to see this while reading common.gypi for something else.
> > > 
> > > It almost never makes sense to have warnings that are not errors. If you
> want
> > to
> > > fix them, file a bug to fix them, fix them, then turn on the warning as
> error.
> > > If you don't want to fix them, turn off the warning -- nobody else will
fix
> > > them, and having a build that prints more than 0 warnings in the default
> > > configuration just teaches people to ignore build warnings.
> > 
> > Yes, we should probably just disable these. Unfortunately the Android build
> > already has far, far more than 0 warnings in the default configuration even
> > without chromium's help :)
> > 
> > I'll doublecheck that we don't actually care about these things for now, and
> > just turn them off entirely. Thanks for the reminder, I had forgotten about
> > this.
> 
> Just as a followup: we've now disabled these warnings here.

Nice, thanks! :-)

Powered by Google App Engine
This is Rietveld 408576698