Andreas Gampe | e4944b1 | 2018-03-20 09:40:12 -0700 | [diff] [blame] | 1 | // Copyright 2006 The Android Open Source Project |
| 2 | |
Bob Badour | 4e06008 | 2021-02-16 18:59:28 -0800 | [diff] [blame] | 3 | package { |
Aditya Choudhary | 5f14093 | 2024-02-02 13:56:19 +0000 | [diff] [blame] | 4 | default_team: "trendy_team_build_infra", |
Bob Badour | 4e06008 | 2021-02-16 18:59:28 -0800 | [diff] [blame] | 5 | // See: http://go/android-license-faq |
| 6 | // A large-scale-change added 'default_applicable_licenses' to import |
| 7 | // all of the 'license_kinds' from "system_extras_tests_license" |
| 8 | // to get the below license kinds: |
| 9 | // SPDX-license-identifier-Apache-2.0 |
| 10 | default_applicable_licenses: ["system_extras_tests_license"], |
| 11 | } |
| 12 | |
Andreas Gampe | e4944b1 | 2018-03-20 09:40:12 -0700 | [diff] [blame] | 13 | cc_test { |
Dan Willemsen | be906bb | 2018-05-09 16:26:42 -0700 | [diff] [blame] | 14 | name: "time-unit-tests", |
| 15 | cflags: [ |
| 16 | "-fstack-protector-all", |
| 17 | "-g", |
| 18 | "-Wextra", |
| 19 | "-fno-builtin", |
| 20 | ], |
| 21 | srcs: [ |
| 22 | "rtc_test.cpp", |
| 23 | ], |
| 24 | shared_libs: [ |
| 25 | "libbase", |
| 26 | ], |
| 27 | } |
| 28 | |
| 29 | cc_test { |
| 30 | name: "timetest", |
| 31 | srcs: ["timetest.c"], |
| 32 | cflags: [ |
| 33 | "-Wall", |
| 34 | "-Werror", |
| 35 | ], |
| 36 | static_executable: true, |
| 37 | static_libs: ["libc"], |
Andreas Gampe | e4944b1 | 2018-03-20 09:40:12 -0700 | [diff] [blame] | 38 | } |