24b04fa2ad
When generating SkUserConfig.h for Android, alphabetize the defines. This will make one merge much harder to look at, but every following one much easier. R=mtklein@google.com Author: scroggo@google.com Review URL: https://codereview.chromium.org/388693003
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// THIS FILE IS AUTOGENERATED BY GYP_TO_ANDROID.PY. DO NOT EDIT.
|
|
//
|
|
// This file contains Skia's upstream include/config/SkUserConfig.h as a
|
|
// reference, followed by the actual defines set for Android.
|
|
//
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/*
|
|
* Copyright 2014 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
/*
|
|
* Unchanging SkUserConfig.h for testing generate_user_config.
|
|
*/
|
|
|
|
// Android defines:
|
|
#ifndef SkUserConfig_Android_DEFINED
|
|
#define SkUserConfig_Android_DEFINED
|
|
#ifdef ANDROID
|
|
#include <utils/misc.h>
|
|
#endif
|
|
|
|
#if __BYTE_ORDER == __BIG_ENDIAN
|
|
#define SK_CPU_BENDIAN
|
|
#undef SK_CPU_LENDIAN
|
|
#else
|
|
#define SK_CPU_LENDIAN
|
|
#undef SK_CPU_BENDIAN
|
|
#endif
|
|
|
|
#define SK_BUILD_FOR_ANDROID
|
|
#define SK_BUILD_FOR_ANDROID_FRAMEWORK
|
|
#define SK_SCALAR_IS_FLOAT
|
|
#define bar
|
|
#define foo
|
|
|
|
#endif // SkUserConfig_Android_DEFINED
|