| Alex Buynytskyy | a39d87a | 2018-12-12 17:40:52 -0800 | [diff] [blame] | 1 | cc_library_static { |
| 2 | name: "libcmd", | ||||
| 3 | |||||
| 4 | srcs: ["cmd.cpp"], | ||||
| 5 | export_include_dirs: ["."], | ||||
| 6 | |||||
| 7 | shared_libs: [ | ||||
| 8 | "libutils", | ||||
| 9 | "liblog", | ||||
| 10 | "libselinux", | ||||
| 11 | "libbinder", | ||||
| 12 | ], | ||||
| 13 | |||||
| 14 | cflags: [ | ||||
| 15 | "-Wall", | ||||
| 16 | "-Werror", | ||||
| 17 | "-DXP_UNIX", | ||||
| 18 | ], | ||||
| 19 | } | ||||
| 20 | |||||
| Dan Willemsen | d960894 | 2018-11-16 16:08:45 -0800 | [diff] [blame] | 21 | cc_binary { |
| 22 | name: "cmd", | ||||
| 23 | |||||
| Alex Buynytskyy | a39d87a | 2018-12-12 17:40:52 -0800 | [diff] [blame] | 24 | srcs: ["main.cpp"], |
| 25 | |||||
| 26 | static_libs: [ | ||||
| 27 | "libcmd", | ||||
| 28 | ], | ||||
| Dan Willemsen | d960894 | 2018-11-16 16:08:45 -0800 | [diff] [blame] | 29 | |
| 30 | shared_libs: [ | ||||
| 31 | "libutils", | ||||
| 32 | "liblog", | ||||
| 33 | "libselinux", | ||||
| 34 | "libbinder", | ||||
| 35 | ], | ||||
| 36 | |||||
| 37 | cflags: [ | ||||
| 38 | "-Wall", | ||||
| 39 | "-Werror", | ||||
| 40 | "-DXP_UNIX", | ||||
| 41 | ], | ||||
| 42 | } | ||||