blob: 060fd242e56673b26be755dabe35257d1d4c3a86 [file] [log] [blame]
Rohan Martin3d194502012-11-01 15:19:04 -06001#
2# ANT Stack
3#
4# Copyright 2011 Dynastream Innovations
5#
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#
18
Rohan Martin3d194502012-11-01 15:19:04 -060019LOCAL_PATH := $(call my-dir)
20include $(CLEAR_VARS)
21
22#
23# ANT java system service
24#
25
26LOCAL_SRC_FILES := \
27 $(call all-java-files-under, src) \
28 src/com/dsi/ant/server/IAntHal.aidl \
29 src/com/dsi/ant/server/IAntHalCallback.aidl
30
James Bootsmab3365612018-03-06 11:07:06 -070031LOCAL_STATIC_JAVA_LIBRARIES := \
32 com.dsi.ant-V1.0-java-static
33
Rohan Martin3d194502012-11-01 15:19:04 -060034LOCAL_PROGUARD_FLAG_FILES := proguard.flags
35LOCAL_CERTIFICATE := platform
36LOCAL_MODULE_TAGS := optional
37LOCAL_PACKAGE_NAME := AntHalService
38
James Bootsmab3365612018-03-06 11:07:06 -070039# Remove all verbose and debug logging when building user.
40ifeq ($(TARGET_BUILD_VARIANT),user)
41 LOCAL_PROGUARD_FLAG_FILES += proguard.nolog.flags
42endif
Rohan Martin3d194502012-11-01 15:19:04 -060043
James Bootsmab3365612018-03-06 11:07:06 -070044include $(BUILD_PACKAGE)