summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Strudel <tstrudel@google.com>2016-09-07 09:41:58 -0700
committerThierry Strudel <tstrudel@google.com>2016-09-12 09:31:51 -0700
commit0f135396264b689e5b2478fb0face281c1e0facc (patch)
tree31ad0be0895bcd4378bb15cd82903689c23385c6
parent11e4d07ddf6a35f55d6ad06edb850b015218c7ac (diff)
downloadmedia-0f135396264b689e5b2478fb0face281c1e0facc.tar.gz
add msmcobalt to build
Bug: 31420007 Change-Id: Ib54de2d819538b91a0ff423e576315c1f552280a Signed-off-by: Thierry Strudel <tstrudel@google.com>
-rw-r--r--Android.mk15
-rw-r--r--msmcobalt/Android.mk20
-rwxr-xr-xmsmcobalt/CleanSpec.mk49
3 files changed, 8 insertions, 76 deletions
diff --git a/Android.mk b/Android.mk
index 80a91fc..7b951b0 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,14 +1,15 @@
# TODO: Find a better way to separate build configs for ADP vs non-ADP devices
ifneq ($(TARGET_BOARD_AUTO),true)
- # for msm8996 targets, use the msm8996 directory, for all other targets
- # use the msm8974 directory.
+
+ QCOM_MEDIA_ROOT := $(call my-dir)/msm8974
ifneq ($(filter msm8996, $(TARGET_BOARD_PLATFORM)),)
QCOM_MEDIA_ROOT := $(call my-dir)/msm8996
- else
- QCOM_MEDIA_ROOT := $(call my-dir)/msm8974
+ endif
+ ifneq ($(filter msmcobalt, $(TARGET_BOARD_PLATFORM)),)
+ QCOM_MEDIA_ROOT := $(call my-dir)/msmcobalt
endif
- ifneq ($(filter msm8610 msm8226 msm8960 msm8660 msm7627a msm7630_surf msm8084 msm8952 msm8992 msm8994 msm8996,$(TARGET_BOARD_PLATFORM)),)
+ ifneq ($(filter msm8610 msm8226 msm8960 msm8660 msm7627a msm7630_surf msm8084 msm8952 msm8992 msm8994 msm8996 msmcobalt,$(TARGET_BOARD_PLATFORM)),)
include $(QCOM_MEDIA_ROOT)/mm-core/Android.mk
include $(QCOM_MEDIA_ROOT)/libstagefrighthw/Android.mk
endif
@@ -17,11 +18,11 @@ ifneq ($(TARGET_BOARD_AUTO),true)
include $(QCOM_MEDIA_ROOT)/mm-video-legacy/Android.mk
endif
- ifneq ($(filter msm8610 msm8226 msm8084 msm8952 msm8992 msm8994 msm8996,$(TARGET_BOARD_PLATFORM)),)
+ ifneq ($(filter msm8610 msm8226 msm8084 msm8952 msm8992 msm8994 msm8996 msmcobalt,$(TARGET_BOARD_PLATFORM)),)
include $(QCOM_MEDIA_ROOT)/mm-video-v4l2/Android.mk
endif
- ifneq ($(filter msm8610 msm8226 msm8960 msm8084 msm8952 msm8992 msm8994 msm8996,$(TARGET_BOARD_PLATFORM)),)
+ ifneq ($(filter msm8610 msm8226 msm8960 msm8084 msm8952 msm8992 msm8994 msm8996 msmcobalt,$(TARGET_BOARD_PLATFORM)),)
include $(QCOM_MEDIA_ROOT)/libc2dcolorconvert/Android.mk
endif
endif
diff --git a/msmcobalt/Android.mk b/msmcobalt/Android.mk
deleted file mode 100644
index ace2fbb..0000000
--- a/msmcobalt/Android.mk
+++ /dev/null
@@ -1,20 +0,0 @@
-QCOM_MEDIA_ROOT := $(call my-dir)
-
-#Compile these for all targets under QCOM_BOARD_PLATFORMS list.
-ifeq ($(call is-board-platform-in-list, $(QCOM_BOARD_PLATFORMS)),true)
-include $(QCOM_MEDIA_ROOT)/mm-core/Android.mk
-include $(QCOM_MEDIA_ROOT)/libstagefrighthw/Android.mk
-endif
-
-ifeq ($(call is-board-platform-in-list, $(MSM_VIDC_TARGET_LIST)),true)
-include $(QCOM_MEDIA_ROOT)/mm-video-v4l2/Android.mk
-
-ifeq ($(BOARD_USES_ADRENO), true)
-include $(QCOM_MEDIA_ROOT)/libc2dcolorconvert/Android.mk
-endif
-
-ifeq ($(TARGET_BOARD_PLATFORM),apq8084)
-include $(QCOM_MEDIA_ROOT)/videopp/Android.mk
-endif
-
-endif
diff --git a/msmcobalt/CleanSpec.mk b/msmcobalt/CleanSpec.mk
deleted file mode 100755
index b84e1b6..0000000
--- a/msmcobalt/CleanSpec.mk
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright (C) 2007 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-# If you don't need to do a full clean build but would like to touch
-# a file or delete some intermediate files, add a clean step to the end
-# of the list. These steps will only be run once, if they haven't been
-# run before.
-#
-# E.g.:
-# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
-# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
-#
-# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
-# files that are missing or have been moved.
-#
-# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
-# Use $(OUT_DIR) to refer to the "out" directory.
-#
-# If you need to re-do something that's already mentioned, just copy
-# the command and add it to the bottom of the list. E.g., if a change
-# that you made last week required touching a file and a change you
-# made today requires touching the same file, just copy the old
-# touch step and add it to the end of the list.
-#
-# ************************************************
-# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
-# ************************************************
-
-# For example:
-#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
-#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
-#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
-#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
-
-# ************************************************
-# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
-# ************************************************