X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fdevice-generic-common.git;a=blobdiff_plain;f=device.mk;h=55c03d06214afdcb512071d140045ce191e00846;hp=6f1e9396ef4d7bda33c7bad11d10cb570c1f229b;hb=4a7414386af24ddd9b25d4614547c4b03ae80339;hpb=e0c1988f2a7308a0c20f762f2a002befb1de5547 diff --git a/device.mk b/device.mk index 6f1e939..55c03d0 100644 --- a/device.mk +++ b/device.mk @@ -50,7 +50,7 @@ PRODUCT_COPY_FILES += \ device/sample/etc/old-apns-conf.xml:system/etc/old-apns-conf.xml \ frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \ - frameworks/base/compiled-classes-phone:system/etc/compiled-classes \ + frameworks/base/config/compiled-classes-phone:system/etc/compiled-classes \ frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \ frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \ frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \ @@ -111,7 +111,10 @@ $(call inherit-product-if-exists,hardware/libsensors/sensors.mk) $(call inherit-product,frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk) # Get GMS -$(call inherit-product-if-exists,vendor/google/products/gms.mk) +GAPPS_VARIANT ?= pico +$(call inherit-product-if-exists,$(if $(wildcard vendor/google/products/gms.mk),vendor/google/products/gms.mk,vendor/opengapps/build/opengapps-packages.mk)) # Get native bridge settings $(call inherit-product-if-exists,$(LOCAL_PATH)/nativebridge/nativebridge.mk) + +$(call inherit-product,$(if $(wildcard $(PRODUCT_DIR)packages.mk),$(PRODUCT_DIR),$(LOCAL_PATH)/)packages.mk)