BUILD 922 字节
Newer Older
1
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
2 3 4 5 6 7 8 9
load("//tools:cpplint.bzl", "cpplint")

package(default_visibility = ["//visibility:public"])

cc_library(
    name = "scenario_analyzer",
    srcs = ["scenario_analyzer.cc"],
    hdrs = ["scenario_analyzer.h"],
10 11 12
    copts = [
        "-DMODULE_NAME=\\\"prediction\\\"",
    ],
13
    deps = [
14
        "//modules/prediction/scenario/scenario_features:cruise_scenario_features",
15
        "//modules/prediction/scenario/scenario_features:junction_scenario_features",
16 17 18
    ],
)

19 20 21 22 23 24 25 26 27 28 29
cc_test(
    name = "scenario_analyzer_test",
    size = "small",
    srcs = ["scenario_analyzer_test.cc"],
    data = [
        "//modules/prediction:prediction_data",
        "//modules/prediction:prediction_testdata",
    ],
    deps = [
        ":scenario_analyzer",
        "//modules/prediction/common:kml_map_based_test",
30
        "@com_google_googletest//:gtest_main",
31 32 33
    ],
)

34
cpplint()