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

Issue 14065005: Introduce arm_version to allow building for armv5, v6 or v7. (Closed)

Created:
7 years, 8 months ago by Fredrik Öhrn
Modified:
7 years, 8 months ago
CC:
chromium-reviews, klundberg+watch_chromium.org, frankf+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org, Mostyn Bramley-Moore, Daniel Bratell
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Introduce arm_version to allow building for armv5, v6 or v7. This patch deprecates armv7 and adds arm_version that takes an integer value representing the ARM architecture level. In addition arm_arch, arm_tune, arm_fpu, arm_float_abi and arm_thumb can be set to fine tune CPU related compiler flags, defaults are provided for ARM versions 5 to 7. BUG=234135 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196702

Patch Set 1 #

Patch Set 2 : Fix typo #

Total comments: 2

Patch Set 3 : Update gyp defaults #

Total comments: 16

Patch Set 4 : Address review issues #

Total comments: 4

Patch Set 5 : Address review issues #

Total comments: 2

Patch Set 6 : Set arm_neon_optional in gyp file #

Patch Set 7 : Move armv7 deeper in the nest #

Patch Set 8 : Add target_arch checks #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -63 lines) Patch
M build/android/envsetup_functions.sh View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 8 12 chunks +79 lines, -43 lines 0 comments Download
M skia/skia.gyp View 1 2 3 4 5 6 7 8 4 chunks +6 lines, -16 lines 0 comments Download
M third_party/libwebp/libwebp.gyp View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 51 (0 generated)
Fredrik Öhrn
We use this patch to better tune both our embedded Linux and Android builds to ...
7 years, 8 months ago (2013-04-10 15:09:44 UTC) #1
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
7 years, 8 months ago (2013-04-10 15:16:45 UTC) #2
Stephen White
The skia.gyp changes seem reasonable to me, but I defer to piman for the common.gypi ...
7 years, 8 months ago (2013-04-10 15:24:12 UTC) #3
Torne
cjhopman, yfriedman: does this look reasonable for android?
7 years, 8 months ago (2013-04-10 15:29:49 UTC) #4
piman
I understand the idea, and support the cleanup, but you're significantly changing the defaults, and ...
7 years, 8 months ago (2013-04-10 17:45:48 UTC) #5
Fredrik Öhrn
On 2013/04/10 17:45:48, piman wrote: > I understand the idea, and support the cleanup, but ...
7 years, 8 months ago (2013-04-10 17:55:56 UTC) #6
Yaron
https://codereview.chromium.org/14065005/diff/6001/build/android/envsetup_functions.sh File build/android/envsetup_functions.sh (right): https://codereview.chromium.org/14065005/diff/6001/build/android/envsetup_functions.sh#newcode109 build/android/envsetup_functions.sh:109: DEFINES+=" arm_neon=0 arm_version=7 arm_thumb=1 arm_fpu=vfpv3-d16" Rather than just updating ...
7 years, 8 months ago (2013-04-10 18:01:44 UTC) #7
piman
On 2013/04/10 17:55:56, Fredrik Öhrn wrote: > On 2013/04/10 17:45:48, piman wrote: > > I ...
7 years, 8 months ago (2013-04-10 18:03:50 UTC) #8
Fredrik Öhrn
https://codereview.chromium.org/14065005/diff/6001/build/android/envsetup_functions.sh File build/android/envsetup_functions.sh (right): https://codereview.chromium.org/14065005/diff/6001/build/android/envsetup_functions.sh#newcode109 build/android/envsetup_functions.sh:109: DEFINES+=" arm_neon=0 arm_version=7 arm_thumb=1 arm_fpu=vfpv3-d16" On 2013/04/10 18:01:44, Yaron ...
7 years, 8 months ago (2013-04-10 19:16:10 UTC) #9
Torne
On 2013/04/10 19:16:10, Fredrik Öhrn wrote: > https://codereview.chromium.org/14065005/diff/6001/build/android/envsetup_functions.sh > File build/android/envsetup_functions.sh (right): > > https://codereview.chromium.org/14065005/diff/6001/build/android/envsetup_functions.sh#newcode109 ...
7 years, 8 months ago (2013-04-11 08:38:06 UTC) #10
Fredrik Öhrn
Updated gyp defaults and trimmed envsetup.
7 years, 8 months ago (2013-04-11 12:40:32 UTC) #11
Torne
https://codereview.chromium.org/14065005/diff/16001/build/common.gypi File build/common.gypi (left): https://codereview.chromium.org/14065005/diff/16001/build/common.gypi#oldcode2844 build/common.gypi:2844: # Flags suitable for Android emulator This block doesn't ...
7 years, 8 months ago (2013-04-11 13:04:22 UTC) #12
Fredrik Öhrn
https://codereview.chromium.org/14065005/diff/16001/build/common.gypi File build/common.gypi (left): https://codereview.chromium.org/14065005/diff/16001/build/common.gypi#oldcode2844 build/common.gypi:2844: # Flags suitable for Android emulator On 2013/04/11 13:04:22, ...
7 years, 8 months ago (2013-04-11 13:42:18 UTC) #13
Torne
https://codereview.chromium.org/14065005/diff/16001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/14065005/diff/16001/build/common.gypi#newcode215 build/common.gypi:215: 'arm_version%': 7, On 2013/04/11 13:42:19, Fredrik Öhrn wrote: > ...
7 years, 8 months ago (2013-04-11 13:55:00 UTC) #14
Fredrik Öhrn
https://codereview.chromium.org/14065005/diff/16001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/14065005/diff/16001/build/common.gypi#newcode215 build/common.gypi:215: 'arm_version%': 7, On 2013/04/11 13:55:00, Torne wrote: > On ...
7 years, 8 months ago (2013-04-11 15:18:46 UTC) #15
Fredrik Öhrn
https://codereview.chromium.org/14065005/diff/16001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/14065005/diff/16001/build/common.gypi#newcode218 build/common.gypi:218: 'arm_neon%': 0, On 2013/04/11 15:18:46, Fredrik Öhrn wrote: > ...
7 years, 8 months ago (2013-04-11 15:37:13 UTC) #16
piman
On Thu, Apr 11, 2013 at 8:37 AM, <ohrn@opera.com> wrote: > > https://codereview.chromium.**org/14065005/diff/16001/build/**common.gypi<https://codereview.chromium.org/14065005/diff/16001/build/common.gypi> > File ...
7 years, 8 months ago (2013-04-11 17:05:55 UTC) #17
Fredrik Öhrn
On 2013/04/11 17:05:55, piman wrote: > On Thu, Apr 11, 2013 at 8:37 AM, <mailto:ohrn@opera.com> ...
7 years, 8 months ago (2013-04-12 09:43:52 UTC) #18
Torne
On 2013/04/12 09:43:52, Fredrik Öhrn wrote: > On 2013/04/11 17:05:55, piman wrote: > > On ...
7 years, 8 months ago (2013-04-12 10:00:25 UTC) #19
Fredrik Öhrn
On 2013/04/12 10:00:25, Torne wrote: > > So, can you just address the other nits ...
7 years, 8 months ago (2013-04-12 12:01:02 UTC) #20
Torne
Looks mostly fine, but a couple of nits still, sorry :/ Also, just to be ...
7 years, 8 months ago (2013-04-12 12:20:33 UTC) #21
Fredrik Öhrn
Last two issues addressed in patch 5. https://codereview.chromium.org/14065005/diff/26001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/14065005/diff/26001/build/common.gypi#newcode218 build/common.gypi:218: 'arm_neon%': 0, ...
7 years, 8 months ago (2013-04-12 12:58:05 UTC) #22
Torne
On 2013/04/12 12:58:05, Fredrik Öhrn wrote: > Last two issues addressed in patch 5. > ...
7 years, 8 months ago (2013-04-12 14:26:41 UTC) #23
piman
LGTM from the Chrome OS side. This looks reasonable and shouldn't change the defaults there. ...
7 years, 8 months ago (2013-04-12 16:21:53 UTC) #24
Yaron
Seems good but probably best to let digit have a once over for chrome android ...
7 years, 8 months ago (2013-04-12 16:35:33 UTC) #25
Fredrik Öhrn
On 2013/04/12 16:21:53, piman wrote: > LGTM from the Chrome OS side. This looks reasonable ...
7 years, 8 months ago (2013-04-12 16:57:34 UTC) #26
Fredrik Öhrn
https://codereview.chromium.org/14065005/diff/30001/build/android/envsetup_functions.sh File build/android/envsetup_functions.sh (right): https://codereview.chromium.org/14065005/diff/30001/build/android/envsetup_functions.sh#newcode109 build/android/envsetup_functions.sh:109: DEFINES+=" arm_neon_optional=1" # Enable dynamic NEON support. On 2013/04/12 ...
7 years, 8 months ago (2013-04-12 17:05:25 UTC) #27
Fredrik Öhrn
On 2013/04/12 17:05:25, Fredrik Öhrn wrote: > On 2013/04/12 16:35:33, Yaron wrote: > > One ...
7 years, 8 months ago (2013-04-15 09:21:48 UTC) #28
digit1
lgtm - sorry I'm late :)
7 years, 8 months ago (2013-04-15 09:35:41 UTC) #29
Yaron
lgtm too for the record
7 years, 8 months ago (2013-04-16 21:10:32 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ohrn@opera.com/14065005/36001
7 years, 8 months ago (2013-04-18 10:48:23 UTC) #31
commit-bot: I haz the power
Presubmit check for 14065005-36001 failed and returned exit status 1. INFO:root:Found 3 file(s). INFO:PRESUBMIT:Skipping pylint: ...
7 years, 8 months ago (2013-04-18 10:48:29 UTC) #32
Fredrik Öhrn
On 2013/04/18 10:48:29, I haz the power (commit-bot) wrote: > > ** Presubmit ERRORS ** ...
7 years, 8 months ago (2013-04-18 11:02:18 UTC) #33
Stephen White
On 2013/04/18 11:02:18, Fredrik Öhrn wrote: > On 2013/04/18 10:48:29, I haz the power (commit-bot) ...
7 years, 8 months ago (2013-04-18 15:49:12 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ohrn@opera.com/14065005/36001
7 years, 8 months ago (2013-04-19 08:25:40 UTC) #35
commit-bot: I haz the power
Retried try job too often on mac for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac&number=44584
7 years, 8 months ago (2013-04-19 08:32:43 UTC) #36
Fredrik Öhrn
Latest patch should fix the build errors from patch 6, the trybots are currently wonky ...
7 years, 8 months ago (2013-04-19 10:38:08 UTC) #37
Yaron
lgtm
7 years, 8 months ago (2013-04-19 17:43:38 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ohrn@opera.com/14065005/56002
7 years, 8 months ago (2013-04-22 07:08:23 UTC) #39
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-22 07:16:15 UTC) #40
Fredrik Öhrn
Several places in the gyp files incorrectly assumed an arm build if armv7 was set, ...
7 years, 8 months ago (2013-04-22 09:26:48 UTC) #41
Torne
On 2013/04/22 09:26:48, Fredrik Öhrn wrote: > Several places in the gyp files incorrectly assumed ...
7 years, 8 months ago (2013-04-22 09:35:16 UTC) #42
Fredrik Öhrn
On 2013/04/22 09:35:16, Torne wrote: > CLs can only make changes in one repository. To ...
7 years, 8 months ago (2013-04-22 11:24:09 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ohrn@opera.com/14065005/70003
7 years, 8 months ago (2013-04-25 09:02:17 UTC) #44
commit-bot: I haz the power
Presubmit check for 14065005-70003 failed and returned exit status 1. INFO:root:Found 4 file(s). INFO:PRESUBMIT:Skipping pylint: ...
7 years, 8 months ago (2013-04-25 09:02:28 UTC) #45
Fredrik Öhrn
On 2013/04/25 09:02:28, I haz the power (commit-bot) wrote: > > Missing LGTM from an ...
7 years, 8 months ago (2013-04-25 09:11:57 UTC) #46
darin (slow to review)
LGTM for third_party/
7 years, 8 months ago (2013-04-25 18:36:26 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ohrn@opera.com/14065005/70003
7 years, 8 months ago (2013-04-26 08:04:34 UTC) #48
commit-bot: I haz the power
Failed to apply patch for third_party/libwebp/libwebp.gyp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-26 08:04:35 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ohrn@opera.com/14065005/78001
7 years, 8 months ago (2013-04-26 08:21:08 UTC) #50
commit-bot: I haz the power
7 years, 8 months ago (2013-04-26 12:06:55 UTC) #51
Message was sent while issue was closed.
Change committed as 196702

Powered by Google App Engine
This is Rietveld 408576698