summaryrefslogtreecommitdiffstats
path: root/liblight
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-09-03 06:46:40 -0700
committerJean-Baptiste Queru <jbq@google.com>2010-09-03 06:46:40 -0700
commit7a45be82e02515dd318da7e7a0ad869d8fae3258 (patch)
tree026e25e784578c35885ffffa9bc777b4c9c70766 /liblight
parenta3ff3a6690e0b68605dfdc076886c2e3b78ba16e (diff)
downloaddevice_samsung_crespo-7a45be82e02515dd318da7e7a0ad869d8fae3258.zip
device_samsung_crespo-7a45be82e02515dd318da7e7a0ad869d8fae3258.tar.gz
device_samsung_crespo-7a45be82e02515dd318da7e7a0ad869d8fae3258.tar.bz2
Move crepo-conditionals to the leaves.
Two benefits: -this follows the convention that all Android.mk files are included, i.e. that reading an Android.mk file shows the entire picture. -this allows some of the leaves to become non-conditional, to increase the number of device-specific modules that are compiled in each build, which allows catching build breakages earlier. Change-Id: I060a4aecc4b5d53b9ca56f13b8599b8fa560f896
Diffstat (limited to 'liblight')
-rwxr-xr-xliblight/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/liblight/Android.mk b/liblight/Android.mk
index 321526b..c11e827 100755
--- a/liblight/Android.mk
+++ b/liblight/Android.mk
@@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+ifeq ($(TARGET_DEVICE),crespo)
LOCAL_PATH:= $(call my-dir)
# HAL module implemenation, not prelinked and stored in
@@ -28,3 +29,5 @@ LOCAL_SHARED_LIBRARIES := liblog
LOCAL_MODULE := lights.$(TARGET_BOARD_PLATFORM)
include $(BUILD_SHARED_LIBRARY)
+
+endif