forked from MotoDX-CM11/android_device_moto_shadow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcm.mk
42 lines (38 loc) · 1.56 KB
/
cm.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
# Copyright (C) 2012 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.
#
# Inherit some common CM stuff
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
$(call inherit-product, vendor/cm/config/cdma.mk)
$(call inherit-product, device/moto/shadow/full_shadow.mk)
PRODUCT_NAME := cm_shadow
PRODUCT_BRAND := Verizon
PRODUCT_DEVICE := shadow
PRODUCT_MODEL := DROIDX
PRODUCT_MANUFACTURER := Motorola
PRODUCT_RELEASE_NAME := Motorola Droid X
PRODUCT_SFX := cdma
UTC_DATE := $(shell date +%s)
DATE := $(shell date +%Y%m%d)
PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_NAME=${PRODUCT_DEVICE}_${PRODUCT_SFX} \
BUILD_NUMBER=${DATE} \
TARGET_DEVICE=${PRODUCT_DEVICE} \
BUILD_FINGERPRINT=${PRODUCT_BRAND}/${PRODUCT_DEVICE}_${PRODUCT_SFX}/${PRODUCT_DEVICE}:${PLATFORM_VERSION}/${BUILD_ID}/${DATE}:user/release-keys \
PRIVATE_BUILD_DESC="${PRODUCT_DEVICE}-user ${PLATFORM_VERSION} ${BUILD_ID} ${DATE} release-keys" \
PRODUCT_BRAND=${PRODUCT_BRAND} \
BUILD_UTC_DATE=${UTC_DATE} \
PRODUCT_DEFAULT_LANGUAGE=en \
PRODUCT_DEFAULT_REGION=US \