summaryrefslogtreecommitdiff
path: root/tests/timetest/Android.bp
blob: c4f361cb703c864d86a69ef4e1ec225e01c0b91d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright 2006 The Android Open Source Project

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "system_extras_tests_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["system_extras_tests_license"],
}

cc_test {
    name: "time-unit-tests",
    cflags: [
        "-fstack-protector-all",
        "-g",
        "-Wextra",
        "-fno-builtin",
    ],
    srcs: [
        "rtc_test.cpp",
    ],
    shared_libs: [
        "libbase",
    ],
}

cc_test {
    name: "timetest",
    srcs: ["timetest.c"],
    cflags: [
        "-Wall",
        "-Werror",
    ],
    static_executable: true,
    static_libs: ["libc"],
}