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

Issue 10669030: Pass the build type to ant build (Closed)

Created:
8 years, 6 months ago by yongsheng
Modified:
8 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jochen+watch-content_chromium.org
Visibility:
Public.

Description

Pass the build type to ant build Have it disabled now until the content shell apk is ready to handle release mode. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146730

Patch Set 1 #

Total comments: 8

Patch Set 2 : Use the script helper according to Mark's comments #

Patch Set 3 : Remove the unused code #

Total comments: 2

Patch Set 4 : Refine the patch according to jrg's comments #

Total comments: 2

Patch Set 5 : Refine the patch according to jochen's comments #

Total comments: 2

Patch Set 6 : Refine the patch according to jam's comment #

Total comments: 1

Patch Set 7 : Remove un-needed prefix for path #

Total comments: 1

Patch Set 8 : Remove other <(DEPTH)/content/ #

Patch Set 9 : Rebase #

Patch Set 10 : Simply it #

Patch Set 11 : Disable using the script #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -3 lines) Patch
M content/content_shell.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -3 lines 0 comments Download
A content/shell/content_shell_ant_helper.sh View 1 2 3 4 5 6 7 8 9 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 59 (0 generated)
John Grabowski
http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi File content/content_shell.gypi (right): http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi#newcode557 content/content_shell.gypi:557: # 'ant_build_type%': '`if [ "<(CONFIGURATION_NAME)" = "Debug" ]; then ...
8 years, 6 months ago (2012-06-26 19:30:37 UTC) #1
yongsheng
http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi File content/content_shell.gypi (right): http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi#newcode557 content/content_shell.gypi:557: # 'ant_build_type%': '`if [ "<(CONFIGURATION_NAME)" = "Debug" ]; then ...
8 years, 6 months ago (2012-06-27 03:36:04 UTC) #2
John Grabowski
Mark: can you comment on gyp use? http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi File content/content_shell.gypi (right): http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi#newcode557 content/content_shell.gypi:557: # 'ant_build_type%': ...
8 years, 5 months ago (2012-06-27 16:45:58 UTC) #3
yongsheng
On 2012/06/27 16:45:58, John Grabowski wrote: > Mark: can you comment on gyp use? > ...
8 years, 5 months ago (2012-06-28 02:38:40 UTC) #4
Mark Mentovai
http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi File content/content_shell.gypi (right): http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi#newcode583 content/content_shell.gypi:583: # '<(ant_build_type)', Why not just <(CONFIGURATION_NAME) here? It’s awful ...
8 years, 5 months ago (2012-06-28 14:24:18 UTC) #5
yongsheng
http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi File content/content_shell.gypi (right): http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi#newcode583 content/content_shell.gypi:583: # '<(ant_build_type)', On 2012/06/28 14:24:18, Mark Mentovai wrote: > ...
8 years, 5 months ago (2012-06-29 02:01:46 UTC) #6
Mark Mentovai
http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi File content/content_shell.gypi (right): http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi#newcode583 content/content_shell.gypi:583: # '<(ant_build_type)', Again, backticks aren’t guaranteed to work. I ...
8 years, 5 months ago (2012-06-29 02:03:54 UTC) #7
yongsheng
http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi File content/content_shell.gypi (right): http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi#newcode583 content/content_shell.gypi:583: # '<(ant_build_type)', On 2012/06/29 02:03:54, Mark Mentovai wrote: > ...
8 years, 5 months ago (2012-06-29 02:08:21 UTC) #8
Mark Mentovai
http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi File content/content_shell.gypi (right): http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi#newcode583 content/content_shell.gypi:583: # '<(ant_build_type)', #!/bin/bash set -eu buildtype="$(tr '[A-Z]' '[a-z]' <<< ...
8 years, 5 months ago (2012-06-29 03:20:18 UTC) #9
yongsheng
On 2012/06/29 03:20:18, Mark Mentovai wrote: > http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi > File content/content_shell.gypi (right): > > http://codereview.chromium.org/10669030/diff/1/content/content_shell.gypi#newcode583 ...
8 years, 5 months ago (2012-06-29 23:45:20 UTC) #10
yongsheng
so it's done, please help review.
8 years, 5 months ago (2012-07-10 01:56:09 UTC) #11
John Grabowski
LGTM http://codereview.chromium.org/10669030/diff/12001/content/content_shell_ant_helper.sh File content/content_shell_ant_helper.sh (right): http://codereview.chromium.org/10669030/diff/12001/content/content_shell_ant_helper.sh#newcode7 content/content_shell_ant_helper.sh:7: set -eu A comment in this file is ...
8 years, 5 months ago (2012-07-10 03:43:43 UTC) #12
John Grabowski
LGTM conditional on file movement. http://codereview.chromium.org/10669030/diff/12001/content/content_shell_ant_helper.sh File content/content_shell_ant_helper.sh (right): http://codereview.chromium.org/10669030/diff/12001/content/content_shell_ant_helper.sh#newcode3 content/content_shell_ant_helper.sh:3: # Copyright (c) 2012 ...
8 years, 5 months ago (2012-07-10 03:45:34 UTC) #13
ivan_cobs.com.sg
Pls remove the following email adds from your list NOW ivan@cobs.com.sg lynn@cobs.com.sg -----Original Message----- From: ...
8 years, 5 months ago (2012-07-10 03:49:38 UTC) #14
yongsheng
ok, uploaded the new patch. Thanks for your review, jrg.
8 years, 5 months ago (2012-07-10 04:44:05 UTC) #15
John Grabowski
Still LGTM You'll need a content/ owner for final OWNERS approval.
8 years, 5 months ago (2012-07-10 06:07:49 UTC) #16
John Grabowski
Still LGTM You'll need a content/ owner for final OWNERS approval.
8 years, 5 months ago (2012-07-10 06:07:51 UTC) #17
yongsheng
On 2012/07/10 06:07:51, John Grabowski wrote: > Still LGTM > > You'll need a content/ ...
8 years, 5 months ago (2012-07-10 06:10:32 UTC) #18
John Grabowski
Suggest jam@ as first choice for Android content OWNERS, and avi@ as a second choice. ...
8 years, 5 months ago (2012-07-10 06:15:34 UTC) #19
yongsheng
jam, could you please help review it?
8 years, 5 months ago (2012-07-10 06:30:57 UTC) #20
jochen (gone - plz use gerrit)
http://codereview.chromium.org/10669030/diff/15001/content/content_shell.gypi File content/content_shell.gypi (right): http://codereview.chromium.org/10669030/diff/15001/content/content_shell.gypi#newcode581 content/content_shell.gypi:581: # '<(CONFIGURATION_NAME)', What about disabling this (i.e. replacing the ...
8 years, 5 months ago (2012-07-10 09:14:24 UTC) #21
yongsheng
http://codereview.chromium.org/10669030/diff/15001/content/content_shell.gypi File content/content_shell.gypi (right): http://codereview.chromium.org/10669030/diff/15001/content/content_shell.gypi#newcode581 content/content_shell.gypi:581: # '<(CONFIGURATION_NAME)', On 2012/07/10 09:14:24, jochen wrote: > What ...
8 years, 5 months ago (2012-07-10 11:25:45 UTC) #22
yongsheng
thanks for all your comments, please review it again.
8 years, 5 months ago (2012-07-10 11:36:49 UTC) #23
Mark Mentovai
http://codereview.chromium.org/10669030/diff/23001/build/android/content_shell_ant_helper.sh File build/android/content_shell_ant_helper.sh (right): http://codereview.chromium.org/10669030/diff/23001/build/android/content_shell_ant_helper.sh#newcode11 build/android/content_shell_ant_helper.sh:11: # It's used by content/content_shell.gypi Then why does it ...
8 years, 5 months ago (2012-07-10 12:21:37 UTC) #24
John Grabowski
http://codereview.chromium.org/10669030/diff/23001/build/android/content_shell_ant_helper.sh File build/android/content_shell_ant_helper.sh (right): http://codereview.chromium.org/10669030/diff/23001/build/android/content_shell_ant_helper.sh#newcode11 build/android/content_shell_ant_helper.sh:11: # It's used by content/content_shell.gypi On 2012/07/10 12:21:37, Mark ...
8 years, 5 months ago (2012-07-10 14:16:05 UTC) #25
Mark Mentovai
OK. build is for scripts of general interest throughout chrome. For single-purpose scripts, it is ...
8 years, 5 months ago (2012-07-10 14:19:34 UTC) #26
jam
On 2012/07/10 14:19:34, Mark Mentovai wrote: > OK. > > build is for scripts of ...
8 years, 5 months ago (2012-07-10 16:10:33 UTC) #27
yongsheng
On 2012/07/10 16:10:33, John Abd-El-Malek wrote: > On 2012/07/10 14:19:34, Mark Mentovai wrote: > > ...
8 years, 5 months ago (2012-07-10 23:56:21 UTC) #28
yongsheng
thanks for all of your comments. so done. need your 'lgtm' to land it.
8 years, 5 months ago (2012-07-11 01:40:49 UTC) #29
Mark Mentovai
http://codereview.chromium.org/10669030/diff/4004/content/content_shell.gypi File content/content_shell.gypi (right): http://codereview.chromium.org/10669030/diff/4004/content/content_shell.gypi#newcode573 content/content_shell.gypi:573: '<(DEPTH)/content/shell/content_shell_ant_helper.sh', Don’t use <(DEPTH). This is a path relative ...
8 years, 5 months ago (2012-07-11 13:51:43 UTC) #30
yongsheng
On 2012/07/11 13:51:43, Mark Mentovai wrote: > http://codereview.chromium.org/10669030/diff/4004/content/content_shell.gypi > File content/content_shell.gypi (right): > > http://codereview.chromium.org/10669030/diff/4004/content/content_shell.gypi#newcode573 ...
8 years, 5 months ago (2012-07-12 01:54:36 UTC) #31
Mark Mentovai
LGTM otherwise http://codereview.chromium.org/10669030/diff/25002/content/content_shell.gypi File content/content_shell.gypi (right): http://codereview.chromium.org/10669030/diff/25002/content/content_shell.gypi#newcode578 content/content_shell.gypi:578: '<(DEPTH)/content/shell/android/content_shell_apk.xml', Well when you took the <(DEPTH) ...
8 years, 5 months ago (2012-07-12 13:39:42 UTC) #32
yongsheng
done, so i'll commit it?
8 years, 5 months ago (2012-07-12 14:04:02 UTC) #33
Mark Mentovai
LGTM
8 years, 5 months ago (2012-07-12 14:04:36 UTC) #34
yongsheng
On 2012/07/12 14:04:36, Mark Mentovai wrote: > LGTM thanks a lot for all of your ...
8 years, 5 months ago (2012-07-12 14:05:33 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongsheng.zhu@intel.com/10669030/9005
8 years, 5 months ago (2012-07-12 14:05:56 UTC) #36
commit-bot: I haz the power
Failed to apply patch for content/content_shell.gypi: While running patch -p1 --forward --force; patching file content/content_shell.gypi ...
8 years, 5 months ago (2012-07-12 14:06:06 UTC) #37
yongsheng
On 2012/07/12 14:06:06, I haz the power (commit-bot) wrote: > Failed to apply patch for ...
8 years, 5 months ago (2012-07-12 14:08:07 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongsheng.zhu@intel.com/10669030/12006
8 years, 5 months ago (2012-07-12 14:22:53 UTC) #39
commit-bot: I haz the power
Presubmit check for 10669030-12006 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-12 14:22:58 UTC) #40
yongsheng
On 2012/07/12 14:22:58, I haz the power (commit-bot) wrote: > Presubmit check for 10669030-12006 failed ...
8 years, 5 months ago (2012-07-12 14:25:31 UTC) #41
jam
lgtm
8 years, 5 months ago (2012-07-12 18:39:18 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongsheng.zhu@intel.com/10669030/12006
8 years, 5 months ago (2012-07-12 22:57:54 UTC) #43
commit-bot: I haz the power
Try job failure for 10669030-12006 (retry) on android for steps "compile, build" (clobber build). It's ...
8 years, 5 months ago (2012-07-12 23:26:17 UTC) #44
yongsheng
The error is "/bin/sh: shell/content_shell_ant_helper.sh: Permission denied" I check this file's mode: 100755. seems ok. ...
8 years, 5 months ago (2012-07-13 01:30:42 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongsheng.zhu@intel.com/10669030/4008
8 years, 5 months ago (2012-07-13 03:20:32 UTC) #46
commit-bot: I haz the power
Try job failure for 10669030-4008 (retry) on android for steps "compile, build" (clobber build). It's ...
8 years, 5 months ago (2012-07-13 03:48:15 UTC) #47
yongsheng
still failed. any idea about this error: ""/bin/sh: shell/content_shell_ant_helper.sh: Permission denied"
8 years, 5 months ago (2012-07-13 04:28:08 UTC) #48
Mark Mentovai
I don’t know if the commit queue knows how to map the file mode in ...
8 years, 5 months ago (2012-07-13 12:51:54 UTC) #49
John Grabowski
On 2012/07/13 12:51:54, Mark Mentovai wrote: > I don’t know if the commit queue knows ...
8 years, 5 months ago (2012-07-13 17:12:42 UTC) #50
yongsheng
On 2012/07/13 17:12:42, John Grabowski wrote: > On 2012/07/13 12:51:54, Mark Mentovai wrote: > > ...
8 years, 5 months ago (2012-07-14 02:32:41 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongsheng.zhu@intel.com/10669030/29001
8 years, 5 months ago (2012-07-14 03:18:43 UTC) #52
commit-bot: I haz the power
Failed to apply patch for content/content_shell.gypi: While running patch -p1 --forward --force; patching file content/content_shell.gypi ...
8 years, 5 months ago (2012-07-14 03:18:44 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongsheng.zhu@intel.com/10669030/30003
8 years, 5 months ago (2012-07-14 05:11:10 UTC) #54
commit-bot: I haz the power
Try job failure for 10669030-30003 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 5 months ago (2012-07-14 06:15:26 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongsheng.zhu@intel.com/10669030/30003
8 years, 5 months ago (2012-07-14 09:02:04 UTC) #56
commit-bot: I haz the power
Try job failure for 10669030-30003 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 5 months ago (2012-07-14 09:57:26 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongsheng.zhu@intel.com/10669030/30003
8 years, 5 months ago (2012-07-14 12:08:01 UTC) #58
commit-bot: I haz the power
8 years, 5 months ago (2012-07-14 13:33:36 UTC) #59
Change committed as 146730

Powered by Google App Engine
This is Rietveld 408576698