OSDN Git Service

ts_calibrate : Truncate pointercal file if it already exists.
[android-x86/external-tslib.git] / tslib.mk
1 #
2 # Copyright (C) 2011-2012 The Android-x86 Open Source Project
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #      http://www.apache.org/licenses/LICENSE-2.0
9 #
10
11
12 PRODUCT_DIR := $(dir $(lastword $(filter-out device/common/%,$(filter device/%,$(ALL_PRODUCTS)))))
13
14 PRODUCT_COPY_FILES := \
15     $(if $(wildcard $(PRODUCT_DIR)ts.env),$(PRODUCT_DIR),$(LOCAL_PATH)/)ts.env:system/etc/ts.env \
16     $(if $(wildcard $(PRODUCT_DIR)ts.conf),$(PRODUCT_DIR),$(LOCAL_PATH)/)ts.conf:system/etc/ts.conf \
17     $(if $(wildcard $(PRODUCT_DIR)pointercal),$(PRODUCT_DIR)pointercal:system/etc/pointercal) \
18
19 # for touchscreen calibration
20 PRODUCT_PACKAGES := \
21     ts_calibrate \
22
23 # plugins
24 PRODUCT_PACKAGES += \
25     arctic2 \
26     collie \
27     corgi \
28     dejitter \
29     h3600 \
30     input-raw \
31     linear \
32     linear-h2200 \
33     mk712 \
34     pthres \
35     tatung \
36     touchkit \
37     ucb1x00 \
38     variance