blob: 9554e4291d41662fb44e3f467f2884170b425e8f [file] [log] [blame]
The Android Open Source Project46c012c2008-10-21 07:00:00 -07001# Copyright 2007 The Android Open Source Project
2#
3# Copies files into the directory structure described by a manifest
4
Joe Onorato54fba422010-06-10 18:34:55 -07005# This tool is prebuilt if we're doing an app-only build.
Ying Wangc7cf53e2014-03-07 15:55:14 -08006ifeq ($(TARGET_BUILD_APPS)$(filter true,$(TARGET_BUILD_PDK)),)
Joe Onorato54fba422010-06-10 18:34:55 -07007
The Android Open Source Project46c012c2008-10-21 07:00:00 -07008LOCAL_PATH:= $(call my-dir)
9include $(CLEAR_VARS)
10
Christopher Wileyc42ba462015-08-24 15:06:58 -070011LOCAL_CFLAGS := -g -Wall -Werror
12# Tragically, the code is riddled with unused parameters.
13LOCAL_CFLAGS += -Wno-unused-parameter
14# yacc dumps a lot of code *just in case*.
15LOCAL_CFLAGS += -Wno-unused-function
16LOCAL_CFLAGS += -Wno-unneeded-internal-declaration
17# yacc is a tool from a more civilized age.
18LOCAL_CFLAGS += -Wno-deprecated-register
19# yacc also has a habit of using char* over const char*.
20LOCAL_CFLAGS += -Wno-writable-strings
21
The Android Open Source Project46c012c2008-10-21 07:00:00 -070022LOCAL_SRC_FILES := \
23 aidl_language_l.l \
24 aidl_language_y.y \
25 aidl.cpp \
26 aidl_language.cpp \
27 options.cpp \
28 search_path.cpp \
29 AST.cpp \
30 Type.cpp \
Joe Onoratoc596cfe2011-08-30 17:24:17 -070031 generate_java.cpp \
32 generate_java_binder.cpp \
33 generate_java_rpc.cpp
The Android Open Source Project46c012c2008-10-21 07:00:00 -070034
The Android Open Source Project46c012c2008-10-21 07:00:00 -070035LOCAL_MODULE := aidl
36
37include $(BUILD_HOST_EXECUTABLE)
38
Ying Wangc7cf53e2014-03-07 15:55:14 -080039endif # No TARGET_BUILD_APPS or TARGET_BUILD_PDK