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 { |
| 4 | // See: http://go/android-license-faq |
| 5 | // A large-scale-change added 'default_applicable_licenses' to import |
| 6 | // all of the 'license_kinds' from "system_extras_tests_license" |
| 7 | // to get the below license kinds: |
| 8 | // SPDX-license-identifier-Apache-2.0 |
| 9 | default_applicable_licenses: ["system_extras_tests_license"], |
| 10 | } |
| 11 | |
Andreas Gampe | e4944b1 | 2018-03-20 09:40:12 -0700 | [diff] [blame] | 12 | cc_test { |
Dan Willemsen | be906bb | 2018-05-09 16:26:42 -0700 | [diff] [blame] | 13 | name: "time-unit-tests", |
| 14 | cflags: [ |
| 15 | "-fstack-protector-all", |
| 16 | "-g", |
| 17 | "-Wextra", |
| 18 | "-fno-builtin", |
| 19 | ], |
| 20 | srcs: [ |
| 21 | "rtc_test.cpp", |
| 22 | ], |
| 23 | shared_libs: [ |
| 24 | "libbase", |
| 25 | ], |
| 26 | } |
| 27 | |
| 28 | cc_test { |
| 29 | name: "timetest", |
| 30 | srcs: ["timetest.c"], |
| 31 | cflags: [ |
| 32 | "-Wall", |
| 33 | "-Werror", |
| 34 | ], |
| 35 | static_executable: true, |
| 36 | static_libs: ["libc"], |
Andreas Gampe | e4944b1 | 2018-03-20 09:40:12 -0700 | [diff] [blame] | 37 | } |