blob: 5de8c39a699f0b7bee347056420e0225c35c0db1 [file] [log] [blame]
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/core/SkOpts.h"
#if !defined(SK_ENABLE_OPTIMIZE_SIZE)
#define SK_OPTS_NS crc32
#include "src/opts/SkChecksum_opts.h"
namespace SkOpts {
void Init_crc32() {
hash_fn = crc32::hash_fn;
}
}
#endif // SK_ENABLE_OPTIMIZE_SIZE