| The Android Open Source Project | 46c012c | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1 | # Copyright 2007 The Android Open Source Project |
| 2 | # |
| 3 | # Copies files into the directory structure described by a manifest |
| 4 | |
| Joe Onorato | 54fba42 | 2010-06-10 18:34:55 -0700 | [diff] [blame] | 5 | # This tool is prebuilt if we're doing an app-only build. |
| Ying Wang | c7cf53e | 2014-03-07 15:55:14 -0800 | [diff] [blame] | 6 | ifeq ($(TARGET_BUILD_APPS)$(filter true,$(TARGET_BUILD_PDK)),) |
| Joe Onorato | 54fba42 | 2010-06-10 18:34:55 -0700 | [diff] [blame] | 7 | |
| The Android Open Source Project | 46c012c | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 8 | LOCAL_PATH:= $(call my-dir) |
| 9 | include $(CLEAR_VARS) |
| 10 | |
| Christopher Wiley | c42ba46 | 2015-08-24 15:06:58 -0700 | [diff] [blame] | 11 | LOCAL_CFLAGS := -g -Wall -Werror |
| 12 | # Tragically, the code is riddled with unused parameters. |
| 13 | LOCAL_CFLAGS += -Wno-unused-parameter |
| 14 | # yacc dumps a lot of code *just in case*. |
| 15 | LOCAL_CFLAGS += -Wno-unused-function |
| 16 | LOCAL_CFLAGS += -Wno-unneeded-internal-declaration |
| 17 | # yacc is a tool from a more civilized age. |
| 18 | LOCAL_CFLAGS += -Wno-deprecated-register |
| 19 | # yacc also has a habit of using char* over const char*. |
| 20 | LOCAL_CFLAGS += -Wno-writable-strings |
| 21 | |
| The Android Open Source Project | 46c012c | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 22 | LOCAL_SRC_FILES := \ |
| Christopher Wiley | 89e3586 | 2015-08-30 10:57:07 -0700 | [diff] [blame^] | 23 | AST.cpp \ |
| 24 | Type.cpp \ |
| 25 | aidl.cpp \ |
| 26 | aidl_language.cpp \ |
| 27 | aidl_language_l.l \ |
| 28 | aidl_language_y.y \ |
| 29 | generate_java.cpp \ |
| 30 | generate_java_binder.cpp \ |
| 31 | generate_java_rpc.cpp \ |
| 32 | main.cpp \ |
| 33 | options.cpp \ |
| 34 | search_path.cpp \ |
| The Android Open Source Project | 46c012c | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 35 | |
| The Android Open Source Project | 46c012c | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 36 | LOCAL_MODULE := aidl |
| 37 | |
| 38 | include $(BUILD_HOST_EXECUTABLE) |
| 39 | |
| Ying Wang | c7cf53e | 2014-03-07 15:55:14 -0800 | [diff] [blame] | 40 | endif # No TARGET_BUILD_APPS or TARGET_BUILD_PDK |