blob: add3bf2f28639c220a1c9f3c78de586e81427418 [file] [log] [blame]
# Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//peridot/build/executable_package.gni")
group("all") {
public_deps = [
":annoyance_ranking_feature",
":dead_story_ranking_feature",
":focused_story_ranking_feature",
":interrupting_ranking_feature",
":kronk_ranking_feature",
":mod_pair_ranking_feature",
":proposal_hint_ranking_feature",
":query_match_ranking_feature",
":ranking_feature",
]
}
source_set("ranking_feature") {
sources = [
"ranking_feature.cc",
"ranking_feature.h",
]
deps = [
"//garnet/public/lib/fxl",
"//peridot/bin/suggestion_engine:models",
"//peridot/public/fidl/fuchsia.modular",
"//peridot/public/lib/context/cpp:context_helper",
"//third_party/rapidjson",
]
}
source_set("annoyance_ranking_feature") {
sources = [
"annoyance_ranking_feature.cc",
"annoyance_ranking_feature.h",
]
deps = [
":ranking_feature",
"//peridot/public/fidl/fuchsia.modular",
]
}
executable("annoyance_ranking_feature_unittest") {
testonly = true
sources = [
"annoyance_ranking_feature_unittest.cc",
]
deps = [
":annoyance_ranking_feature",
"//garnet/public/lib/gtest",
"//third_party/googletest:gtest_main",
]
}
source_set("focused_story_ranking_feature") {
sources = [
"focused_story_ranking_feature.cc",
"focused_story_ranking_feature.h",
]
deps = [
":ranking_feature",
"//peridot/public/fidl/fuchsia.modular",
]
}
executable("focused_story_ranking_feature_unittest") {
testonly = true
sources = [
"focused_story_ranking_feature_unittest.cc",
]
deps = [
":focused_story_ranking_feature",
"//garnet/public/lib/gtest",
"//third_party/googletest:gtest_main",
]
}
source_set("interrupting_ranking_feature") {
sources = [
"interrupting_ranking_feature.cc",
"interrupting_ranking_feature.h",
]
deps = [
":ranking_feature",
"//peridot/public/fidl/fuchsia.modular",
]
}
executable("interrupting_ranking_feature_unittest") {
testonly = true
sources = [
"interrupting_ranking_feature_unittest.cc",
]
deps = [
":interrupting_ranking_feature",
"//garnet/public/lib/gtest",
"//third_party/googletest:gtest_main",
]
}
source_set("kronk_ranking_feature") {
sources = [
"kronk_ranking_feature.cc",
"kronk_ranking_feature.h",
]
deps = [
":ranking_feature",
"//peridot/public/fidl/fuchsia.modular",
]
}
executable("kronk_ranking_feature_unittest") {
testonly = true
sources = [
"kronk_ranking_feature_unittest.cc",
]
deps = [
":kronk_ranking_feature",
"//garnet/public/lib/gtest",
"//third_party/googletest:gtest_main",
]
}
source_set("mod_pair_ranking_feature") {
sources = [
"mod_pair_ranking_feature.cc",
"mod_pair_ranking_feature.h",
]
deps = [
":ranking_feature",
"//garnet/public/lib/fxl",
"//peridot/public/fidl/fuchsia.modular",
"//third_party/rapidjson",
]
public_deps = [
"//peridot/public/lib/context/cpp:context_helper",
]
}
executable("mod_pair_ranking_feature_unittest") {
testonly = true
sources = [
"mod_pair_ranking_feature_unittest.cc",
]
deps = [
":mod_pair_ranking_feature",
"//garnet/public/lib/gtest",
"//third_party/googletest:gtest_main",
]
}
source_set("proposal_hint_ranking_feature") {
sources = [
"proposal_hint_ranking_feature.cc",
"proposal_hint_ranking_feature.h",
]
deps = [
":ranking_feature",
"//peridot/public/fidl/fuchsia.modular",
]
}
executable("proposal_hint_ranking_feature_unittest") {
testonly = true
sources = [
"proposal_hint_ranking_feature_unittest.cc",
]
deps = [
":proposal_hint_ranking_feature",
"//garnet/public/lib/gtest",
"//third_party/googletest:gtest_main",
]
}
source_set("query_match_ranking_feature") {
sources = [
"query_match_ranking_feature.cc",
"query_match_ranking_feature.h",
]
deps = [
":ranking_feature",
"//peridot/public/fidl/fuchsia.modular",
]
}
executable("query_match_ranking_feature_unittest") {
testonly = true
sources = [
"query_match_ranking_feature_unittest.cc",
]
deps = [
":query_match_ranking_feature",
"//garnet/public/lib/gtest",
"//third_party/googletest:gtest_main",
]
}
source_set("dead_story_ranking_feature") {
sources = [
"dead_story_ranking_feature.cc",
"dead_story_ranking_feature.h",
]
deps = [
":ranking_feature",
"//peridot/public/fidl/fuchsia.modular",
]
}
executable("dead_story_ranking_feature_unittest") {
testonly = true
sources = [
"dead_story_ranking_feature_unittest.cc",
]
deps = [
":dead_story_ranking_feature",
"//garnet/public/lib/gtest",
"//third_party/googletest:gtest_main",
]
}