Rebrand it to troika
[GitHub/moto-9609/twrp_device_motorola_troika.git] / omni_troika.mk
1 #
2 # Copyright 2017 The Android Open Source Project
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16
17 # Release name
18 PRODUCT_RELEASE_NAME := troika
19
20 $(call inherit-product, build/target/product/embedded.mk)
21
22 # Inherit from our custom product configuration
23 $(call inherit-product, vendor/omni/config/common.mk)
24
25 # Inherit from hardware-specific part of the product configuration
26 $(call inherit-product, device/motorola/troika/device.mk)
27
28 ## Device identifier. This must come after all inclusions
29 PRODUCT_DEVICE := troika
30 PRODUCT_NAME := omni_troika
31 PRODUCT_BRAND := motorola
32 PRODUCT_MODEL := moto one
33 PRODUCT_MANUFACTURER := motorola
34
35 PRODUCT_BUILD_PROP_OVERRIDES += \
36 PRODUCT_NAME=troika \
37 BUILD_PRODUCT=troika \
38 TARGET_DEVICE=troika
39
40 PRODUCT_SYSTEM_PROPERTY_BLACKLIST += \
41 ro.product.model \
42 ro.product.device \
43 ro.product.name \
44 ro.build.product \
45 ro.display.series
46
47 # HACK: Set vendor patch level
48 PRODUCT_PROPERTY_OVERRIDES += \
49 ro.vendor.build.security_patch=2099-12-31