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: [ |
Jayant Chowdhary | 32b4f49 | 2018-11-14 18:38:21 -0800 | [diff] [blame] | 19 | "AImageReaderUtils.cpp", |
Steven Moreland | 22ee460 | 2017-04-07 10:44:52 -0700 | [diff] [blame] | 20 | "BatteryNotifier.cpp", |
| 21 | "ISchedulingPolicyService.cpp", |
| 22 | "MemoryLeakTrackUtil.cpp", |
| 23 | "ProcessInfo.cpp", |
| 24 | "SchedulingPolicyService.cpp", |
Andy Hung | ab7ef30 | 2018-05-15 19:35:29 -0700 | [diff] [blame] | 25 | "ServiceUtilities.cpp", |
Eric Laurent | 39b09b5 | 2018-06-29 12:24:40 -0700 | [diff] [blame] | 26 | "TimeCheck.cpp", |
Steven Moreland | 22ee460 | 2017-04-07 10:44:52 -0700 | [diff] [blame] | 27 | ], |
Colin Cross | d8e3af0 | 2019-05-17 13:28:13 -0700 | [diff] [blame] | 28 | static_libs: [ |
| 29 | "libc_malloc_debug_backtrace", |
| 30 | ], |
Steven Moreland | 22ee460 | 2017-04-07 10:44:52 -0700 | [diff] [blame] | 31 | shared_libs: [ |
| 32 | "libbinder", |
Jeffrey Carlyle | 62cc92b | 2019-09-17 11:15:15 -0700 | [diff] [blame] | 33 | "libcutils", |
Steven Moreland | 22ee460 | 2017-04-07 10:44:52 -0700 | [diff] [blame] | 34 | "liblog", |
| 35 | "libutils", |
Jayant Chowdhary | 32b4f49 | 2018-11-14 18:38:21 -0800 | [diff] [blame] | 36 | "libhidlbase", |
| 37 | "android.hardware.graphics.bufferqueue@1.0", |
| 38 | "android.hidl.token@1.0-utils", |
Steven Moreland | 22ee460 | 2017-04-07 10:44:52 -0700 | [diff] [blame] | 39 | ], |
| 40 | |
Eric Laurent | 39b09b5 | 2018-06-29 12:24:40 -0700 | [diff] [blame] | 41 | logtags: ["EventLogTags.logtags"], |
| 42 | |
Steven Moreland | 22ee460 | 2017-04-07 10:44:52 -0700 | [diff] [blame] | 43 | cflags: [ |
| 44 | "-Wall", |
| 45 | "-Wextra", |
| 46 | "-Werror", |
| 47 | ], |
| 48 | |
Christopher Ferris | 9d2e008 | 2019-09-11 19:08:13 -0700 | [diff] [blame] | 49 | header_libs: [ |
| 50 | "bionic_libc_platform_headers", |
Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 51 | "libmedia_headers", |
Christopher Ferris | a90adf0 | 2019-04-17 13:26:15 -0700 | [diff] [blame] | 52 | ], |
Christopher Ferris | 9d2e008 | 2019-09-11 19:08:13 -0700 | [diff] [blame] | 53 | |
Eric Laurent | 42896a0 | 2019-09-27 15:40:33 -0700 | [diff] [blame] | 54 | include_dirs: [ |
| 55 | // For DEBUGGER_SIGNAL |
| 56 | "system/core/debuggerd/include", |
| 57 | ], |
Steven Moreland | 22ee460 | 2017-04-07 10:44:52 -0700 | [diff] [blame] | 58 | local_include_dirs: ["include"], |
| 59 | export_include_dirs: ["include"], |
| 60 | } |