summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-05-02 18:03:08 (GMT)
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-05-03 22:27:22 (GMT)
commit90106d85b75a60a8bdc9c4ad891e4a2e7ce548dd (patch)
tree9de7cbcf763ac13e28b24a413ea3b882e8864515 /Android.mk
parent1daec9c7f02dad48039ea6999f3b50983f3b4617 (diff)
downloadandroid_packages_apps_Trebuchet-90106d85b75a60a8bdc9c4ad891e4a2e7ce548dd.zip
android_packages_apps_Trebuchet-90106d85b75a60a8bdc9c4ad891e4a2e7ce548dd.tar.gz
android_packages_apps_Trebuchet-90106d85b75a60a8bdc9c4ad891e4a2e7ce548dd.tar.bz2
Trebuchet: send metrics directly when possible
Use the SDK directly instead of relying on an external package. Still relies on C-Apps Core to send. Reverts the revert and fixes the issue (missing aapt flag overlay) This reverts commit d20f7796e45dcae0e619d3bb76a3a89674705702. Ticket: CYNGNOS-2545 Change-Id: I9445cadc429c3158cabb6a7d07e016f6fe3dac19
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 5ef85b4..3b21fb9 100644
--- a/Android.mk
+++ b/Android.mk
@@ -28,6 +28,7 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
android-support-v7-recyclerview \
org.cyanogenmod.platform.internal
+LOCAL_STATIC_JAVA_AAR_LIBRARIES := ambientsdk
LOCAL_SRC_FILES := $(call all-java-files-under, src) \
$(call all-java-files-under, WallpaperPicker/src) \
@@ -43,7 +44,8 @@ LOCAL_PROTOC_OPTIMIZE_TYPE := nano
LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/
LOCAL_AAPT_FLAGS := \
--auto-add-overlay \
- --extra-packages android.support.v7.recyclerview
+ --extra-packages android.support.v7.recyclerview \
+ --extra-packages com.cyanogen.ambient
#LOCAL_SDK_VERSION := current
LOCAL_PACKAGE_NAME := Trebuchet