Bob Badour | 56786ac | 2021-02-25 15:24:36 -0800 | [diff] [blame] | 1 | package { |
| 2 | // See: http://go/android-license-faq |
| 3 | // A large-scale-change added 'default_applicable_licenses' to import |
| 4 | // all of the 'license_kinds' from "frameworks_av_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["frameworks_av_license"], |
| 8 | } |
| 9 | |
Steven Moreland | 8bb9e64 | 2017-05-02 13:40:16 -0700 | [diff] [blame] | 10 | cc_library_static { |
| 11 | name: "libcpustats", |
| 12 | |
| 13 | srcs: [ |
| 14 | "CentralTendencyStatistics.cpp", |
| 15 | "ThreadCpuUsage.cpp", |
| 16 | ], |
| 17 | |
Marco Nelissen | cf90b49 | 2019-09-26 11:20:54 -0700 | [diff] [blame] | 18 | local_include_dirs: [ |
| 19 | "include", |
| 20 | ], |
| 21 | |
| 22 | export_include_dirs: [ |
| 23 | "include", |
| 24 | ], |
| 25 | |
Steven Moreland | 8bb9e64 | 2017-05-02 13:40:16 -0700 | [diff] [blame] | 26 | cflags: [ |
| 27 | "-Werror", |
| 28 | "-Wall", |
| 29 | ], |
Glenn Kasten | 60bf3dc | 2017-05-24 11:16:57 -0700 | [diff] [blame] | 30 | |
| 31 | host_supported: true, |
| 32 | |
| 33 | target: { |
| 34 | darwin: { |
| 35 | enabled: false, |
| 36 | }, |
| 37 | }, |
| 38 | |
Steven Moreland | 8bb9e64 | 2017-05-02 13:40:16 -0700 | [diff] [blame] | 39 | } |