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 \ |
Mathias Agopian | e68b4f7 | 2017-02-08 18:48:32 -0800 | [diff] [blame] | 14 | hardware_buffer_jni.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 | e68b4f7 | 2017-02-08 18:48:32 -0800 | [diff] [blame] | 18 | native_window_jni.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 := \ |
Mathias Agopian | f1cb02e | 2017-02-13 18:46:36 -0800 | [diff] [blame] | 38 | libstorage \ |
Mathias Agopian | fee4a98 | 2017-02-09 18:48:21 -0800 | [diff] [blame^] | 39 | libarect \ |
40 | |||||
41 | LOCAL_WHOLE_STATIC_LIBRARIES := \ | ||||
42 | libnativewindow | ||||
Kenny Root | 086d084 | 2010-08-19 17:55:56 -0700 | [diff] [blame] | 43 | |
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 44 | LOCAL_C_INCLUDES += \ |
45 | frameworks/base/native/include \ | ||||
Erik Kline | 25f3b7b | 2015-03-05 15:13:37 +0900 | [diff] [blame] | 46 | frameworks/base/core/jni/android \ |
47 | bionic/libc/dns/include \ | ||||
48 | system/netd/include \ | ||||
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 49 | |
Mathias Agopian | fee4a98 | 2017-02-09 18:48:21 -0800 | [diff] [blame^] | 50 | LOCAL_EXPORT_STATIC_LIBRARY_HEADERS := \ |
51 | libarect \ | ||||
52 | libnativewindow \ | ||||
Mathias Agopian | f1cb02e | 2017-02-13 18:46:36 -0800 | [diff] [blame] | 53 | |
Andreas Gampe | d2361f2f | 2014-11-10 16:48:26 -0800 | [diff] [blame] | 54 | LOCAL_MODULE := libandroid |
55 | |||||
Alex Deymo | f3b7411 | 2016-11-11 20:37:14 -0800 | [diff] [blame] | 56 | LOCAL_CFLAGS += $(common_cflags) |
57 | |||||
58 | include $(BUILD_SHARED_LIBRARY) | ||||
59 | |||||
60 | # Network library. | ||||
61 | include $(CLEAR_VARS) | ||||
62 | LOCAL_MODULE := libandroid_net | ||||
63 | LOCAL_CFLAGS := $(common_cflags) | ||||
64 | LOCAL_SRC_FILES:= \ | ||||
65 | net.c \ | ||||
66 | |||||
67 | LOCAL_SHARED_LIBRARIES := \ | ||||
68 | libnetd_client \ | ||||
69 | |||||
70 | LOCAL_C_INCLUDES += \ | ||||
71 | frameworks/base/native/include \ | ||||
72 | bionic/libc/dns/include \ | ||||
73 | system/netd/include \ | ||||
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 74 | |
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 75 | include $(BUILD_SHARED_LIBRARY) |