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 3 // found in the LICENSE file. 4 5 #ifndef SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_ 6 #define SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_ 7 8 #if defined(__ANDROID__) 9 10 #if defined(__arm__) 11 #include "sandbox/linux/services/android_arm_ucontext.h" 12 #elif defined(__i386__) 13 #include "sandbox/linux/services/android_i386_ucontext.h" 14 #else 15 #error "No support for your architecture in Android header" 16 #endif 17 18 #else // __ANDROID__ 19 #error "Android header file included on non Android." 20 #endif // __ANDROID__ 21 22 #endif // SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_ 23