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 \ |
Mathias Agopian | e68b4f7 | 2017-02-08 18:48:32 -0800 | [diff] [blame^] | 15 | hardware_buffer_jni.cpp \ |
Dianne Hackborn | 54a181b | 2010-06-30 18:35:14 -0700 | [diff] [blame] | 16 | input.cpp \ |
Dianne Hackborn | 6826741 | 2010-07-02 18:52:01 -0700 | [diff] [blame] | 17 | looper.cpp \ |
Dianne Hackborn | 289b9b6 | 2010-07-09 11:44:11 -0700 | [diff] [blame] | 18 | native_activity.cpp \ |
Mathias Agopian | b957b9d | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 19 | native_window.cpp \ |
Mathias Agopian | e68b4f7 | 2017-02-08 18:48:32 -0800 | [diff] [blame^] | 20 | native_window_jni.cpp \ |
Erik Kline | 25f3b7b | 2015-03-05 15:13:37 +0900 | [diff] [blame] | 21 | net.c \ |
Kenny Root | 05105f7 | 2010-09-22 17:29:43 -0700 | [diff] [blame] | 22 | obb.cpp \ |
Kenny Root | 086d084 | 2010-08-19 17:55:56 -0700 | [diff] [blame] | 23 | sensor.cpp \ |
Erik Kline | 25f3b7b | 2015-03-05 15:13:37 +0900 | [diff] [blame] | 24 | storage_manager.cpp \ |
Chris Craik | b902453 | 2015-06-09 17:27:15 -0700 | [diff] [blame] | 25 | trace.cpp \ |
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 26 | |
27 | LOCAL_SHARED_LIBRARIES := \ | ||||
Ying Wang | d685894 | 2013-04-09 21:54:12 -0700 | [diff] [blame] | 28 | liblog \ |
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 29 | libcutils \ |
Mathias Agopian | 83c64e6 | 2012-02-20 16:58:20 -0800 | [diff] [blame] | 30 | libandroidfw \ |
Jeff Brown | 9d3b1a4 | 2013-07-01 19:07:15 -0700 | [diff] [blame] | 31 | libinput \ |
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 32 | libutils \ |
33 | libbinder \ | ||||
Dianne Hackborn | 289b9b6 | 2010-07-09 11:44:11 -0700 | [diff] [blame] | 34 | libui \ |
Mathias Agopian | b957b9d | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 35 | libgui \ |
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 := \ |
40 | libstorage | ||||
41 | |||||
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 42 | LOCAL_C_INCLUDES += \ |
43 | frameworks/base/native/include \ | ||||
Erik Kline | 25f3b7b | 2015-03-05 15:13:37 +0900 | [diff] [blame] | 44 | frameworks/base/core/jni/android \ |
45 | bionic/libc/dns/include \ | ||||
46 | system/netd/include \ | ||||
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 47 | |
Andreas Gampe | d2361f2f | 2014-11-10 16:48:26 -0800 | [diff] [blame] | 48 | LOCAL_MODULE := libandroid |
49 | |||||
Alex Deymo | f3b7411 | 2016-11-11 20:37:14 -0800 | [diff] [blame] | 50 | LOCAL_CFLAGS += $(common_cflags) |
51 | |||||
52 | include $(BUILD_SHARED_LIBRARY) | ||||
53 | |||||
54 | # Network library. | ||||
55 | include $(CLEAR_VARS) | ||||
56 | LOCAL_MODULE := libandroid_net | ||||
57 | LOCAL_CFLAGS := $(common_cflags) | ||||
58 | LOCAL_SRC_FILES:= \ | ||||
59 | net.c \ | ||||
60 | |||||
61 | LOCAL_SHARED_LIBRARIES := \ | ||||
62 | libnetd_client \ | ||||
63 | |||||
64 | LOCAL_C_INCLUDES += \ | ||||
65 | frameworks/base/native/include \ | ||||
66 | bionic/libc/dns/include \ | ||||
67 | system/netd/include \ | ||||
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 68 | |
Dianne Hackborn | a95e4cb | 2010-06-18 18:09:33 -0700 | [diff] [blame] | 69 | include $(BUILD_SHARED_LIBRARY) |