stagefright: compile without chromium for pdk builds

Change-Id: I7d85e04fb9f0caa8460a111ca6181bba6f6497ac
This commit is contained in:
Colin Cross
2012-03-24 14:06:45 -07:00
parent b3e2e24f78
commit 0821013609
2 changed files with 10 additions and 5 deletions

View File

@@ -68,7 +68,6 @@ LOCAL_C_INCLUDES:= \
LOCAL_SHARED_LIBRARIES := \
libbinder \
libcamera_client \
libchromium_net \
libcrypto \
libcutils \
libdl \
@@ -101,14 +100,18 @@ LOCAL_STATIC_LIBRARIES := \
libstagefright_httplive \
libstagefright_id3 \
libFLAC \
libstagefright_chromium_http \
ifneq ($(TARGET_BUILD_PDK), true)
LOCAL_STATIC_LIBRARIES += \
libstagefright_chromium_http
LOCAL_SHARED_LIBRARIES += \
libchromium_net
LOCAL_CPPFLAGS += -DCHROMIUM_AVAILABLE=1
endif
LOCAL_SHARED_LIBRARIES += libstlport
include external/stlport/libstlport.mk
# TODO: Chromium is always available, so this flag can be removed.
LOCAL_CPPFLAGS += -DCHROMIUM_AVAILABLE=1
LOCAL_SHARED_LIBRARIES += \
libstagefright_enc_common \
libstagefright_avc_common \

View File

@@ -1,5 +1,6 @@
LOCAL_PATH:= $(call my-dir)
ifneq ($(TARGET_BUILD_PDK), true)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
@@ -21,3 +22,4 @@ include external/stlport/libstlport.mk
LOCAL_MODULE:= libstagefright_chromium_http
include $(BUILD_STATIC_LIBRARY)
endif