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

Issue 99349: Code changes for building on ARM (Closed)

Created:
11 years, 7 months ago by ryan.cairns
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Some small changes to get chromium building on ARM. I tested these using the standard Linux tool chain and crosstools-ng.

Patch Set 1 #

Total comments: 5

Patch Set 2 : '' #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M base/debug_util_posix.cc View 1 1 chunk +2 lines, -0 lines 1 comment Download
M base/string_util_unittest.cc View 1 2 chunks +9 lines, -0 lines 1 comment Download
M build/build_config.h View 1 chunk +1 line, -0 lines 1 comment Download
M media/base/yuv_convert.cc View 1 2 chunks +5 lines, -1 line 2 comments Download

Messages

Total messages: 12 (0 generated)
ryan.cairns
11 years, 7 months ago (2009-05-04 16:47:14 UTC) #1
sky
http://codereview.chromium.org/99349/diff/1/3 File base/debug_util_posix.cc (right): http://codereview.chromium.org/99349/diff/1/3#newcode110 Line 110: #if !defined(ARM) All our defines should be in ...
11 years, 7 months ago (2009-05-04 17:09:11 UTC) #2
Lei Zhang
http://codereview.chromium.org/99349/diff/1/2 File base/string_util_unittest.cc (right): http://codereview.chromium.org/99349/diff/1/2#newcode315 Line 315: EXPECT_EQ(0U, converted[0]); On 2009/05/04 17:09:11, sky wrote: > ...
11 years, 7 months ago (2009-05-04 17:58:05 UTC) #3
sky
On 2009/05/04 17:58:05, Lei Zhang wrote: > http://codereview.chromium.org/99349/diff/1/2 > File base/string_util_unittest.cc (right): > > http://codereview.chromium.org/99349/diff/1/2#newcode315 ...
11 years, 7 months ago (2009-05-04 18:16:22 UTC) #4
sky
http://codereview.chromium.org/99349/diff/1/2 File base/string_util_unittest.cc (right): http://codereview.chromium.org/99349/diff/1/2#newcode315 Line 315: EXPECT_EQ(0U, converted[0]); On 2009/05/04 17:58:05, Lei Zhang wrote: ...
11 years, 7 months ago (2009-05-04 19:15:29 UTC) #5
sky
LGTM. I'll fix the nit and land shortly. http://codereview.chromium.org/99349/diff/8/1008 File base/string_util_unittest.cc (right): http://codereview.chromium.org/99349/diff/8/1008#newcode314 Line 314: ...
11 years, 7 months ago (2009-05-04 19:57:37 UTC) #6
Lei Zhang
On 2009/05/04 19:57:37, sky wrote: > LGTM. > > I'll fix the nit and land ...
11 years, 7 months ago (2009-05-04 20:15:04 UTC) #7
sky
On 2009/05/04 20:15:04, Lei Zhang wrote: > On 2009/05/04 19:57:37, sky wrote: > > LGTM. ...
11 years, 7 months ago (2009-05-04 20:30:09 UTC) #8
Lei Zhang
LGTM Ok, hopefully we'll have a bot at some point in the future.
11 years, 7 months ago (2009-05-05 17:42:05 UTC) #9
Evan Stade
> Can we write it as static_cast<wchar_t>(0) and get rid of the #if define ? ...
11 years, 7 months ago (2009-05-06 07:20:25 UTC) #10
Mark Mentovai
The ugly code rescue squad has arrived. http://codereview.chromium.org/99349/diff/1/2 File base/string_util_unittest.cc (right): http://codereview.chromium.org/99349/diff/1/2#newcode315 Line 315: EXPECT_EQ(0U, ...
11 years, 7 months ago (2009-05-06 16:14:16 UTC) #11
Mark Mentovai
11 years, 7 months ago (2009-05-06 16:18:16 UTC) #12
http://codereview.chromium.org/99349/diff/8/1009
File base/debug_util_posix.cc (right):

http://codereview.chromium.org/99349/diff/8/1009#newcode110
Line 110: #if !defined(ARCH_CPU_ARM_FAMILY)
This needs a TODO for someone to implement it on ARM, or an #else
NOTIMPLEMENTED().

http://codereview.chromium.org/99349/diff/8/1011
File build/build_config.h (right):

http://codereview.chromium.org/99349/diff/8/1011#newcode59
Line 59: #define WCHAR_T_IS_UNSIGNED 1
This is now of dubious value given my previous e-mail.

http://codereview.chromium.org/99349/diff/8/1010
File media/base/yuv_convert.cc (right):

http://codereview.chromium.org/99349/diff/8/1010#newcode76
Line 76: // MMX for Windows, Linux and Mac.
This comment should say "on x86".

http://codereview.chromium.org/99349/diff/8/1010#newcode81
Line 81: #ifdef ARCH_CPU_ARM_FAMILY
I think that this should be flipped, right?  We want "no MMX" on any non-x86,
not just on ARM.  So...

#ifdef ARCH_CPU_X86_FAMILY
#define USE_MMX 1
#else
#define USE_MMX 0
#endif

Right?

Powered by Google App Engine
This is Rietveld 408576698