BUILD 910 字节
Newer Older
1
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
D
Dong Li 已提交
2 3
load("//tools:cpplint.bzl", "cpplint")

D
Dong Li 已提交
4 5
package(default_visibility = ["//visibility:public"])

6 7
cc_library(
    name = "curve_math",
8 9
    srcs = ["curve_math.cc"],
    hdrs = ["curve_math.h"],
10 11
)

12 13
cc_library(
    name = "discrete_points_math",
14 15
    srcs = ["discrete_points_math.cc"],
    hdrs = ["discrete_points_math.h"],
16 17 18
    copts = [
        "-DMODULE_NAME=\\\"planning\\\"",
    ],
19 20 21
    deps = [
        "//cyber/common:log",
    ],
22 23
)

Q
Qi Luo 已提交
24 25 26
cc_test(
    name = "curve_math_test",
    size = "small",
27
    srcs = ["curve_math_test.cc"],
Q
Qi Luo 已提交
28 29
    deps = [
        ":curve_math",
30
        "@com_google_googletest//:gtest_main",
Q
Qi Luo 已提交
31 32 33
    ],
)

34 35
cc_library(
    name = "polynomial_xd",
36 37
    srcs = ["polynomial_xd.cc"],
    hdrs = ["polynomial_xd.h"],
38 39 40
    copts = [
        "-DMODULE_NAME=\\\"planning\\\"",
    ],
41
    deps = [
42
        "//cyber/common:log",
43 44 45
    ],
)

D
Dong Li 已提交
46
cpplint()