aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiko Catania <>2009-03-24 18:26:16 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-24 18:26:16 -0700
commit21193329f04cc06ff1789e896481dec87e88bfbe (patch)
tree14e892920f393b8757dfe419f805c2a077824eab
parent7bcfcd5a4b57a40470128b087e0c1e709c07942b (diff)
downloadopencore-21193329f04cc06ff1789e896481dec87e88bfbe.tar.gz
Automated import from //branches/cupcake/...@141816,141816
-rw-r--r--Config.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/Config.mk b/Config.mk
index a5d603642..2750c991e 100644
--- a/Config.mk
+++ b/Config.mk
@@ -19,8 +19,12 @@ ifndef EXTERNAL_OPENCORE_CONFIG_ONCE
# To enable the windows codecs under vendor/pv, define VALUE_ADD to true.
# You need HAS_OSCL_LIB_SUPPORT as well for VALUE_ADD modules.
- VALUE_ADD := true
- ifeq ($(VALUE_ADD), true)
+ # Some partners do not get vendor/pv in their distribution. If not present
+ # VALUE_ADD will be set to false.
+ ifeq ($(findstring pvplayer.conf, $(wildcard $(TOPDIR)vendor/pv/pvplayer.conf)), )
+ VALUE_ADD := false
+ else
+ VALUE_ADD := true
PV_CFLAGS += -DPV_USE_VALUE_ADD=1
endif