Steven Moreland | 22ee460 | 2017-04-07 10:44:52 -0700 | [diff] [blame] | 1 | // Copyright 2017 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 | |
Wei Jia | 4049f13 | 2018-01-22 10:37:31 -0800 | [diff] [blame] | 15 | cc_library { |
Steven Moreland | 22ee460 | 2017-04-07 10:44:52 -0700 | [diff] [blame] | 16 | name: "libmediautils", |
| 17 | |
| 18 | srcs: [ |
| 19 | "BatteryNotifier.cpp", |
| 20 | "ISchedulingPolicyService.cpp", |
| 21 | "MemoryLeakTrackUtil.cpp", |
| 22 | "ProcessInfo.cpp", |
| 23 | "SchedulingPolicyService.cpp", |
Andy Hung | ab7ef30 | 2018-05-15 19:35:29 -0700 | [diff] [blame] | 24 | "ServiceUtilities.cpp", |
Eric Laurent | 39b09b5 | 2018-06-29 12:24:40 -0700 | [diff] [blame^] | 25 | "TimeCheck.cpp", |
Steven Moreland | 22ee460 | 2017-04-07 10:44:52 -0700 | [diff] [blame] | 26 | ], |
| 27 | shared_libs: [ |
| 28 | "libbinder", |
Andy Hung | 4ef19fa | 2018-05-15 19:35:29 -0700 | [diff] [blame] | 29 | "libcutils", |
Steven Moreland | 22ee460 | 2017-04-07 10:44:52 -0700 | [diff] [blame] | 30 | "liblog", |
| 31 | "libutils", |
| 32 | "libmemunreachable", |
| 33 | ], |
| 34 | |
Eric Laurent | 39b09b5 | 2018-06-29 12:24:40 -0700 | [diff] [blame^] | 35 | logtags: ["EventLogTags.logtags"], |
| 36 | |
Steven Moreland | 22ee460 | 2017-04-07 10:44:52 -0700 | [diff] [blame] | 37 | cflags: [ |
| 38 | "-Wall", |
| 39 | "-Wextra", |
| 40 | "-Werror", |
| 41 | ], |
| 42 | |
| 43 | local_include_dirs: ["include"], |
| 44 | export_include_dirs: ["include"], |
| 45 | } |