File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ LOCAL_C_INCLUDES:= \
6868LOCAL_SHARED_LIBRARIES := \
6969 libbinder \
7070 libcamera_client \
71- libchromium_net \
7271 libcrypto \
7372 libcutils \
7473 libdl \
@@ -101,14 +100,18 @@ LOCAL_STATIC_LIBRARIES := \
101100 libstagefright_httplive \
102101 libstagefright_id3 \
103102 libFLAC \
104- libstagefright_chromium_http \
103+
104+ ifneq ($(TARGET_BUILD_PDK ) , true)
105+ LOCAL_STATIC_LIBRARIES += \
106+ libstagefright_chromium_http
107+ LOCAL_SHARED_LIBRARIES += \
108+ libchromium_net
109+ LOCAL_CPPFLAGS += -DCHROMIUM_AVAILABLE=1
110+ endif
105111
106112LOCAL_SHARED_LIBRARIES += libstlport
107113include external/stlport/libstlport.mk
108114
109- # TODO: Chromium is always available, so this flag can be removed.
110- LOCAL_CPPFLAGS += -DCHROMIUM_AVAILABLE=1
111-
112115LOCAL_SHARED_LIBRARIES += \
113116 libstagefright_enc_common \
114117 libstagefright_avc_common \
Original file line number Diff line number Diff line change 11LOCAL_PATH: = $(call my-dir)
22
3+ ifneq ($(TARGET_BUILD_PDK ) , true)
34include $(CLEAR_VARS )
45
56LOCAL_SRC_FILES: = \
@@ -21,3 +22,4 @@ include external/stlport/libstlport.mk
2122LOCAL_MODULE: = libstagefright_chromium_http
2223
2324include $(BUILD_STATIC_LIBRARY )
25+ endif
You can’t perform that action at this time.
0 commit comments