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

Issue 1181373004: Add a [rtc_]build_with_neon variable to unify conditions. (Closed)

Created:
5 years, 6 months ago by Andrew MacDonald
Modified:
5 years, 6 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc)
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add a [rtc_]build_with_neon variable to unify conditions. Also consolidate ARM options for gn in an arm_neon_config. R=jridges@masque.com, kjellander@webrtc.org, zhongwei.yao@chromium.org Committed: https://chromium.googlesource.com/external/webrtc/+/ac4234ccfc964208163d6152977cc1d015448bbb

Patch Set 1 #

Patch Set 2 : Use new variable and add arm_neon_config. #

Total comments: 3

Patch Set 3 : Rewording. #

Total comments: 1

Patch Set 4 : Remove gn config and consolidate build_with_neon condition. #

Total comments: 15

Patch Set 5 : Fix comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -108 lines) Patch
M webrtc/build/arm_neon.gypi View 1 2 3 4 1 chunk +9 lines, -1 line 0 comments Download
M webrtc/build/common.gypi View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M webrtc/build/webrtc.gni View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/common_audio/BUILD.gn View 1 2 3 4 3 chunks +11 lines, -8 lines 0 comments Download
M webrtc/common_audio/common_audio.gyp View 1 5 chunks +4 lines, -14 lines 0 comments Download
M webrtc/modules/audio_coding/BUILD.gn View 1 2 3 4 5 chunks +23 lines, -34 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/isacfix.gypi View 1 2 3 chunks +5 lines, -17 lines 0 comments Download
M webrtc/modules/audio_processing/BUILD.gn View 1 2 3 4 3 chunks +15 lines, -19 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing.gypi View 1 2 3 4 3 chunks +2 lines, -11 lines 0 comments Download

Messages

Total messages: 21 (4 generated)
Andrew MacDonald
Certainly not ready for commit, but do we want to add a variable like this? ...
5 years, 6 months ago (2015-06-17 05:38:15 UTC) #2
kjellander_webrtc
very nice, I think this is a big improvement in the ARM and Neon confusion. ...
5 years, 6 months ago (2015-06-17 06:00:55 UTC) #3
Mostyn Bramley-Moore
This patch works for my non-neon armv7 test case, if I change the two conditions ...
5 years, 6 months ago (2015-06-17 08:27:47 UTC) #4
jridges
Not being familiar with the build system, I don't have much to say about this ...
5 years, 6 months ago (2015-06-17 15:40:33 UTC) #5
Andrew MacDonald
On 2015/06/17 15:40:33, jridges wrote: > Not being familiar with the build system, I don't ...
5 years, 6 months ago (2015-06-17 17:42:39 UTC) #6
Andrew MacDonald
Ready for review. PTAL. https://codereview.webrtc.org/1181373004/diff/20001/webrtc/modules/audio_coding/BUILD.gn File webrtc/modules/audio_coding/BUILD.gn (left): https://codereview.webrtc.org/1181373004/diff/20001/webrtc/modules/audio_coding/BUILD.gn#oldcode584 webrtc/modules/audio_coding/BUILD.gn:584: sources += [ "codecs/isac/fix/source/lattice_c.c" ] ...
5 years, 6 months ago (2015-06-17 17:44:16 UTC) #7
jridges
On 2015/06/17 17:42:39, andrew wrote: > On 2015/06/17 15:40:33, jridges wrote: > > Not being ...
5 years, 6 months ago (2015-06-17 18:45:09 UTC) #8
jridges
https://codereview.webrtc.org/1181373004/diff/20001/webrtc/modules/audio_coding/BUILD.gn File webrtc/modules/audio_coding/BUILD.gn (right): https://codereview.webrtc.org/1181373004/diff/20001/webrtc/modules/audio_coding/BUILD.gn#newcode544 webrtc/modules/audio_coding/BUILD.gn:544: if (current_cpu == "arm" && arm_version >= 7) { ...
5 years, 6 months ago (2015-06-17 18:46:51 UTC) #9
Andrew MacDonald
New patchset up with a few fixes. https://codereview.webrtc.org/1181373004/diff/60001/webrtc/build/common.gypi File webrtc/build/common.gypi (right): https://codereview.webrtc.org/1181373004/diff/60001/webrtc/build/common.gypi#newcode160 webrtc/build/common.gypi:160: 'build_with_neon%': 1, ...
5 years, 6 months ago (2015-06-17 22:46:22 UTC) #10
zhongwei
Nice patch! LGTM
5 years, 6 months ago (2015-06-18 02:35:07 UTC) #11
Andrew MacDonald
Henrik, have a quick look at the latest changes.
5 years, 6 months ago (2015-06-18 03:13:37 UTC) #12
kjellander_webrtc
lgtm to unblock you but please fix some of the comments. https://codereview.webrtc.org/1181373004/diff/60001/webrtc/build/arm_neon.gypi File webrtc/build/arm_neon.gypi (right): ...
5 years, 6 months ago (2015-06-18 09:06:23 UTC) #13
zhongwei
https://codereview.webrtc.org/1181373004/diff/60001/webrtc/modules/audio_coding/BUILD.gn File webrtc/modules/audio_coding/BUILD.gn (right): https://codereview.webrtc.org/1181373004/diff/60001/webrtc/modules/audio_coding/BUILD.gn#newcode588 webrtc/modules/audio_coding/BUILD.gn:588: if (current_cpu != "arm64" || !is_clang) { On 2015/06/18 ...
5 years, 6 months ago (2015-06-19 08:21:03 UTC) #14
Andrew MacDonald
https://codereview.webrtc.org/1181373004/diff/60001/webrtc/build/arm_neon.gypi File webrtc/build/arm_neon.gypi (right): https://codereview.webrtc.org/1181373004/diff/60001/webrtc/build/arm_neon.gypi#newcode33 webrtc/build/arm_neon.gypi:33: # Disable LTO due to compiler bug. On 2015/06/18 ...
5 years, 6 months ago (2015-06-25 01:09:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1181373004/80001
5 years, 6 months ago (2015-06-25 01:09:29 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/32)
5 years, 6 months ago (2015-06-25 01:13:27 UTC) #20
Andrew MacDonald
5 years, 6 months ago (2015-06-25 01:26:05 UTC) #21
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
ac4234ccfc964208163d6152977cc1d015448bbb (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698