diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-02-22 18:29:20 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-02-23 01:05:00 +0000 |
commit | b2a2a0bbc7c3aac655bc9efc1c8f385adfe90a3f (patch) | |
tree | aa371fe57a4859c18f61b3bead5f532f3d50437b /other | |
parent | 223745e0782602c780c0d66b0c342750fdbd58db (diff) |
Link all tests to the android cpufeatures library if available.
This is needed for libvpx to work on android.
This also means that we can upload our test binaries to an android device
and actually run them, now that libcheck is no longer a blocker.
Diffstat (limited to 'other')
-rw-r--r-- | other/cpufeatures.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/other/cpufeatures.c b/other/cpufeatures.c new file mode 100644 index 00000000..e52a90ff --- /dev/null +++ b/other/cpufeatures.c | |||
@@ -0,0 +1,6 @@ | |||
1 | #define typeof __typeof__ | ||
2 | #ifdef ANDROID_CPU_FEATURES | ||
3 | #include ANDROID_CPU_FEATURES | ||
4 | #endif | ||
5 | |||
6 | extern int unused_declaration; | ||