From 8a1d4ed8f9f88fb44ceaf3bdf270fd372d7b89d3 Mon Sep 17 00:00:00 2001 From: Keun young Park Date: Thu, 24 May 2012 16:46:42 -0700 Subject: enable maguro PDK build - exclude unavailable files during PDK build - use utils.UniquePtr.h Bug: 6557554 Change-Id: I1d958855cfd7c4f3204f77e96296bd08929caef1 --- device.mk | 12 +++++------- keymaster/keymaster_tuna.cpp | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/device.mk b/device.mk index 2ad0740..1e3c028 100644 --- a/device.mk +++ b/device.mk @@ -141,12 +141,10 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \ frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ - frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ - packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml + frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml -# HACK: copy panda init for now to boot on both boards -PRODUCT_COPY_FILES += \ - device/ti/panda/init.omap4pandaboard.rc:root/init.omap4pandaboard.rc +PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ +packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml) # Melfas touchscreen firmware PRODUCT_COPY_FILES += \ @@ -158,8 +156,8 @@ PRODUCT_COPY_FILES += \ device/samsung/tuna/dock.png:system/vendor/res/images/dock/dock.png # Commands to migrate prefs from com.android.nfc3 to com.android.nfc -PRODUCT_COPY_FILES += \ - packages/apps/Nfc/migrate_nfc.txt:system/etc/updatecmds/migrate_nfc.txt +PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ +packages/apps/Nfc/migrate_nfc.txt:system/etc/updatecmds/migrate_nfc.txt) # file that declares the MIFARE NFC constant PRODUCT_COPY_FILES += \ diff --git a/keymaster/keymaster_tuna.cpp b/keymaster/keymaster_tuna.cpp index 15c56f2..0868072 100644 --- a/keymaster/keymaster_tuna.cpp +++ b/keymaster/keymaster_tuna.cpp @@ -36,7 +36,7 @@ #include #include -#include +#include /** The size of a key ID in bytes */ -- cgit v1.1