Skip to content

Commit 2eb6af6

Browse files
author
The Android Open Source Project
committed
auto import from //depot/cupcake/@135843
1 parent c40f2ad commit 2eb6af6

File tree

2,859 files changed

+990800
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,859 files changed

+990800
-0
lines changed

Android.mk

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
ifneq ($(BUILD_WITHOUT_PV),true)
2+
3+
LOCAL_PATH := $(call my-dir)
4+
include $(CLEAR_VARS)
5+
6+
# Set up the PV variables.
7+
include $(LOCAL_PATH)/Config.mk
8+
9+
# Install the default configuration file
10+
# if no value-add configuration is present.
11+
ifneq ($(VALUE_ADD),1)
12+
$(call add-prebuilt-files, ETC, pvplayer.conf)
13+
endif
14+
15+
include $(PV_TOP)/pvcommon/Android.mk
16+
include $(PV_TOP)/pvplayer/Android.mk
17+
include $(PV_TOP)/pvauthor/Android.mk
18+
include $(PV_TOP)//baselibs/gen_data_structures/Android.mk
19+
include $(PV_TOP)//protocols/rtp/Android.mk
20+
include $(PV_TOP)//protocols/sdp/parser/Android.mk
21+
include $(PV_TOP)//protocols/rtp_payload_parser/Android.mk
22+
include $(PV_TOP)//protocols/rtsp_parcom/Android.mk
23+
include $(PV_TOP)//protocols/rtsp_client_engine/Android.mk
24+
include $(PV_TOP)//protocols/http_parcom/Android.mk
25+
include $(PV_TOP)//nodes/pvsocketnode/Android.mk
26+
include $(PV_TOP)//nodes/pvdownloadmanagernode/Android.mk
27+
include $(PV_TOP)//nodes/pvprotocolenginenode/Android.mk
28+
include $(PV_TOP)//nodes/streaming/jitterbuffernode/Android.mk
29+
include $(PV_TOP)//nodes/streaming/medialayernode/Android.mk
30+
include $(PV_TOP)//nodes/streaming/streamingmanager/Android.mk
31+
include $(PV_TOP)//pvmi/recognizer/plugins/pvmp4ffrecognizer/Android.mk
32+
include $(PV_TOP)//codecs_v2/video/m4v_h263/dec/Android.mk
33+
include $(PV_TOP)//nodes/pvmp4ffparsernode/Android.mk
34+
include $(PV_TOP)//codecs_v2/omx/omx_m4v/Android.mk
35+
include $(PV_TOP)//codecs_v2/audio/sbc/enc/Android.mk
36+
#include $(PV_TOP)//engines/player/sample_app/Android.mk
37+
#include $(PV_TOP)//engines/player/test/Android.mk
38+
#include $(PV_TOP)//engines/adapters/player/framemetadatautility/test/Android.mk
39+
#include $(PV_TOP)//engines/author/test/Android.mk
40+
endif

Config.mk

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
ifndef EXTERNAL_OPENCORE_CONFIG_ONCE
2+
# This is the first attempt to include this file.
3+
EXTERNAL_OPENCORE_CONFIG_ONCE := true
4+
5+
PV_TOP := $(my-dir)
6+
PV_CFLAGS := -Wno-non-virtual-dtor -DENABLE_SHAREDFD_PLAYBACK
7+
FORMAT := nj
8+
PV_COPY_HEADERS_TO := libpv
9+
10+
alternate_config := $(if $(wildcard vendor/pv/pvplayer.conf),true)
11+
ifeq ($(alternate_config), true)
12+
VALUE_ADD := 1
13+
PV_CFLAGS += -DPV_USE_VALUE_ADD=1
14+
else
15+
VALUE_ADD :=
16+
endif
17+
alternate_config :=
18+
19+
PV_INCLUDES := \
20+
$(PV_TOP)/android \
21+
$(PV_TOP)/extern_libs_v2/khronos/openmax/include \
22+
$(PV_TOP)/engines/common/include \
23+
$(PV_TOP)/engines/player/config/linux_nj \
24+
$(PV_TOP)/engines/player/include \
25+
$(PV_TOP)/nodes/pvmediaoutputnode/include \
26+
$(PV_TOP)/nodes/pvdownloadmanagernode/config/opencore \
27+
$(PV_TOP)/pvmi/pvmf/include \
28+
$(PV_TOP)/fileformats/mp4/parser/config/opencore \
29+
$(PV_TOP)/oscl/oscl/config/linux_nj \
30+
$(PV_TOP)/oscl/oscl/config/shared \
31+
$(PV_TOP)/engines/author/include \
32+
$(PV_TOP)/android/drm/oma1/src \
33+
$(TARGET_OUT_HEADERS)/$(PV_COPY_HEADERS_TO)
34+
35+
# Stash these values for the next includer of this file.
36+
OPENCORE.PV_TOP := $(PV_TOP)
37+
OPENCORE.PV_CFLAGS := $(PV_CFLAGS)
38+
OPENCORE.FORMAT := $(FORMAT)
39+
OPENCORE.PV_COPY_HEADERS_TO := $(PV_COPY_HEADERS_TO)
40+
OPENCORE.VALUE_ADD := $(VALUE_ADD)
41+
OPENCORE.PV_INCLUDES := $(PV_INCLUDES)
42+
else
43+
# This file has already been included by someone, so we can
44+
# use the precomputed values.
45+
PV_TOP := $(OPENCORE.PV_TOP)
46+
PV_CFLAGS := $(OPENCORE.PV_CFLAGS)
47+
FORMAT := $(OPENCORE.FORMAT)
48+
PV_COPY_HEADERS_TO := $(OPENCORE.PV_COPY_HEADERS_TO)
49+
VALUE_ADD := $(OPENCORE.VALUE_ADD)
50+
PV_INCLUDES := $(OPENCORE.PV_INCLUDES)
51+
endif

android/Android.mk

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
LOCAL_PATH := $(call my-dir)
2+
include $(CLEAR_VARS)
3+
4+
LOCAL_SRC_FILES := \
5+
autodetect.cpp \
6+
metadatadriver.cpp \
7+
playerdriver.cpp \
8+
thread_init.cpp \
9+
mediascanner.cpp \
10+
android_surface_output.cpp \
11+
android_audio_output.cpp \
12+
android_audio_stream.cpp \
13+
android_audio_mio.cpp \
14+
android_audio_output_threadsafe_callbacks.cpp
15+
16+
LOCAL_CFLAGS := $(PV_CFLAGS)
17+
18+
LOCAL_C_INCLUDES := $(PV_INCLUDES) \
19+
$(PV_TOP)/engines/common/include \
20+
$(PV_TOP)/fileformats/mp4/parser/include \
21+
$(PV_TOP)/pvmi/media_io/pvmiofileoutput/include \
22+
$(PV_TOP)/pvmi/pvmf/include \
23+
$(PV_TOP)/nodes/pvmediaoutputnode/include \
24+
$(PV_TOP)/nodes/pvmediainputnode/include \
25+
$(PV_TOP)/nodes/pvmp4ffcomposernode/include \
26+
$(PV_TOP)/engines/player/include \
27+
$(PV_TOP)/nodes/common/include \
28+
external/icu4c/common \
29+
external/tremor/Tremor \
30+
libs/drm/mobile1/include \
31+
$(call include-path-for, graphics corecg)
32+
33+
LOCAL_SHARED_LIBRARIES := libmedia libvorbisidec libicuuc
34+
35+
LOCAL_MODULE := libandroidpv
36+
37+
LOCAL_LDLIBS +=
38+
39+
include $(BUILD_STATIC_LIBRARY)
40+

0 commit comments

Comments
 (0)