mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-13 06:38:52 +02:00
ef4c5eb65e
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
109 lines
8.1 KiB
Python
109 lines
8.1 KiB
Python
scala_library(
|
|
name = "urt",
|
|
sources = ["**/*.scala"] + exclude_globs(["builder/richtext/*.scala"]),
|
|
compiler_option_sets = ["fatal_warnings"],
|
|
platform = "java8",
|
|
scalac_plugins = ["no-roomba"],
|
|
strict_deps = True,
|
|
tags = ["bazel-compatible"],
|
|
dependencies = [
|
|
":richtext",
|
|
"3rdparty/jvm/com/twitter/bijection:json",
|
|
"3rdparty/jvm/com/twitter/bijection:scrooge",
|
|
"explore/explore-mixer/server/src/main/scala/com/twitter/explore_mixer/model/request",
|
|
"interests-mixer/server/src/main/scala/com/twitter/interests_mixer/model/request",
|
|
"onboarding/service/thrift/src/main/thrift:thrift-scala",
|
|
"product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/candidate_source/people_discovery",
|
|
"product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/model/candidate",
|
|
"product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/model/candidate/ads",
|
|
"product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/model/candidate/suggestion",
|
|
"product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/model/candidate/trends_events",
|
|
"product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/model/presentation/urt",
|
|
"product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/pipeline/candidate/flexible_injection_pipeline/transformer",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/functional_component/configapi",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/functional_component/decorator/urt/builder",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/common/presentation/urt",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/alert",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/cover",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/icon",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/item",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/metadata",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/operation",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/timeline_module",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/pipeline",
|
|
"src/thrift/com/twitter/ads/adserver:ad_metadata_container-scala",
|
|
"src/thrift/com/twitter/ads/adserver:adserver_common-scala",
|
|
"src/thrift/com/twitter/hermit:hermit-scala",
|
|
"src/thrift/com/twitter/suggests/controller_data:controller_data-scala",
|
|
"src/thrift/com/twitter/timelines/service:thrift-scala",
|
|
"src/thrift/com/twitter/timelinescorer/common/scoredtweetcandidate:thrift-scala",
|
|
"src/thrift/com/twitter/timelineservice/server/internal:thrift-scala",
|
|
"stringcenter/client",
|
|
"stringcenter/client/src/main/java",
|
|
"stringcenter/client/src/main/scala/com/twitter/stringcenter/client",
|
|
"timelines/src/main/scala/com/twitter/timelines/util",
|
|
"trends/trending_content/src/main/scala/com/twitter/trends/trending_content/util:compacting-number-localizer",
|
|
"tweetconvosvc/common/src/main/thrift/com/twitter/tweetconvosvc/tweet_ancestor:thrift-scala",
|
|
"twitter-text/lib/java/src/main/java/com/twitter/twittertext",
|
|
],
|
|
exports = [
|
|
":richtext",
|
|
"3rdparty/jvm/com/twitter/bijection:json",
|
|
"3rdparty/jvm/com/twitter/bijection:scrooge",
|
|
"explore/explore-mixer/server/src/main/scala/com/twitter/explore_mixer/model/request",
|
|
"interests-mixer/server/src/main/scala/com/twitter/interests_mixer/model/request",
|
|
"onboarding/service/thrift/src/main/thrift:thrift-scala",
|
|
"product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/model/candidate",
|
|
"product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/model/candidate/ads",
|
|
"product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/model/candidate/suggestion",
|
|
"product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/model/presentation/urt",
|
|
"product-mixer/component-library/src/main/scala/com/twitter/product_mixer/component_library/pipeline/candidate/flexible_injection_pipeline/transformer",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/functional_component/configapi",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/functional_component/decorator/urt/builder",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/common/presentation/urt",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/alert",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/cover",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/icon",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/item",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/metadata",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/operation",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/timeline_module",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/pipeline",
|
|
"src/thrift/com/twitter/ads/adserver:ad_metadata_container-scala",
|
|
"src/thrift/com/twitter/ads/adserver:adserver_common-scala",
|
|
"src/thrift/com/twitter/suggests/controller_data:controller_data-scala",
|
|
"src/thrift/com/twitter/timelines/service:thrift-scala",
|
|
"src/thrift/com/twitter/timelinescorer/common/scoredtweetcandidate:thrift-scala",
|
|
"src/thrift/com/twitter/timelineservice/server/internal:thrift-scala",
|
|
"stringcenter/client",
|
|
"stringcenter/client/src/main/java",
|
|
"stringcenter/client/src/main/scala/com/twitter/stringcenter/client",
|
|
"timelines/src/main/scala/com/twitter/timelines/util",
|
|
"tweetconvosvc/common/src/main/thrift/com/twitter/tweetconvosvc/tweet_ancestor:thrift-scala",
|
|
"twitter-text/lib/java/src/main/java/com/twitter/twittertext",
|
|
],
|
|
)
|
|
|
|
scala_library(
|
|
name = "richtext",
|
|
sources = ["builder/richtext/*.scala"],
|
|
compiler_option_sets = ["fatal_warnings"],
|
|
platform = "java8",
|
|
strict_deps = True,
|
|
tags = ["bazel-compatible"],
|
|
dependencies = [
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/feature/featuremap",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/functional_component/decorator/urt/builder",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/metadata",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/richtext",
|
|
"twitter-text/lib/java/src/main/java/com/twitter/twittertext",
|
|
],
|
|
exports = [
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/feature/featuremap",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/functional_component/decorator/urt/builder",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/metadata",
|
|
"product-mixer/core/src/main/scala/com/twitter/product_mixer/core/model/marshalling/response/urt/richtext",
|
|
"twitter-text/lib/java/src/main/java/com/twitter/twittertext",
|
|
],
|
|
)
|