leozwang@webrtc.org | f5fe100 | 2012-05-08 15:20:02 +0000 | [diff] [blame] | 1 | /* |
| 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.org | 815653b | 2012-11-19 04:04:10 +0000 | [diff] [blame] | 11 | #if defined(WEBRTC_CHROMIUM_BUILD) |
| 12 | #include <cpu-features.h> |
| 13 | #else |
pbos@webrtc.org | acaf3a1 | 2013-05-27 15:07:45 +0000 | [diff] [blame] | 14 | #include "webrtc/system_wrappers/source/android/cpu-features.h" |
wjia@webrtc.org | 815653b | 2012-11-19 04:04:10 +0000 | [diff] [blame] | 15 | #endif // defined(WEBRTC_CHROMIUM_BUILD) |
leozwang@webrtc.org | f5fe100 | 2012-05-08 15:20:02 +0000 | [diff] [blame] | 16 | |
| 17 | uint64_t WebRtc_GetCPUFeaturesARM(void) { |
| 18 | return android_getCpuFeatures(); |
| 19 | } |