summaryrefslogtreecommitdiff
path: root/tools/aidl/Android.mk
blob: cb94a3626270de52e95120b17701d1c7489cfc6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2007 The Android Open Source Project
#
# Copies files into the directory structure described by a manifest

# This tool is prebuilt if we're doing an app-only build.
ifeq ($(TARGET_BUILD_APPS)$(filter true,$(TARGET_BUILD_PDK)),)

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
    AST.cpp \
    Type.cpp \
    aidl.cpp \
    aidl_language.cpp \
    aidl_language_l.l \
    aidl_language_y.y \
    generate_java.cpp \
    generate_java_binder.cpp \
    generate_java_rpc.cpp \
    main.cpp \
    options.cpp \
    search_path.cpp \

LOCAL_CFLAGS := -g
LOCAL_MODULE := aidl
LOCAL_MODULE_HOST_OS := darwin linux windows

include $(BUILD_HOST_EXECUTABLE)

endif # No TARGET_BUILD_APPS or TARGET_BUILD_PDK