Exclude Android-only cpu-features.h from non-Android builds.

This is needed when building Chromium for ARM.

Patch by Joel Stanley <joel@chromium.org>

git-svn-id: http://skia.googlecode.com/svn/trunk@435 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
agl@chromium.org 2009-11-19 03:21:57 +00:00
parent 181172d564
commit 28bee9591d
3 changed files with 10 additions and 3 deletions

View File

@ -14,9 +14,10 @@
* limitations under the License.
*/
#ifdef __arm__
#ifdef ANDROID
#include <machine/cpu-features.h>
#endif
#include "SkColorPriv.h"
/*

View File

@ -14,7 +14,10 @@
* limitations under the License.
*/
#include <machine/cpu-features.h>
#ifdef ANDROID
#include <machine/cpu-features.h>
#endif
#include "SkBitmapProcState.h"
#include "SkColorPriv.h"
#include "SkUtils.h"

View File

@ -15,7 +15,10 @@
** limitations under the License.
*/
#include <machine/cpu-features.h>
#ifdef ANDROID
#include <machine/cpu-features.h>
#endif
#include "SkBlitRow.h"
#include "SkColorPriv.h"
#include "SkDither.h"