|
| 1 | +diff --git a/score/datarouter/BUILD b/score/datarouter/BUILD |
| 2 | +index 2b3e408..c28de93 100644 |
| 3 | +--- a/score/datarouter/BUILD |
| 4 | ++++ b/score/datarouter/BUILD |
| 5 | +@@ -73,7 +73,6 @@ cc_library( |
| 6 | + strip_include_prefix = "include", |
| 7 | + visibility = [ |
| 8 | + "//platform/aas/pas/datarouterconf:__subpackages__", |
| 9 | +- "@score_logging//score/datarouter:__subpackages__", |
| 10 | + ], |
| 11 | + deps = [ |
| 12 | + "@score_baselibs//score/language/futurecpp", |
| 13 | +@@ -783,12 +782,7 @@ cc_library( |
| 14 | + hdrs = [ |
| 15 | + "include/daemon/socketserver.h", |
| 16 | + ], |
| 17 | +- defines = select({ |
| 18 | +- "//score/datarouter/build_configuration_flags:dlt_output_enabled": [ |
| 19 | +- "DLT_OUTPUT_ENABLED", |
| 20 | +- ], |
| 21 | +- "//conditions:default": [], |
| 22 | +- }), |
| 23 | ++ # Configuration block updated during migration |
| 24 | + features = COMPILER_WARNING_FEATURES, |
| 25 | + local_defines = select({ |
| 26 | + "//score/datarouter/build_configuration_flags:config_persistent_logging": ["PERSISTENT_LOGGING"], |
| 27 | +@@ -823,12 +817,7 @@ cc_library( |
| 28 | + hdrs = [ |
| 29 | + "include/daemon/socketserver.h", |
| 30 | + ], |
| 31 | +- defines = select({ |
| 32 | +- "//score/datarouter/build_configuration_flags:dlt_output_enabled": [ |
| 33 | +- "DLT_OUTPUT_ENABLED", |
| 34 | +- ], |
| 35 | +- "//conditions:default": [], |
| 36 | +- }), |
| 37 | ++ # Configuration block updated during migration |
| 38 | + features = COMPILER_WARNING_FEATURES, |
| 39 | + local_defines = select({ |
| 40 | + "//score/datarouter/build_configuration_flags:config_persistent_logging": ["PERSISTENT_LOGGING"], |
| 41 | +@@ -838,7 +827,7 @@ cc_library( |
| 42 | + visibility = ["//score/datarouter/test:__subpackages__"], |
| 43 | + deps = [ |
| 44 | + ":datarouter_feature_config_testing", |
| 45 | +- ":datarouter_testing", |
| 46 | ++ ":datarouter_lib", |
| 47 | + ":dltserver_testing", |
| 48 | + ":persistentlogconfig", |
| 49 | + ":socketserver_config_lib_testing", |
| 50 | +@@ -901,9 +890,12 @@ cc_binary( |
| 51 | + "@score_baselibs//score/os:errno_logging", |
| 52 | + "@score_baselibs//score/os:pthread", |
| 53 | + "@score_baselibs//score/os/utils:path", |
| 54 | +- "@score_baselibs//score/mw/log", |
| 55 | +- # "//third_party/jemalloc", # Ticket-231781 |
| 56 | +- ], |
| 57 | ++ "@score_logging//score/mw/log/backend:file", |
| 58 | ++ "@score_logging//score/mw/log/backend:remote", |
| 59 | ++ ] + select({ |
| 60 | ++ "@platforms//os:qnx": ["//score/mw/log/backend:slog"], |
| 61 | ++ "//conditions:default": [], |
| 62 | ++ }), |
| 63 | + ) |
| 64 | + |
| 65 | + cc_library( |
0 commit comments