Migration from jb-mr2 to master for Widevine CDM
Android development of the widevine CDM has been done on the jb-mr2 branch of the cdm code base. This CL contains a merge of that jb-mr2 work to CDM master, and also reflects the evolution of the common Modular DRM code base since jb-mr2 branched. Change-Id: I1d7e1a12d092c00044a4298261146cb97808d4ef
This commit is contained in:
@@ -3,6 +3,22 @@
|
||||
#
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Builds libmodp_b64.a
|
||||
#
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := libmodp_b64
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
bionic \
|
||||
external/stlport/stlport
|
||||
|
||||
LOCAL_SRC_FILES := third_party/stringencoders/src/modp_b64w.cpp
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Builds libcdm_protos.a
|
||||
# Generates *.a, *.pb.h and *.pb.cc for *.proto files.
|
||||
@@ -18,10 +34,12 @@ LOCAL_C_INCLUDES := \
|
||||
|
||||
LOCAL_SRC_FILES := $(call all-proto-files-under, cdm/core/src)
|
||||
|
||||
# $(call local-intermediates-dir)/proto/$(LOCAL_PATH)/cdm/core/src is used 21
|
||||
# $(call local-intermediates-dir)/proto/$(LOCAL_PATH)/cdm/core/src is used
|
||||
# to locate *.pb.h by cdm source
|
||||
# $(call local-intermediates-dir)/proto is used to locate *.pb.h included 23
|
||||
# $(call local-intermediates-dir)/proto is used to locate *.pb.h included
|
||||
# by *.pb.cc
|
||||
# The module that depends on this prebuilt will have LOCAL_C_INCLUDES prepended
|
||||
# with this path.
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := \
|
||||
$(call local-intermediates-dir)/proto \
|
||||
$(call local-intermediates-dir)/proto/$(LOCAL_PATH)/cdm/core/src
|
||||
|
||||
Reference in New Issue
Block a user