| Yifan Hong | 098323b | 2019-03-04 18:20:02 -0800 | [diff] [blame] | 1 | // Copyright (C) 2019 The Android Open Source Project | 
|  | 2 | // | 
|  | 3 | // Licensed under the Apache License, Version 2.0 (the "License"); | 
|  | 4 | // you may not use this file except in compliance with the License. | 
|  | 5 | // You may obtain a copy of the License at | 
|  | 6 | // | 
|  | 7 | //      http://www.apache.org/licenses/LICENSE-2.0 | 
|  | 8 | // | 
|  | 9 | // Unless required by applicable law or agreed to in writing, software | 
|  | 10 | // distributed under the License is distributed on an "AS IS" BASIS, | 
|  | 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
|  | 12 | // See the License for the specific language governing permissions and | 
|  | 13 | // limitations under the License. | 
|  | 14 |  | 
|  | 15 | cc_library_shared { | 
|  | 16 | name: "libcgrouprc", | 
|  | 17 | host_supported: true, | 
|  | 18 | recovery_available: true, | 
|  | 19 | srcs: [ | 
|  | 20 | "cgroup_controller.cpp", | 
|  | 21 | "cgroup_file.cpp", | 
|  | 22 | ], | 
|  | 23 | cflags: [ | 
|  | 24 | "-Wall", | 
|  | 25 | "-Werror", | 
|  | 26 | ], | 
|  | 27 | export_include_dirs: [ | 
|  | 28 | "include", | 
|  | 29 | ], | 
|  | 30 | header_libs: [ | 
|  | 31 | "libprocessgroup_headers", | 
|  | 32 | ], | 
|  | 33 | shared_libs: [ | 
|  | 34 | "libbase", | 
|  | 35 | ], | 
|  | 36 | static_libs: [ | 
|  | 37 | "libcgrouprc_format", | 
|  | 38 | ], | 
|  | 39 | stubs: { | 
|  | 40 | symbol_file: "libcgrouprc.map.txt", | 
|  | 41 | versions: ["29"], | 
|  | 42 | }, | 
|  | 43 | version_script: "libcgrouprc.map.txt", | 
|  | 44 | } | 
|  | 45 |  | 
|  | 46 | llndk_library { | 
|  | 47 | name: "libcgrouprc", | 
|  | 48 | symbol_file: "libcgrouprc.map.txt", | 
|  | 49 | export_include_dirs: [ | 
|  | 50 | "include", | 
|  | 51 | ], | 
|  | 52 | } |