1
2///////////////////////////////////////////////////////////////////////////////
3//
4// THIS FILE IS AUTOGENERATED BY GYP_TO_ANDROID.PY. DO NOT EDIT.
5//
6// This file contains Skia's upstream include/config/SkUserConfig.h as a
7// reference, followed by the actual defines set for Android.
8//
9///////////////////////////////////////////////////////////////////////////////
10
11/*
12 * Copyright 2014 Google Inc.
13 *
14 * Use of this source code is governed by a BSD-style license that can be
15 * found in the LICENSE file.
16 */
17
18/*
19 *  Unchanging SkUserConfig.h for testing generate_user_config.
20 */
21
22// Android defines:
23#ifndef SkUserConfig_Android_DEFINED
24#define SkUserConfig_Android_DEFINED
25#ifdef ANDROID
26    #include <utils/misc.h>
27#endif
28
29#if __BYTE_ORDER == __BIG_ENDIAN
30    #define SK_CPU_BENDIAN
31    #undef  SK_CPU_LENDIAN
32#else
33    #define SK_CPU_LENDIAN
34    #undef  SK_CPU_BENDIAN
35#endif
36
37#define SK_BUILD_FOR_ANDROID
38#define SK_BUILD_FOR_ANDROID_FRAMEWORK
39#define SK_SCALAR_IS_FLOAT
40#define foo
41#define bar
42
43#endif // SkUserConfig_Android_DEFINED
44