OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_ | 5 #ifndef SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_ |
6 #define SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_ | 6 #define SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_ |
7 | 7 |
8 #if defined(__ANDROID__) | 8 #if defined(__ANDROID__) |
9 | 9 |
10 #if defined(__arm__) | 10 #if defined(__arm__) |
11 #include "sandbox/linux/services/android_arm_ucontext.h" | 11 #include "sandbox/linux/services/android_arm_ucontext.h" |
12 #elif defined(__i386__) | 12 #elif defined(__i386__) |
13 #include "sandbox/linux/services/android_i386_ucontext.h" | 13 #include "sandbox/linux/services/android_i386_ucontext.h" |
14 #elif defined(__x86_64__) | 14 #elif defined(__x86_64__) |
15 #include "sandbox/linux/services/android_x86_64_ucontext.h" | 15 #include "sandbox/linux/services/android_x86_64_ucontext.h" |
| 16 #elif defined(__mips__) |
| 17 #include "sandbox/linux/services/android_mips_ucontext.h" |
16 #else | 18 #else |
17 #error "No support for your architecture in Android header" | 19 #error "No support for your architecture in Android header" |
18 #endif | 20 #endif |
19 | 21 |
20 #else // __ANDROID__ | 22 #else // __ANDROID__ |
21 #error "Android header file included on non Android." | 23 #error "Android header file included on non Android." |
22 #endif // __ANDROID__ | 24 #endif // __ANDROID__ |
23 | 25 |
24 #endif // SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_ | 26 #endif // SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_ |
OLD | NEW |