Remove build conditions inside .c plugin files

Rather use the Makefile to specify which files must be built
Fix color builds with test plugins enabled (test_scanrate gave an empty
.o file)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27886 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-08-25 19:00:58 +00:00
parent b11767b7ae
commit 7014faee69
25 changed files with 15 additions and 119 deletions

View file

@ -150,10 +150,6 @@ robotfindskitten.c
xobox.c
spacerocks.c
/* Plugins needing the grayscale lib on low-depth LCDs */
fire.c
plasma.c
blackjack.c
bounce.c
bubbles.c
@ -176,6 +172,10 @@ starfield.c
vu_meter.c
wormlet.c
/* Plugins needing the grayscale lib on low-depth LCDs */
fire.c
plasma.c
#ifdef HAVE_LCD_COLOR
clix.c
ppmviewer.c
@ -225,9 +225,12 @@ test_codec.c
test_core_jpeg.c
#endif
test_disk.c
test_fps.c
#ifdef HAVE_LCD_BITMAP
test_fps.c
test_gfx.c
#if LCD_DEPTH < 4 && !defined(SIMULATOR)
test_scanrate.c
#endif
#ifndef HAVE_LCD_COLOR
test_grey.c
test_greylib_bitmap_scale.c
@ -243,9 +246,8 @@ test_resize.c
#if CONFIG_CODEC == SWCODEC
test_sampr.c
#endif
test_scanrate.c
#ifdef HAVE_TOUCHSCREEN
test_touchscreen.c
#endif
test_viewports.c
#endif
#endif /* HAVE_TEST_PLUGINS */