Skip to content

Commit

Permalink
When NEON disabled, always build ARM memset routines.
Browse files Browse the repository at this point in the history
Fixes:
...SkUtils_opts_arm.cpp:36:error: undefined reference to 'arm_memset16'
...SkUtils_opts_arm.cpp:53:error: undefined reference to 'arm_memset32'

BUG=155921,277433
TEST=Fixes missing memset routine during linking.
R=mtklein@google.com, reed@google.com

Review URL: https://codereview.chromium.org/391793002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283220 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
dalecurtis@google.com committed Jul 15, 2014
1 parent ea267a2 commit f7bc144
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion skia/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ source_set("skia_opts") {
}

# Non-Neon ARM code.
if (arm_version < 7 || (!arm_use_neon && arm_optionally_use_neon)) {
if (arm_version < 7 || !arm_use_neon) {
sources += [ "//third_party/skia/src/opts/memset.arm.S" ]
}

Expand Down
2 changes: 1 addition & 1 deletion skia/skia_library_opts.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
'../third_party/skia/src/opts/SkBitmapProcState_opts_arm.cpp',
],
}],
[ 'target_arch == "arm" and (arm_version < 7 or (arm_neon == 0 and arm_neon_optional == 1))', {
[ 'target_arch == "arm" and (arm_version < 7 or arm_neon == 0)', {
'sources': [
'../third_party/skia/src/opts/memset.arm.S',
],
Expand Down

0 comments on commit f7bc144

Please sign in to comment.