diff options
author | Tom Gall <tom.gall@linaro.org> | 2011-09-02 08:40:48 -0500 |
---|---|---|
committer | Tom Gall <tom.gall@linaro.org> | 2011-12-23 11:38:02 -0600 |
commit | 589345700e14abba65bc05bbb4da3ac81320fb7a (patch) | |
tree | 72845bc05273af7ceb351223c71b689f6fa1a743 | |
parent | 85a40bafc8027f84181768b2ad86b6119bbb78b9 (diff) |
when ANDROID is defined, also define ANDROID_RGB, essential for external users such as skia
-rw-r--r-- | jmorecfg.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -11,6 +11,17 @@ * optimizations. Most users will not need to touch this file. */ +/* + * When we're building for android, turn on ANDROID_RGB by default. + * This is needed for components like skia which make use of the + * new encodings defined behind ANDROID_RBG. It's not a reasonable + * config to have ANDROID_RBG off. + */ +#ifdef ANDROID +#ifndef ANDROID_RGB +#define ANDROID_RGB +#endif +#endif /* * Define BITS_IN_JSAMPLE as either |