summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Tasayco Loarte <victorx.tasayco.loarte@intel.com>2015-07-09 14:40:16 +0200
committerZhengyin Qian <qianzy@google.com>2015-07-28 12:17:43 -0700
commitc5ad85ba94b88ba561b8bb585d8190f1d9e4df61 (patch)
tree2f395b11e95a4beaf420a55e2be85014bc16ad30
parent6ef7662419981a762df75fbc57fcfde52902c123 (diff)
downloadsensors-c5ad85ba94b88ba561b8bb585d8190f1d9e4df61.tar.gz
Sensor: Allow inclusion only for Robby sensors
Change-Id: I2f2df89e74917a9ab1cdb8e256954d1e1bdc4a5b Signed-off-by: Victor Tasayco Loarte <victorx.tasayco.loarte@intel.com>
-rw-r--r--Android.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..5d8471d
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,20 @@
+# Copyright (C) 2015 Intel Corp
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+LOCAL_PATH:= $(call my-dir)
+
+ifeq ($(BOARD_USES_ROBBY_SENSOR), true)
+include $(call first-makefiles-under,$(LOCAL_PATH))
+endif