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

Issue 218663003: Make ARM64 detection consistent. (Closed)

Created:
6 years, 8 months ago by Primiano Tucci (use gerrit)
Modified:
6 years, 8 months ago
CC:
chromium-reviews, bulach, rmcilroy, pink (ping after 24hrs)
Visibility:
Public.

Description

Make ARM64 detection consistent. Use only __aarch64__ and don't look for __arm64__ at all. It turns out that clang defines both and GCC only the former. Hence, looking only for __aarch64__ should be enough. BUG=354405, 358092 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260671

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename also string param #

Total comments: 3

Patch Set 3 : Don't touch "arm64" string #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M build/build_config.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/omaha_query_params/omaha_query_params.cc View 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (0 generated)
Primiano Tucci (use gerrit)
Mike, we're trying to build chrome_shell_apk for arm64 (not iOS) and there are some inconsistencies ...
6 years, 8 months ago (2014-03-31 11:58:35 UTC) #1
pink (ping after 24hrs)
I'm not the best person to ask, but Sylvain has been working on the ARM64 ...
6 years, 8 months ago (2014-03-31 12:02:19 UTC) #2
sdefresne
lgtm https://codereview.chromium.org/218663003/diff/1/chrome/browser/omaha_query_params/omaha_query_params.cc File chrome/browser/omaha_query_params/omaha_query_params.cc (left): https://codereview.chromium.org/218663003/diff/1/chrome/browser/omaha_query_params/omaha_query_params.cc#oldcode44 chrome/browser/omaha_query_params/omaha_query_params.cc:44: "arm64"; You can change this value to "aarch64" ...
6 years, 8 months ago (2014-03-31 12:31:19 UTC) #3
Primiano Tucci (use gerrit)
Done, Thanks. +thakis: Nico, would you give an OWNERS approval? Thanks. https://codereview.chromium.org/218663003/diff/1/chrome/browser/omaha_query_params/omaha_query_params.cc File chrome/browser/omaha_query_params/omaha_query_params.cc (left): ...
6 years, 8 months ago (2014-03-31 12:46:58 UTC) #4
stuartmorgan
lgtm https://codereview.chromium.org/218663003/diff/20001/chrome/browser/omaha_query_params/omaha_query_params.cc File chrome/browser/omaha_query_params/omaha_query_params.cc (right): https://codereview.chromium.org/218663003/diff/20001/chrome/browser/omaha_query_params/omaha_query_params.cc#newcode44 chrome/browser/omaha_query_params/omaha_query_params.cc:44: "aarch64"; Is there any reason *not* to call ...
6 years, 8 months ago (2014-03-31 13:26:01 UTC) #5
Primiano Tucci (use gerrit)
+asargent: apparently you wrote some code which consumes the arch here in chrome/browser/extensions/api/runtime/runtime_api.cc Do you ...
6 years, 8 months ago (2014-03-31 14:33:47 UTC) #6
Nico
__arm64__ is apple's arm64 abi, and __aarch64__ is the "official" 64 bit abi, no? Are ...
6 years, 8 months ago (2014-03-31 15:42:37 UTC) #7
Nico
https://codereview.chromium.org/218663003/diff/20001/chrome/browser/omaha_query_params/omaha_query_params.cc File chrome/browser/omaha_query_params/omaha_query_params.cc (right): https://codereview.chromium.org/218663003/diff/20001/chrome/browser/omaha_query_params/omaha_query_params.cc#newcode44 chrome/browser/omaha_query_params/omaha_query_params.cc:44: "aarch64"; On 2014/03/31 13:26:01, stuartmorgan wrote: > Is there ...
6 years, 8 months ago (2014-03-31 16:13:42 UTC) #8
Primiano Tucci (use gerrit)
On 2014/03/31 15:42:37, Nico wrote: > __arm64__ is apple's arm64 abi, and __aarch64__ is the ...
6 years, 8 months ago (2014-03-31 16:19:58 UTC) #9
Primiano Tucci (use gerrit)
https://codereview.chromium.org/218663003/diff/20001/chrome/browser/omaha_query_params/omaha_query_params.cc File chrome/browser/omaha_query_params/omaha_query_params.cc (right): https://codereview.chromium.org/218663003/diff/20001/chrome/browser/omaha_query_params/omaha_query_params.cc#newcode44 chrome/browser/omaha_query_params/omaha_query_params.cc:44: "aarch64"; On 2014/03/31 16:13:43, Nico wrote: > On 2014/03/31 ...
6 years, 8 months ago (2014-03-31 16:25:29 UTC) #10
Nico
On 2014/03/31 16:19:58, Primiano Tucci wrote: > On 2014/03/31 15:42:37, Nico wrote: > > __arm64__ ...
6 years, 8 months ago (2014-03-31 17:08:41 UTC) #11
sdefresne
On 2014/03/31 17:08:41, Nico wrote: > On 2014/03/31 16:19:58, Primiano Tucci wrote: > > On ...
6 years, 8 months ago (2014-03-31 17:13:05 UTC) #12
asargent_no_longer_on_chrome
On 2014/03/31 14:33:47, Primiano Tucci wrote: > +asargent: apparently you wrote some code which consumes ...
6 years, 8 months ago (2014-03-31 18:36:55 UTC) #13
Nico
On Mon, Mar 31, 2014 at 11:36 AM, <asargent@chromium.org> wrote: > On 2014/03/31 14:33:47, Primiano ...
6 years, 8 months ago (2014-03-31 18:42:32 UTC) #14
stuartmorgan
"Should not be changed" means leaving it as arm64. It seems like most people are ...
6 years, 8 months ago (2014-03-31 18:45:20 UTC) #15
sdefresne
On 2014/03/31 18:45:20, stuartmorgan wrote: > "Should not be changed" means leaving it as arm64. ...
6 years, 8 months ago (2014-03-31 19:15:57 UTC) #16
Primiano Tucci (use gerrit)
On 2014/03/31 18:45:20, stuartmorgan wrote: > "Should not be changed" means leaving it as arm64. ...
6 years, 8 months ago (2014-03-31 19:16:32 UTC) #17
Primiano Tucci (use gerrit)
The CQ bit was checked by primiano@chromium.org
6 years, 8 months ago (2014-03-31 19:16:48 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/218663003/40001
6 years, 8 months ago (2014-03-31 19:17:05 UTC) #19
sdefresne
Still LGTM
6 years, 8 months ago (2014-03-31 19:19:16 UTC) #20
commit-bot: I haz the power
6 years, 8 months ago (2014-03-31 22:10:34 UTC) #21
Message was sent while issue was closed.
Change committed as 260671

Powered by Google App Engine
This is Rietveld 408576698