blob: 8f5e3ea46fa6f1b0297efa37320f477137e36009 [file] [log] [blame]
leozwang@webrtc.orgf5fe1002012-05-08 15:20:02 +00001/*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
wjia@webrtc.org815653b2012-11-19 04:04:10 +000011#if defined(WEBRTC_CHROMIUM_BUILD)
12#include <cpu-features.h>
13#else
leozwang@webrtc.orgf5fe1002012-05-08 15:20:02 +000014#include "android/cpu-features.h"
wjia@webrtc.org815653b2012-11-19 04:04:10 +000015#endif // defined(WEBRTC_CHROMIUM_BUILD)
leozwang@webrtc.orgf5fe1002012-05-08 15:20:02 +000016
17uint64_t WebRtc_GetCPUFeaturesARM(void) {
18 return android_getCpuFeatures();
19}