diff options
author | Sam Hurst <shurst@google.com> | 2016-06-21 13:27:24 -0700 |
---|---|---|
committer | Keun-young Park <keunyoung@google.com> | 2016-11-28 18:10:38 -0800 |
commit | 592f92f11ff2eaada574d4f1dae2a6074f44639a (patch) | |
tree | 4017ba851a9646196629b5da127bfe990cf8f3a7 /common | |
parent | 7cf4cb164713570ce843412de581ce39f0ad213b (diff) | |
download | car-592f92f11ff2eaada574d4f1dae2a6074f44639a.tar.gz |
Remove binaries from PDK that don't have source
Bug: 29540569
Change-Id: Ica158e23f67c045ec7feb4d370270c4ad9bc5457
Diffstat (limited to 'common')
-rw-r--r-- | common/product/aosp_arm.mk | 18 | ||||
-rw-r--r-- | common/product/aosp_arm64.mk | 34 | ||||
-rw-r--r-- | common/product/aosp_base.mk | 16 | ||||
-rw-r--r-- | common/product/aosp_base_telephony.mk | 16 | ||||
-rw-r--r-- | common/product/aosp_x86_64.mk | 49 | ||||
-rw-r--r-- | common/product/core.mk | 53 | ||||
-rw-r--r-- | common/product/emulator.mk | 58 | ||||
-rw-r--r-- | common/product/full.mk | 31 | ||||
-rw-r--r-- | common/product/full_base.mk | 53 | ||||
-rw-r--r-- | common/product/full_base_telephony.mk | 31 | ||||
-rw-r--r-- | common/product/generic_no_telephony.mk | 71 |
11 files changed, 430 insertions, 0 deletions
diff --git a/common/product/aosp_arm.mk b/common/product/aosp_arm.mk new file mode 100644 index 0000000..1dd5e89 --- /dev/null +++ b/common/product/aosp_arm.mk @@ -0,0 +1,18 @@ +# +# Copyright 2016 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. +# +include device/generic/car/common/product/full.mk + +PRODUCT_NAME := aosp_arm diff --git a/common/product/aosp_arm64.mk b/common/product/aosp_arm64.mk new file mode 100644 index 0000000..99e6065 --- /dev/null +++ b/common/product/aosp_arm64.mk @@ -0,0 +1,34 @@ +# +# Copyright (C) 2016 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. +# + +# This is a build configuration for a full-featured build of the +# Open-Source part of the tree. It's geared toward a US-centric +# build quite specifically for the emulator, and might not be +# entirely appropriate to inherit from for on-device configurations. + +# This is for enabling ethernet support for ranchu. +# Consider removing this after RIL support is provided in ranchu. +PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml + +$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) +$(call inherit-product, device/generic/car/common/product/aosp_base_telephony.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_arm64/device.mk) + +include $(SRC_TARGET_DIR)/product/emulator.mk +PRODUCT_NAME := aosp_arm64 +PRODUCT_DEVICE := generic_arm64 +PRODUCT_BRAND := Android +PRODUCT_MODEL := AOSP on ARM arm64 Emulator diff --git a/common/product/aosp_base.mk b/common/product/aosp_base.mk new file mode 100644 index 0000000..d3be4e4 --- /dev/null +++ b/common/product/aosp_base.mk @@ -0,0 +1,16 @@ +# +# Copyright 2016 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. +# +$(call inherit-product, device/generic/car/common/product/full_base.mk) diff --git a/common/product/aosp_base_telephony.mk b/common/product/aosp_base_telephony.mk new file mode 100644 index 0000000..4d9fee2 --- /dev/null +++ b/common/product/aosp_base_telephony.mk @@ -0,0 +1,16 @@ +# +# Copyright 2016 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. +# +$(call inherit-product, device/generic/car/common/product/full_base_telephony.mk) diff --git a/common/product/aosp_x86_64.mk b/common/product/aosp_x86_64.mk new file mode 100644 index 0000000..690c23e --- /dev/null +++ b/common/product/aosp_x86_64.mk @@ -0,0 +1,49 @@ +# +# Copyright 2016 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. +# + +# This is a build configuration for a full-featured build of the +# Open-Source part of the tree. It's geared toward a US-centric +# build quite specifically for the emulator, and might not be +# entirely appropriate to inherit from for on-device configurations. + +# If running on an emulator or some other device that has a LAN connection +# that isn't a wifi connection. This will instruct init.rc to enable the +# network connection so that you can use it with ADB + +# This is for enabling ethernet support for ranchu. +# Consider removing this after RIL support is provided in ranchu. +PRODUCT_COPY_FILES += frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml + +$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) +$(call inherit-product, device/generic/car/common/product/aosp_base_telephony.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_64/device.mk) + +include device/generic/car/common/product/emulator.mk + +ifdef NET_ETH0_STARTONBOOT + PRODUCT_PROPERTY_OVERRIDES += net.eth0.startonboot=1 +endif + +# Ensure we package the BIOS files too. +PRODUCT_PACKAGES += \ + bios.bin \ + vgabios-cirrus.bin \ + +# Overrides +PRODUCT_NAME := aosp_x86_64 +PRODUCT_DEVICE := generic_x86_64 +PRODUCT_BRAND := Android +PRODUCT_MODEL := AOSP on IA x86_64 Emulator diff --git a/common/product/core.mk b/common/product/core.mk new file mode 100644 index 0000000..8280c2c --- /dev/null +++ b/common/product/core.mk @@ -0,0 +1,53 @@ +# +# Copyright (C) 2016 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. +# + +# Base configuration for communication-oriented android devices +# (phones, tablets, etc.). If you want a change to apply to ALMOST ALL +# devices (including non-phones and non-tablets), modify +# core_minimal.mk instead. If you care about wearables, you need to modify +# core_tiny.mk in addition to core_minimal.mk. + +PRODUCT_PACKAGES += \ + BasicDreams \ + BlockedNumberProvider \ + CaptivePortalLogin \ + CertInstaller \ + Contacts \ + DocumentsUI \ + DownloadProviderUi \ + ExternalStorageProvider \ + FusedLocation \ + InputDevices \ + KeyChain \ + Keyguard \ + LatinIME \ + Launcher2 \ + ManagedProvisioning \ + MtpDocumentsProvider \ + PicoTts \ + PacProcessor \ + libpac \ + PrintSpooler \ + ProxyHandler \ + QuickSearchBox \ + Settings \ + SharedStorageBackup \ + Telecom \ + TeleService \ + VpnDialogs \ + MmsService + +$(call inherit-product, $(SRC_TARGET_DIR)/product/core_base.mk) diff --git a/common/product/emulator.mk b/common/product/emulator.mk new file mode 100644 index 0000000..7772854 --- /dev/null +++ b/common/product/emulator.mk @@ -0,0 +1,58 @@ +# +# Copyright (C) 2016 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. + +# +# This file is included by other product makefiles to add all the +# emulator-related modules to PRODUCT_PACKAGES. +# + +# Host modules +PRODUCT_PACKAGES += \ + + +# Device modules +PRODUCT_PACKAGES += \ + egl.cfg \ + gralloc.goldfish \ + libGLESv1_CM_emulation \ + lib_renderControl_enc \ + libEGL_emulation \ + libGLES_android \ + libGLESv2_enc \ + libOpenglSystemCommon \ + libGLESv2_emulation \ + libGLESv1_enc \ + qemu-props \ + qemud \ + camera.goldfish.jpeg \ + lights.goldfish \ + gps.goldfish \ + sensors.goldfish \ + power.goldfish \ + audio.primary.goldfish + +PRODUCT_COPY_FILES += \ + device/generic/goldfish/fstab.goldfish:root/fstab.goldfish \ + device/generic/goldfish/init.goldfish.rc:root/init.goldfish.rc \ + device/generic/goldfish/init.goldfish.sh:system/etc/init.goldfish.sh \ + device/generic/goldfish/ueventd.goldfish.rc:root/ueventd.goldfish.rc \ + device/generic/goldfish/init.ranchu.rc:root/init.ranchu.rc \ + device/generic/goldfish/fstab.ranchu:root/fstab.ranchu \ + device/generic/goldfish/ueventd.ranchu.rc:root/ueventd.ranchu.rc \ + frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml + +PRODUCT_PACKAGE_OVERLAYS := device/generic/goldfish/overlay + +PRODUCT_CHARACTERISTICS := emulator diff --git a/common/product/full.mk b/common/product/full.mk new file mode 100644 index 0000000..9c3b071 --- /dev/null +++ b/common/product/full.mk @@ -0,0 +1,31 @@ +# +# Copyright (C) 2016 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. +# + +# This is a build configuration for a full-featured build of the +# Open-Source part of the tree. It's geared toward a US-centric +# build quite specifically for the emulator, and might not be +# entirely appropriate to inherit from for on-device configurations. + +$(call inherit-product, device/generic/car/common/product/aosp_base_telephony.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/board/generic/device.mk) + +include device/generic/car/common/product/emulator.mk + +# Overrides +PRODUCT_NAME := full +PRODUCT_DEVICE := generic +PRODUCT_BRAND := Android +PRODUCT_MODEL := AOSP on ARM Emulator diff --git a/common/product/full_base.mk b/common/product/full_base.mk new file mode 100644 index 0000000..929e5d8 --- /dev/null +++ b/common/product/full_base.mk @@ -0,0 +1,53 @@ +# +# Copyright (C) 2016 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. +# + +# This is a build configuration for a full-featured build of the +# Open-Source part of the tree. It's geared toward a US-centric +# build of the emulator, but all those aspects can be overridden +# in inherited configurations. + +PRODUCT_PACKAGES := \ + libfwdlockengine \ + WAPPushManager + +PRODUCT_PACKAGES += \ + Galaxy4 \ + HoloSpiralWallpaper \ + LiveWallpapers \ + LiveWallpapersPicker \ + MagicSmokeWallpapers \ + NoiseField \ + PhaseBeam + +# Additional settings used in all AOSP builds +PRODUCT_PROPERTY_OVERRIDES := \ + ro.config.ringtone=Ring_Synth_04.ogg \ + ro.config.notification_sound=pixiedust.ogg + +# Put en_US first in the list, so make it default. +PRODUCT_LOCALES := en_US + +# Get some sounds +$(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk) + +# Get the TTS language packs +$(call inherit-product-if-exists, external/svox/pico/lang/all_pico_languages.mk) + +# Get a list of languages. +$(call inherit-product, $(SRC_TARGET_DIR)/product/locales_full.mk) + +# Get everything else from the parent package +$(call inherit-product, device/generic/car/common/product/generic_no_telephony.mk) diff --git a/common/product/full_base_telephony.mk b/common/product/full_base_telephony.mk new file mode 100644 index 0000000..69a7286 --- /dev/null +++ b/common/product/full_base_telephony.mk @@ -0,0 +1,31 @@ +# +# Copyright (C) 2016 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. +# + +# This is a build configuration for a full-featured build of the +# Open-Source part of the tree. It's geared toward a US-centric +# build quite specifically for the emulator, and might not be +# entirely appropriate to inherit from for on-device configurations. + +PRODUCT_PROPERTY_OVERRIDES := \ + keyguard.no_require_sim=true \ + ro.com.android.dataroaming=true + +PRODUCT_COPY_FILES := \ + device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \ + frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml + +$(call inherit-product, device/generic/car/common/product/aosp_base.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony.mk) diff --git a/common/product/generic_no_telephony.mk b/common/product/generic_no_telephony.mk new file mode 100644 index 0000000..4d37fe9 --- /dev/null +++ b/common/product/generic_no_telephony.mk @@ -0,0 +1,71 @@ +# +# Copyright (C) 2016 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. +# + +# This is a generic phone product that isn't specialized for a specific device. +# It includes the base Android platform. + +PRODUCT_PACKAGES := \ + Bluetooth \ + MusicFX \ + OneTimeInitializer \ + Provision \ + SystemUI \ + WallpaperCropper + +PRODUCT_PACKAGES += \ + clatd \ + clatd.conf \ + pppd \ + screenrecord + +PRODUCT_PACKAGES += \ + librs_jni \ + libvideoeditor_jni \ + libvideoeditor_core \ + libvideoeditor_osal \ + libvideoeditor_videofilters \ + libvideoeditorplayer \ + +PRODUCT_PACKAGES += \ + audio.primary.default \ + audio_policy.default \ + local_time.default \ + vibrator.default \ + power.default + +PRODUCT_COPY_FILES := \ + frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf + +PRODUCT_PROPERTY_OVERRIDES += \ + ro.carrier=unknown + +$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) +$(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk) +$(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk) +$(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk) +$(call inherit-product-if-exists, external/google-fonts/cutive-mono/fonts.mk) +$(call inherit-product-if-exists, external/noto-fonts/fonts.mk) +$(call inherit-product-if-exists, external/naver-fonts/fonts.mk) +$(call inherit-product-if-exists, external/roboto-fonts/fonts.mk) +$(call inherit-product-if-exists, external/hyphenation-patterns/patterns.mk) +$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk) +$(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk) +$(call inherit-product, device/generic/car/common/product/core.mk) + +# Overrides +PRODUCT_BRAND := generic +PRODUCT_DEVICE := generic +PRODUCT_NAME := generic_no_telephony |