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 \ |
Peng Xu | 5f88ac5 | 2017-02-24 01:53:10 -0800 | [diff] [blame] | 22 | sharedmem.cpp \ |
Erik Kline | 25f3b7b | 2015-03-05 15:13:37 +0900 | [diff] [blame] | 23 | storage_manager.cpp \ |
Chris Craik | b902453 | 2015-06-09 17:27:15 -0700 | [diff] [blame] | 24 | trace.cpp \ |
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 25 | |
26 | LOCAL_SHARED_LIBRARIES := \ | ||||
Ying Wang | d685894 | 2013-04-09 21:54:12 -0700 | [diff] [blame] | 27 | liblog \ |
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 28 | libcutils \ |
Mathias Agopian | 83c64e6 | 2012-02-20 16:58:20 -0800 | [diff] [blame] | 29 | libandroidfw \ |
Jeff Brown | 9d3b1a4 | 2013-07-01 19:07:15 -0700 | [diff] [blame] | 30 | libinput \ |
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 31 | libutils \ |
32 | libbinder \ | ||||
Dianne Hackborn | 289b9b6 | 2010-07-09 11:44:11 -0700 | [diff] [blame] | 33 | libui \ |
Mathias Agopian | b957b9d | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 34 | libgui \ |
Mathias Agopian | caf8930 | 2017-03-06 16:06:49 -0800 | [diff] [blame] | 35 | libsensor \ |
Erik Kline | 25f3b7b | 2015-03-05 15:13:37 +0900 | [diff] [blame] | 36 | libandroid_runtime \ |
37 | libnetd_client \ | ||||
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 38 | |
Kenny Root | 086d084 | 2010-08-19 17:55:56 -0700 | [diff] [blame] | 39 | LOCAL_STATIC_LIBRARIES := \ |
Mathias Agopian | f1cb02e | 2017-02-13 18:46:36 -0800 | [diff] [blame] | 40 | libstorage \ |
Mathias Agopian | fee4a98 | 2017-02-09 18:48:21 -0800 | [diff] [blame] | 41 | libarect \ |
42 | |||||
43 | LOCAL_WHOLE_STATIC_LIBRARIES := \ | ||||
44 | libnativewindow | ||||
Kenny Root | 086d084 | 2010-08-19 17:55:56 -0700 | [diff] [blame] | 45 | |
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 46 | LOCAL_C_INCLUDES += \ |
47 | frameworks/base/native/include \ | ||||
Erik Kline | 25f3b7b | 2015-03-05 15:13:37 +0900 | [diff] [blame] | 48 | frameworks/base/core/jni/android \ |
49 | bionic/libc/dns/include \ | ||||
50 | system/netd/include \ | ||||
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 51 | |
Mathias Agopian | fee4a98 | 2017-02-09 18:48:21 -0800 | [diff] [blame] | 52 | LOCAL_EXPORT_STATIC_LIBRARY_HEADERS := \ |
53 | libarect \ | ||||
54 | libnativewindow \ | ||||
Mathias Agopian | f1cb02e | 2017-02-13 18:46:36 -0800 | [diff] [blame] | 55 | |
Andreas Gampe | d2361f2f | 2014-11-10 16:48:26 -0800 | [diff] [blame] | 56 | LOCAL_MODULE := libandroid |
57 | |||||
Alex Deymo | f3b7411 | 2016-11-11 20:37:14 -0800 | [diff] [blame] | 58 | LOCAL_CFLAGS += $(common_cflags) |
59 | |||||
60 | include $(BUILD_SHARED_LIBRARY) |