| Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 1 | BASE_PATH := $(call my-dir) |
| 2 | LOCAL_PATH:= $(call my-dir) | ||||
| 3 | |||||
| Alex Deymo | f3b7411 | 2016-11-11 20:37:14 -0800 | [diff] [blame] | 4 | common_cflags := -Wall -Werror -Wunused -Wunreachable-code |
| 5 | |||||
| Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 6 | include $(CLEAR_VARS) |
| 7 | |||||
| 8 | # our source files | ||||
| 9 | # | ||||
| 10 | LOCAL_SRC_FILES:= \ | ||||
| Christopher Tate | 6cce32b | 2010-07-12 18:21:36 -0700 | [diff] [blame] | 11 | asset_manager.cpp \ |
| Michael Wright | 3d3fe50 | 2015-12-04 17:59:42 +0000 | [diff] [blame] | 12 | choreographer.cpp \ |
| Dianne Hackborn | 08d5b8f | 2010-08-04 11:12:40 -0700 | [diff] [blame] | 13 | configuration.cpp \ |
| Craig Donner | 0cff9d9 | 2016-12-16 14:07:03 -0800 | [diff] [blame] | 14 | hardware_buffer.cpp \ |
| Dianne Hackborn | 54a181b | 2010-06-30 18:35:14 -0700 | [diff] [blame] | 15 | input.cpp \ |
| Dianne Hackborn | 6826741 | 2010-07-02 18:52:01 -0700 | [diff] [blame] | 16 | looper.cpp \ |
| Dianne Hackborn | 289b9b6 | 2010-07-09 11:44:11 -0700 | [diff] [blame] | 17 | native_activity.cpp \ |
| Mathias Agopian | b957b9d | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 18 | native_window.cpp \ |
| Erik Kline | 25f3b7b | 2015-03-05 15:13:37 +0900 | [diff] [blame] | 19 | net.c \ |
| Kenny Root | 05105f7 | 2010-09-22 17:29:43 -0700 | [diff] [blame] | 20 | obb.cpp \ |
| Kenny Root | 086d084 | 2010-08-19 17:55:56 -0700 | [diff] [blame] | 21 | sensor.cpp \ |
| Erik Kline | 25f3b7b | 2015-03-05 15:13:37 +0900 | [diff] [blame] | 22 | storage_manager.cpp \ |
| Chris Craik | b902453 | 2015-06-09 17:27:15 -0700 | [diff] [blame] | 23 | trace.cpp \ |
| Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 24 | |
| 25 | LOCAL_SHARED_LIBRARIES := \ | ||||
| Ying Wang | d685894 | 2013-04-09 21:54:12 -0700 | [diff] [blame] | 26 | liblog \ |
| Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 27 | libcutils \ |
| Mathias Agopian | 83c64e6 | 2012-02-20 16:58:20 -0800 | [diff] [blame] | 28 | libandroidfw \ |
| Jeff Brown | 9d3b1a4 | 2013-07-01 19:07:15 -0700 | [diff] [blame] | 29 | libinput \ |
| Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 30 | libutils \ |
| 31 | libbinder \ | ||||
| Dianne Hackborn | 289b9b6 | 2010-07-09 11:44:11 -0700 | [diff] [blame] | 32 | libui \ |
| Mathias Agopian | b957b9d | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 33 | libgui \ |
| Erik Kline | 25f3b7b | 2015-03-05 15:13:37 +0900 | [diff] [blame] | 34 | libandroid_runtime \ |
| 35 | libnetd_client \ | ||||
| Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 36 | |
| Kenny Root | 086d084 | 2010-08-19 17:55:56 -0700 | [diff] [blame] | 37 | LOCAL_STATIC_LIBRARIES := \ |
| 38 | libstorage | ||||
| 39 | |||||
| Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 40 | LOCAL_C_INCLUDES += \ |
| 41 | frameworks/base/native/include \ | ||||
| Erik Kline | 25f3b7b | 2015-03-05 15:13:37 +0900 | [diff] [blame] | 42 | frameworks/base/core/jni/android \ |
| 43 | bionic/libc/dns/include \ | ||||
| 44 | system/netd/include \ | ||||
| Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 45 | |
| Andreas Gampe | d2361f2f | 2014-11-10 16:48:26 -0800 | [diff] [blame] | 46 | LOCAL_MODULE := libandroid |
| 47 | |||||
| Alex Deymo | f3b7411 | 2016-11-11 20:37:14 -0800 | [diff] [blame] | 48 | LOCAL_CFLAGS += $(common_cflags) |
| 49 | |||||
| 50 | include $(BUILD_SHARED_LIBRARY) | ||||
| 51 | |||||
| 52 | # Network library. | ||||
| 53 | include $(CLEAR_VARS) | ||||
| 54 | LOCAL_MODULE := libandroid_net | ||||
| 55 | LOCAL_CFLAGS := $(common_cflags) | ||||
| 56 | LOCAL_SRC_FILES:= \ | ||||
| 57 | net.c \ | ||||
| 58 | |||||
| 59 | LOCAL_SHARED_LIBRARIES := \ | ||||
| 60 | libnetd_client \ | ||||
| 61 | |||||
| 62 | LOCAL_C_INCLUDES += \ | ||||
| 63 | frameworks/base/native/include \ | ||||
| 64 | bionic/libc/dns/include \ | ||||
| 65 | system/netd/include \ | ||||
| Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 66 | |
| Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 67 | include $(BUILD_SHARED_LIBRARY) |