summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeun young Park <keunyoung@google.com>2012-05-24 16:46:42 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-05-31 18:36:16 -0700
commit8a1d4ed8f9f88fb44ceaf3bdf270fd372d7b89d3 (patch)
treec5c6ea6a7960bb671e8c217571bae5c4c7d0b29f
parent7724be52f82eaa36f4dca666d98e0548f8e16694 (diff)
downloaddevice_samsung_tuna-8a1d4ed8f9f88fb44ceaf3bdf270fd372d7b89d3.zip
device_samsung_tuna-8a1d4ed8f9f88fb44ceaf3bdf270fd372d7b89d3.tar.gz
device_samsung_tuna-8a1d4ed8f9f88fb44ceaf3bdf270fd372d7b89d3.tar.bz2
enable maguro PDK build
- exclude unavailable files during PDK build - use utils.UniquePtr.h Bug: 6557554 Change-Id: I1d958855cfd7c4f3204f77e96296bd08929caef1
-rw-r--r--device.mk12
-rw-r--r--keymaster/keymaster_tuna.cpp2
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 <cryptoki.h>
#include <pkcs11.h>
-#include <UniquePtr.h>
+#include <utils/UniquePtr.h>
/** The size of a key ID in bytes */