| """Copybara config to export files from google3 to gbmcweb repo in gBMC public GoB. | |
| Validate the config in terms of syntax: | |
| copybara validate third_party/gbmcweb/copy.bara.sky | |
| Test the transformation (add --init-history --squash for the first run) | |
| 1. Run the workflow in dry-run mode | |
| alias copybara='/google/bin/releases/copybara/public/copybara/copybara' | |
| copybara third_party/gbmcweb/copy.bara.sky gbmcweb_presubmit_piper_to_gerrit 12345 --dry-run --ignore-noop | |
| 2. Format patch (get the GIT_DIR from the copybara output) | |
| GIT_DIR=/usr/local/google/home/$USER/copybara/cache/git_repos/rpc%3A%2F%2Fgbmc%2Fgbmcweb git format-patch -1 \ | |
| && cp 0001-DO-NOT-SUBMIT.patch /path/to/gbmcweb | |
| 3. Apply the patch and test there. | |
| Test the reverse transformation: | |
| 1. Edit https://gbmc-review.git.corp.google.com/c/gbmcweb/+/47934 to make a | |
| simple change to each of the files you're adding, and rebase to the tip of | |
| the branch. | |
| 2. Run the reverse workflow and look for any problems in the output: | |
| copybara third_party/gbmcweb/copy.bara.sky gbmcweb_gob_to_piper_reverse_workflow 47934 | |
| 3. The command should create a CL; look it over and ensure the transformations | |
| work correctly. | |
| """ | |
| load("//devtools/copybara/library/feedback", "critique_findings_to_gerrit") | |
| load("//devtools/copybara/library/global_authors", "original_author_to_googler") | |
| load("//devtools/copybara/library/scrubbing", "cc_scrub", "doc_scrub", "message_extract_public_description", "proto_scrub") | |
| load("//devtools/copybara/library/workflow", "get_metadata_scrubbing_transforms_with_rollback", "piper_sot_to_gerrit") | |
| metadata_scrubber = get_metadata_scrubbing_transforms_with_rollback( | |
| core.transform([ | |
| message_extract_public_description(msg_if_no_match = "Internal change\n"), | |
| # TODO b/534110376: Split line by line for each BUG | |
| metadata.expose_label("BUG", "Google-Bug-Id", separator = ":"), | |
| ]), | |
| presubmit = False, | |
| ) | |
| ################################################################################### | |
| # Do not modify this file from GoB. This file should only be modified in google3. # | |
| ################################################################################### | |
| ######################## | |
| # Private definitions | |
| ######################## | |
| # all c++ source files under current directory recrusively in google3 | |
| _g3_cc_files = ["**.h", "**.cc"] | |
| # C++ files under either naming; the replace dicts run after the .h/.cc -> .hpp/.cpp renames. | |
| _cc_files = ["**.h", "**.cc", "**.hpp", "**.cpp"] | |
| _json_files = ["**.json"] | |
| _proto_files = ["**.proto"] | |
| # all c++ source files under current directory recrusively in GoB | |
| _gob_cc_files = ["**.h", "**.cpp", "**.hpp", "**.cc"] | |
| # Common files like OWNERS, METADATA, etc are excluded | |
| _excluded_meta_files = [ | |
| "google3/third_party/gbmcweb/BUILD", | |
| "google3/third_party/gbmcweb/bluze.textproto", | |
| "google3/third_party/gbmcweb/METADATA", | |
| "google3/third_party/gbmcweb/third_party.gbmcweb.blueprint", | |
| "google3/third_party/gbmcweb/OWNERS", | |
| "google3/third_party/gbmcweb/demo/**", | |
| "google3/third_party/gbmcweb/**/BUILD", | |
| ] | |
| # Mappings between Google3 relative paths (under google3/third_party/gbmcweb/) and GoB git paths. | |
| _FILE_MAPPINGS = [ | |
| # go/keep-sorted start | |
| ("LICENSE", "LICENSE"), | |
| ("config/bmcweb.service.in", "config/bmcweb.service.in"), | |
| ("config/bmcweb.socket.in", "config/bmcweb.socket.in"), | |
| ("config/bmcweb_config.h.in", "config/bmcweb_config.h.in"), | |
| ("config/meson.build", "config/meson.build"), | |
| ("config/meson_options.txt", "meson_options.txt"), | |
| ("devpath_plugin/meson.build", "devpath_plugin/meson.build"), | |
| ("devpath_plugin/redfish_devpath_injector.cc", "devpath_plugin/redfish_devpath_injector.cpp"), | |
| ("devpath_plugin/redfish_devpath_injector.h", "devpath_plugin/redfish_devpath_injector.hpp"), | |
| ("devpath_plugin/redfish_devpath_injector_interface.h", "devpath_plugin/redfish_devpath_injector_interface.hpp"), | |
| ("devpath_plugin/redfish_devpath_injector_test.cc", "test/devpath_plugin/redfish_devpath_injector_test.cpp"), | |
| ("devpath_plugin/redfish_to_uhm_mapping.proto", "devpath_plugin/redfish_to_uhm_mapping.proto"), | |
| ("devpath_plugin/redfish_to_uhm_mapping_value.h", "devpath_plugin/redfish_to_uhm_mapping_value.hpp"), | |
| ("devpath_plugin/redfish_to_uhm_trie.cc", "devpath_plugin/redfish_to_uhm_trie.cpp"), | |
| ("devpath_plugin/redfish_to_uhm_trie.h", "devpath_plugin/redfish_to_uhm_trie.hpp"), | |
| ("devpath_plugin/redfish_to_uhm_trie_node.cc", "devpath_plugin/redfish_to_uhm_trie_node.cpp"), | |
| ("devpath_plugin/redfish_to_uhm_trie_node.h", "devpath_plugin/redfish_to_uhm_trie_node.hpp"), | |
| ("devpath_plugin/redfish_to_uhm_trie_test.cc", "test/devpath_plugin/redfish_to_uhm_trie_test.cpp"), | |
| ("http/app.cc", "http/app.cpp"), | |
| ("http/app.h", "http/app.hpp"), | |
| ("http/app_get_routes_test.cc", "test/http/crow_getroutes_test.cpp"), | |
| ("http/app_singleton.cc", "http/app_singleton.cpp"), | |
| ("http/app_singleton.h", "http/app_singleton.hpp"), | |
| ("http/common.h", "http/common.hpp"), | |
| ("http/http_client.h", "http/http_client.hpp"), | |
| ("http/http_connection.h", "http/http_connection.hpp"), | |
| ("http/http_request.cc", "http/http_request.cpp"), | |
| ("http/http_request.h", "http/http_request.hpp"), | |
| ("http/http_response.cc", "http/http_response.cpp"), | |
| ("http/http_response.h", "http/http_response.hpp"), | |
| ("http/http_response_test.cc", "test/http/http_response_test.cpp"), | |
| ("http/http_server.h", "http/http_server.hpp"), | |
| ("http/logging.h", "http/logging.hpp"), | |
| ("http/mutual_tls.h", "http/mutual_tls.hpp"), | |
| ("http/parsing.h", "http/parsing.hpp"), | |
| ("http/routing.cc", "http/routing.cpp"), | |
| ("http/routing.h", "http/routing.hpp"), | |
| ("http/routing_test.cc", "test/http/router_test.cpp"), | |
| ("http/utility.cc", "http/utility.cpp"), | |
| ("http/utility.h", "http/utility.hpp"), | |
| ("http/utility_test.cc", "test/http/utility_test.cpp"), | |
| ("http/verb.h", "http/verb.hpp"), | |
| ("http/verb_test.cc", "test/http/verb_test.cpp"), | |
| ("http/websocket.h", "http/websocket.hpp"), | |
| ("include/async_resolve.h", "include/async_resolve.hpp"), | |
| ("include/async_resp.cc", "include/async_resp.cpp"), | |
| ("include/async_resp.h", "include/async_resp.hpp"), | |
| ("include/authentication.h", "include/authentication.hpp"), | |
| ("include/cors_preflight.h", "include/cors_preflight.hpp"), | |
| ("include/dbus_utility.cc", "include/dbus_utility.cpp"), | |
| ("include/dbus_utility.h", "include/dbus_utility.hpp"), | |
| ("include/dbus_utility_test.cc", "test/include/dbus_utility_test.cpp"), | |
| ("include/forward_unauthorized.h", "include/forward_unauthorized.hpp"), | |
| ("include/google/google_service_nvme.h", "include/google/google_service_nvme.hpp"), | |
| ("include/google/google_service_nvme_test.cc", "test/include/google/google_service_nvme_test.cpp"), | |
| ("include/google/google_service_root.h", "include/google/google_service_root.hpp"), | |
| ("include/google/google_service_root_test.cc", "test/include/google/google_service_root_test.cpp"), | |
| ("include/hostname_monitor.h", "include/hostname_monitor.hpp"), | |
| ("include/http_utility.h", "include/http_utility.hpp"), | |
| ("include/http_utility_test.cc", "test/include/http_utility_test.cpp"), | |
| ("include/human_sort.h", "include/human_sort.hpp"), | |
| ("include/human_sort_test.cc", "test/include/human_sort_test.cpp"), | |
| ("include/image_upload.h", "include/image_upload.hpp"), | |
| ("include/json_html_serializer.h", "include/json_html_serializer.hpp"), | |
| ("include/managed_store_http.cc", "src/managed_store_http.cpp"), | |
| ("include/managed_store_http.h", "include/managed_store_http.hpp"), | |
| ("include/multipart_parser.h", "include/multipart_parser.hpp"), | |
| ("include/multipart_test.cc", "test/include/multipart_test.cpp"), | |
| ("include/openbmc_dbus_rest.h", "include/openbmc_dbus_rest.hpp"), | |
| ("include/openbmc_dbus_rest_test.cc", "test/include/openbmc_dbus_rest_test.cpp"), | |
| ("include/pam_authenticate.h", "include/pam_authenticate.hpp"), | |
| ("include/persistent_data.h", "include/persistent_data.hpp"), | |
| ("include/random.h", "include/random.hpp"), | |
| ("include/request_stats.cc", "src/request_stats.cpp"), | |
| ("include/request_stats.h", "include/request_stats.hpp"), | |
| ("include/request_stats_store_http.cc", "src/request_stats_store_http.cpp"), | |
| ("include/request_stats_store_http.h", "include/request_stats_store_http.hpp"), | |
| ("include/request_stats_test.cc", "test/include/request_stats_test.cpp"), | |
| ("include/security_headers.h", "include/security_headers.hpp"), | |
| ("include/sessions.cc", "include/sessions.cpp"), | |
| ("include/sessions.h", "include/sessions.hpp"), | |
| ("include/source_location.h", "include/source_location.hpp"), | |
| ("include/ssl_key_handler.h", "include/ssl_key_handler.hpp"), | |
| ("include/str_utility.h", "include/str_utility.hpp"), | |
| ("include/str_utility_test.cc", "test/include/str_utility_test.cpp"), | |
| ("include/user_monitor.h", "include/user_monitor.hpp"), | |
| ("include/webassets.h", "include/webassets.hpp"), | |
| ("include/webroutes.h", "include/webroutes.hpp"), | |
| ("include/webserver_main_setup.cc", "src/webserver_main_setup.cpp"), | |
| ("include/webserver_main_setup.h", "include/webserver_main_setup.hpp"), | |
| ("meson.build", "meson.build"), | |
| ("plugins/interface.h", "plugins/interface.hpp"), | |
| ("plugins/macros.h", "plugins/macros.hpp"), | |
| ("plugins/macros_test.cc", "plugins/macros_test.cpp"), | |
| ("redfish_core/include/aggregation_utils.h", "redfish-core/include/aggregation_utils.hpp"), | |
| ("redfish_core/include/error_messages.cc", "redfish-core/src/error_messages.cpp"), | |
| ("redfish_core/include/error_messages.h", "redfish-core/include/error_messages.hpp"), | |
| ("redfish_core/include/error_messages_test.cc", "test/redfish-core/src/error_messages_test.cpp"), | |
| ("redfish_core/include/generated/enums/**", "redfish-core/include/generated/enums/**"), | |
| ("redfish_core/include/gzfile.h", "redfish-core/include/gzfile.hpp"), | |
| ("redfish_core/include/privileges.h", "redfish-core/include/privileges.hpp"), | |
| ("redfish_core/include/privileges_test.cc", "test/redfish-core/include/privileges_test.cpp"), | |
| ("redfish_core/include/query.cc", "redfish-core/include/query.cpp"), | |
| ("redfish_core/include/query.h", "redfish-core/include/query.hpp"), | |
| ("redfish_core/include/query_test.cc", "test/redfish-core/include/query_test.cpp"), | |
| ("redfish_core/include/redfish.h", "redfish-core/include/redfish.hpp"), | |
| ("redfish_core/include/redfish_aggregator.h", "redfish-core/include/redfish_aggregator.hpp"), | |
| ("redfish_core/include/redfish_aggregator_test.cc", "test/redfish-core/include/redfish_aggregator_test.cpp"), | |
| ("redfish_core/include/registries.cc", "redfish-core/src/registries.cpp"), | |
| ("redfish_core/include/registries.h", "redfish-core/include/registries.hpp"), | |
| ("redfish_core/include/registries/base_message_registry.h", "redfish-core/include/registries/base_message_registry.hpp"), | |
| ("redfish_core/include/registries/openbmc_message_registry.h", "redfish-core/include/registries/openbmc_message_registry.hpp"), | |
| ("redfish_core/include/registries/privilege_registry.h", "redfish-core/include/registries/privilege_registry.hpp"), | |
| ("redfish_core/include/registries/resource_event_message_registry.h", "redfish-core/include/registries/resource_event_message_registry.hpp"), | |
| ("redfish_core/include/registries/task_event_message_registry.h", "redfish-core/include/registries/task_event_message_registry.hpp"), | |
| ("redfish_core/include/registries_test.cc", "test/redfish-core/include/registries_test.cpp"), | |
| ("redfish_core/include/schemas.h", "redfish-core/include/schemas.hpp"), | |
| ("redfish_core/include/task_messages.h", "redfish-core/include/task_messages.hpp"), | |
| ("redfish_core/include/utils/boottime.h", "redfish-core/include/utils/boottime.hpp"), | |
| ("redfish_core/include/utils/chassis_utils.h", "redfish-core/include/utils/chassis_utils.hpp"), | |
| ("redfish_core/include/utils/collection.h", "redfish-core/include/utils/collection.hpp"), | |
| ("redfish_core/include/utils/dbus_utils.h", "redfish-core/include/utils/dbus_utils.hpp"), | |
| ("redfish_core/include/utils/fan_utils.h", "redfish-core/include/utils/fan_utils.hpp"), | |
| ("redfish_core/include/utils/hex_utils.h", "redfish-core/include/utils/hex_utils.hpp"), | |
| ("redfish_core/include/utils/hex_utils_test.cc", "test/redfish-core/include/utils/hex_utils_test.cpp"), | |
| ("redfish_core/include/utils/ip_utils.h", "redfish-core/include/utils/ip_utils.hpp"), | |
| ("redfish_core/include/utils/ip_utils_test.cc", "test/redfish-core/include/utils/ip_utils_test.cpp"), | |
| ("redfish_core/include/utils/json_utils.cc", "redfish-core/src/utils/json_utils.cpp"), | |
| ("redfish_core/include/utils/json_utils.h", "redfish-core/include/utils/json_utils.hpp"), | |
| ("redfish_core/include/utils/json_utils_test.cc", "test/redfish-core/include/utils/json_utils_test.cpp"), | |
| ("redfish_core/include/utils/location_utils.h", "redfish-core/include/utils/location_utils.hpp"), | |
| ("redfish_core/include/utils/location_utils_test.cc", "test/redfish-core/include/utils/location_utils_test.cpp"), | |
| ("redfish_core/include/utils/nvme_metric_utils.h", "redfish-core/include/utils/nvme_metric_utils.hpp"), | |
| ("redfish_core/include/utils/stl_utils.h", "redfish-core/include/utils/stl_utils.hpp"), | |
| ("redfish_core/include/utils/stl_utils_test.cc", "test/redfish-core/include/utils/stl_utils_test.cpp"), | |
| ("redfish_core/include/utils/storage_utils.h", "redfish-core/include/utils/storage_utils.hpp"), | |
| ("redfish_core/include/utils/subprocess_utils.cc", "redfish-core/src/utils/subprocess_utils.cpp"), | |
| ("redfish_core/include/utils/subprocess_utils.h", "redfish-core/include/utils/subprocess_utils.hpp"), | |
| ("redfish_core/include/utils/subprocess_utils_fake.h", "redfish-core/include/utils/subprocess_utils_fake.hpp"), | |
| ("redfish_core/include/utils/sw_utils.h", "redfish-core/include/utils/sw_utils.hpp"), | |
| ("redfish_core/include/utils/system_utils.h", "redfish-core/include/utils/system_utils.hpp"), | |
| ("redfish_core/include/utils/systemd_utils.h", "redfish-core/include/utils/systemd_utils.hpp"), | |
| ("redfish_core/include/utils/telemetry_utils.h", "redfish-core/include/utils/telemetry_utils.hpp"), | |
| ("redfish_core/include/utils/time_utils.h", "redfish-core/include/utils/time_utils.hpp"), | |
| ("redfish_core/include/utils/time_utils_test.cc", "test/redfish-core/include/utils/time_utils_test.cpp"), | |
| ("redfish_core/lib/aggregation_service.h", "redfish-core/lib/aggregation_service.hpp"), | |
| ("redfish_core/lib/assembly.h", "redfish-core/lib/assembly.hpp"), | |
| ("redfish_core/lib/bios.h", "redfish-core/lib/bios.hpp"), | |
| ("redfish_core/lib/cable.h", "redfish-core/lib/cable.hpp"), | |
| ("redfish_core/lib/certificate_service.h", "redfish-core/lib/certificate_service.hpp"), | |
| ("redfish_core/lib/chassis.cc", "redfish-core/lib/chassis.cpp"), | |
| ("redfish_core/lib/chassis.h", "redfish-core/lib/chassis.hpp"), | |
| ("redfish_core/lib/component_integrity.h", "redfish-core/lib/component_integrity.hpp"), | |
| ("redfish_core/lib/control.h", "redfish-core/lib/control.hpp"), | |
| ("redfish_core/lib/environment_metrics.h", "redfish-core/lib/environment_metrics.hpp"), | |
| ("redfish_core/lib/ethernet.h", "redfish-core/lib/ethernet.hpp"), | |
| ("redfish_core/lib/external_storer.cc", "redfish-core/lib/external_storer.cpp"), | |
| ("redfish_core/lib/external_storer.h", "redfish-core/lib/external_storer.hpp"), | |
| ("redfish_core/lib/fabric_adapters.h", "redfish-core/lib/fabric_adapters.hpp"), | |
| ("redfish_core/lib/fan.h", "redfish-core/lib/fan.hpp"), | |
| ("redfish_core/lib/health.cc", "redfish-core/lib/health.cpp"), | |
| ("redfish_core/lib/health.h", "redfish-core/lib/health.hpp"), | |
| ("redfish_core/lib/led.h", "redfish-core/lib/led.hpp"), | |
| ("redfish_core/lib/log_services.cc", "redfish-core/lib/log_services.cpp"), | |
| ("redfish_core/lib/log_services.h", "redfish-core/lib/log_services.hpp"), | |
| ("redfish_core/lib/log_services_eventlog.cc", "redfish-core/lib/log_services_eventlog.cpp"), | |
| ("redfish_core/lib/manager_diagnostic_data.h", "redfish-core/lib/manager_diagnostic_data.hpp"), | |
| ("redfish_core/lib/managers.h", "redfish-core/lib/managers.hpp"), | |
| ("redfish_core/lib/memory.h", "redfish-core/lib/memory.hpp"), | |
| ("redfish_core/lib/metric_report.h", "redfish-core/lib/metric_report.hpp"), | |
| ("redfish_core/lib/metric_report_definition.h", "redfish-core/lib/metric_report_definition.hpp"), | |
| ("redfish_core/lib/network_adapter.h", "redfish-core/lib/network_adapter.hpp"), | |
| ("redfish_core/lib/network_protocol.h", "redfish-core/lib/network_protocol.hpp"), | |
| ("redfish_core/lib/nvme_features.h", "redfish-core/lib/nvme_features.hpp"), | |
| ("redfish_core/lib/other_software_service.h", "redfish-core/lib/other_software_service.hpp"), | |
| ("redfish_core/lib/pcie.h", "redfish-core/lib/pcie.hpp"), | |
| ("redfish_core/lib/pcie_slots.h", "redfish-core/lib/pcie_slots.hpp"), | |
| ("redfish_core/lib/port_metrics.h", "redfish-core/lib/port_metrics.hpp"), | |
| ("redfish_core/lib/ports.h", "redfish-core/lib/ports.hpp"), | |
| ("redfish_core/lib/power.h", "redfish-core/lib/power.hpp"), | |
| ("redfish_core/lib/power_subsystem.h", "redfish-core/lib/power_subsystem.hpp"), | |
| ("redfish_core/lib/power_supply.h", "redfish-core/lib/power_supply.hpp"), | |
| ("redfish_core/lib/power_supply_metrics.h", "redfish-core/lib/power_supply_metrics.hpp"), | |
| ("redfish_core/lib/processor.h", "redfish-core/lib/processor.hpp"), | |
| ("redfish_core/lib/redfish_util.h", "redfish-core/lib/redfish_util.hpp"), | |
| ("redfish_core/lib/redfish_v1.h", "redfish-core/lib/redfish_v1.hpp"), | |
| ("redfish_core/lib/sensors.h", "redfish-core/lib/sensors.hpp"), | |
| ("redfish_core/lib/service_root.h", "redfish-core/lib/service_root.hpp"), | |
| ("redfish_core/lib/storage.h", "redfish-core/lib/storage.hpp"), | |
| ("redfish_core/lib/systems.cc", "redfish-core/lib/systems.cpp"), | |
| ("redfish_core/lib/systems.h", "redfish-core/lib/systems.hpp"), | |
| ("redfish_core/lib/task.h", "redfish-core/lib/task.hpp"), | |
| ("redfish_core/lib/telemetry_service.h", "redfish-core/lib/telemetry_service.hpp"), | |
| ("redfish_core/lib/thermal.h", "redfish-core/lib/thermal.hpp"), | |
| ("redfish_core/lib/thermal_subsystem.h", "redfish-core/lib/thermal_subsystem.hpp"), | |
| ("redfish_core/lib/trusted_component.h", "redfish-core/lib/trusted_component.hpp"), | |
| ("redfish_core/lib/update_service.h", "redfish-core/lib/update_service.hpp"), | |
| ("scripts/generate_schema_collections.py", "scripts/generate_schema_collections.py"), | |
| ("scripts/generate_schema_enums.py", "scripts/generate_schema_enums.py"), | |
| ("scripts/parse_registries.py", "scripts/parse_registries.py"), | |
| ("scripts/update_schemas.py", "scripts/update_schemas.py"), | |
| ("src/webserver_main.cc", "src/webserver_main.cpp"), | |
| ("test/redfish_core/lib/assembly_test.cc", "test/redfish-core/lib/assembly_test.cpp"), | |
| ("test/redfish_core/lib/bios_multi_host_test.cc", "test/redfish-core/lib/bios_multi_host_test.cpp"), | |
| ("test/redfish_core/lib/bios_test.cc", "test/redfish-core/lib/bios_test.cpp"), | |
| ("test/redfish_core/lib/boot_time_test.cc", "test/redfish-core/lib/boot_time_test.cpp"), | |
| ("test/redfish_core/lib/cable_test.cc", "test/redfish-core/lib/cable_test.cpp"), | |
| ("test/redfish_core/lib/chassis_test.cc", "test/redfish-core/lib/chassis_test.cpp"), | |
| ("test/redfish_core/lib/component_integrity_test.cc", "test/redfish-core/lib/component_integrity_test.cpp"), | |
| ("test/redfish_core/lib/control_test.cc", "test/redfish-core/lib/control_test.cpp"), | |
| ("test/redfish_core/lib/ethernet_test.cc", "test/redfish-core/lib/ethernet_test.cpp"), | |
| ("test/redfish_core/lib/external_storer_test.cc", "test/redfish-core/lib/external_storer_test.cpp"), | |
| ("test/redfish_core/lib/fan_test.cc", "test/redfish-core/lib/fan_test.cpp"), | |
| ("test/redfish_core/lib/health_test.cc", "test/redfish-core/lib/health_test.cpp"), | |
| ("test/redfish_core/lib/log_services_eventlog_test.cc", "test/redfish-core/lib/log_services_eventlog_test.cpp"), | |
| ("test/redfish_core/lib/log_services_test.cc", "test/redfish-core/lib/log_services_test.cpp"), | |
| ("test/redfish_core/lib/manager_diagnostic_data_test.cc", "test/redfish-core/lib/manager_diagnostic_data_test.cpp"), | |
| ("test/redfish_core/lib/manager_test.cc", "test/redfish-core/lib/manager_test.cpp"), | |
| ("test/redfish_core/lib/memory_test.cc", "test/redfish-core/lib/memory_test.cpp"), | |
| ("test/redfish_core/lib/network_adapter_test.cc", "test/redfish-core/lib/network_adapter_test.cpp"), | |
| ("test/redfish_core/lib/nvme_features_test.cc", "test/redfish-core/lib/nvme_features_test.cpp"), | |
| ("test/redfish_core/lib/nvme_metric_test.cc", "test/redfish-core/lib/nvme_metric_test.cpp"), | |
| ("test/redfish_core/lib/pcie_slots_test.cc", "test/redfish-core/lib/pcie_slots_test.cpp"), | |
| ("test/redfish_core/lib/pcie_test.cc", "test/redfish-core/lib/pcie_test.cpp"), | |
| ("test/redfish_core/lib/port_metrics_test.cc", "test/redfish-core/lib/port_metrics_test.cpp"), | |
| ("test/redfish_core/lib/ports_test.cc", "test/redfish-core/lib/ports_test.cpp"), | |
| ("test/redfish_core/lib/power_subsystem_test.cc", "test/redfish-core/lib/power_subsystem_test.cpp"), | |
| ("test/redfish_core/lib/power_supply_metrics_test.cc", "test/redfish-core/lib/power_supply_metrics_test.cpp"), | |
| ("test/redfish_core/lib/power_supply_test.cc", "test/redfish-core/lib/power_supply_test.cpp"), | |
| ("test/redfish_core/lib/power_test.cc", "test/redfish-core/lib/power_test.cpp"), | |
| ("test/redfish_core/lib/processor_test.cc", "test/redfish-core/lib/processor_test.cpp"), | |
| ("test/redfish_core/lib/service_root_test.cc", "test/redfish-core/lib/service_root_test.cpp"), | |
| ("test/redfish_core/lib/snapshot_fixture.h", "test/redfish-core/lib/snapshot_fixture.hpp"), | |
| ("test/redfish_core/lib/snapshot_fixture_test.cc", "test/redfish-core/lib/snapshot_fixture_test.cpp"), | |
| ("test/redfish_core/lib/storage_test.cc", "test/redfish-core/lib/storage_test.cpp"), | |
| ("test/redfish_core/lib/system_multi_host_test.cc", "test/redfish-core/lib/system_multi_host_test.cpp"), | |
| ("test/redfish_core/lib/system_test.cc", "test/redfish-core/lib/system_test.cpp"), | |
| ("test/redfish_core/lib/system_utils_test.cc", "test/redfish-core/lib/system_utils_test.cpp"), | |
| ("test/redfish_core/lib/thermal_subsystem_test.cc", "test/redfish-core/lib/thermal_subsystem_test.cpp"), | |
| ("test/redfish_core/lib/trusted_component_test.cc", "test/redfish-core/lib/trusted_component_test.cpp"), | |
| ("test/redfish_core/lib/update_service_test.cc", "test/redfish-core/lib/update_service_test.cpp"), | |
| # go/keep-sorted end | |
| ] | |
| _all_gbmcweb_google3_files = sorted([ | |
| "google3/third_party/gbmcweb/" + g3_file | |
| for g3_file, _ in _FILE_MAPPINGS | |
| ]) | |
| _git_files = sorted([ | |
| git_file | |
| for _, git_file in _FILE_MAPPINGS | |
| ]) | |
| _ecclesia_lib = [ | |
| ("google3/third_party/ecclesia/lib/redfish/proto/redfish_v1.proto", "redfish_authorization/redfish_v1.proto"), | |
| ] | |
| _gbmcweb_codebase_lib = [ | |
| ("google3/third_party/ecclesia/lib/status/macros.h", "g3/macros.h"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/server.h", "g3/server.h"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/server.cc", "g3/server.cc"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/app_interface.h", "http/app_interface.h"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/smart_router.h", "http/smart_router.h"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/smart_router.cc", "http/smart_router.cc"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/managed_store.h", "g3/managed_store.hpp"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/managed_store.cc", "g3/managed_store.cpp"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/managed_store_clock.h", "g3/managed_store_clock.hpp"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/managed_store_types.h", "g3/managed_store_types.hpp"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/managed_store_types.cc", "g3/managed_store_types.cpp"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/mock_managed_store.h", "test/g3/mock_managed_store.hpp"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/mock_managed_store_test.h", "test/g3/mock_managed_store_test.hpp"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/mock_managed_store_test.cc", "test/g3/mock_managed_store_test.cpp"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/managed_store_serialization.h", "g3/managed_store_serialization.h"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/managed_store_serialization.cc", "g3/managed_store_serialization.cc"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/rate_limiter.h", "g3/rate_limiter.h"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/rate_limiter.cc", "g3/rate_limiter.cc"), | |
| ("google3/third_party/milotic/internal/cc/bmcweb/router_interface.h", "http/router_interface.h"), | |
| ("google3/third_party/ecclesia/lib/redfish/event/server/event_store.h", "g3/event_store.h"), | |
| ("google3/third_party/ecclesia/lib/redfish/event/server/event_store.cc", "g3/event_store.cc"), | |
| ("google3/third_party/ecclesia/lib/redfish/event/server/subscription.h", "g3/subscription.h"), | |
| ("google3/third_party/ecclesia/lib/redfish/event/server/subscription.cc", "g3/subscription.cc"), | |
| ("google3/third_party/ecclesia/lib/redfish/event/server/subscription_impl.h", "g3/subscription_impl.h"), | |
| ("google3/third_party/ecclesia/lib/redfish/event/server/subscription_impl.cc", "g3/subscription_impl.cc"), | |
| ("google3/third_party/ecclesia/lib/redfish/event/server/subscription_store_impl.h", "g3/subscription_store_impl.h"), | |
| ("google3/third_party/ecclesia/lib/redfish/event/server/subscription_store_impl.cc", "g3/subscription_store_impl.cc"), | |
| ("google3/subscription_backend_impl.hpp", "g3/subscription_backend_impl.hpp"), | |
| ("google3/subscription_backend_impl.cpp", "g3/subscription_backend_impl.cpp"), | |
| ] | |
| _gbmc_codebase_lib = [ | |
| ("google3/third_party/milotic/internal/cc/redfish/meson.build", "redfish_authorization/meson.build"), | |
| ("google3/third_party/ecclesia/lib/redfish/proto/redfish_v1_grpc_include.h", "redfish_authorization/redfish_v1_grpc_include.h"), | |
| ("google3/third_party/milotic/internal/cc/redfish/authz_server.service.in", "redfish_authorization/authz_server.service.in"), | |
| ("google3/third_party/milotic/internal/build/grpc/grpc_headers.h", "g3/grpc_headers.h"), | |
| ] | |
| _redfish_authz_lib = [ | |
| ("google3/third_party/milotic/internal/cc/authz/bmcweb_authorizer_singleton.h", "redfish_authorization/bmcweb_authorizer_singleton.h"), | |
| ("google3/third_party/milotic/internal/cc/authz/bmcweb_authorizer_singleton.cc", "redfish_authorization/bmcweb_authorizer_singleton.cc"), | |
| ("google3/third_party/milotic/internal/cc/authz/config_generator.h", "redfish_authorization/config_generator.h"), | |
| ("google3/third_party/milotic/internal/cc/authz/config_generator.cc", "redfish_authorization/config_generator.cc"), | |
| ("google3/third_party/milotic/internal/cc/authz/config_generator_main.cc", "redfish_authorization/config_generator_main.cc"), | |
| ("google3/third_party/milotic/internal/cc/authz/authz_server_main.cc", "redfish_authorization/authz_server_main.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/subscription_tracker.h", "redfish_authorization/subscription_tracker.h"), | |
| ("google3/third_party/milotic/external/cc/authz/subscription_tracker.cc", "redfish_authorization/subscription_tracker.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/config_parser.h", "redfish_authorization/config_parser.h"), | |
| ("google3/third_party/milotic/external/cc/authz/config_parser.cc", "redfish_authorization/config_parser.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/json_utils.h", "redfish_authorization/json_utils.h"), | |
| ("google3/third_party/milotic/external/cc/authz/json_utils.cc", "redfish_authorization/json_utils.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/oauth_utils.h", "redfish_authorization/oauth_utils.h"), | |
| ("google3/third_party/milotic/external/cc/authz/oauth_utils.cc", "redfish_authorization/oauth_utils.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/peer_identity.h", "redfish_authorization/peer_identity.h"), | |
| ("google3/third_party/milotic/external/cc/authz/peer_identity_grpc.h", "redfish_authorization/peer_identity_grpc.h"), | |
| ("google3/third_party/milotic/external/cc/authz/peer_identity_grpc.cc", "redfish_authorization/peer_identity_grpc.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/redfish_authorizer_interface.h", "redfish_authorization/redfish_authorizer_interface.h"), | |
| ("google3/third_party/milotic/external/cc/authz/redfish_authorizer.h", "redfish_authorization/redfish_authorizer.h"), | |
| ("google3/third_party/milotic/external/cc/authz/redfish_authorizer.cc", "redfish_authorization/redfish_authorizer.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/redfish_privileges.h", "redfish_authorization/redfish_privileges.h"), | |
| ("google3/third_party/milotic/external/cc/authz/redfish_privileges.cc", "redfish_authorization/redfish_privileges.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/redfish_privileges_json.h", "redfish_authorization/redfish_privileges_json.h"), | |
| ("google3/third_party/milotic/external/cc/authz/redfish_privileges_json.cc", "redfish_authorization/redfish_privileges_json.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/redfish_entity_trie.h", "redfish_authorization/redfish_entity_trie.h"), | |
| ("google3/third_party/milotic/external/cc/authz/redfish_entity_trie.cc", "redfish_authorization/redfish_entity_trie.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/redfish_subtree_privileges_trie_node.h", "redfish_authorization/redfish_subtree_privileges_trie_node.h"), | |
| ("google3/third_party/milotic/external/cc/authz/redfish_subtree_privileges_trie_node.cc", "redfish_authorization/redfish_subtree_privileges_trie_node.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/redfish_entity_trie_node.h", "redfish_authorization/redfish_entity_trie_node.h"), | |
| ("google3/third_party/milotic/external/cc/authz/redfish_entity_trie_node.cc", "redfish_authorization/redfish_entity_trie_node.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/override.h", "redfish_authorization/override.h"), | |
| ("google3/third_party/milotic/external/cc/authz/override.cc", "redfish_authorization/override.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/override_json.h", "redfish_authorization/override_json.h"), | |
| ("google3/third_party/milotic/external/cc/authz/override_json.cc", "redfish_authorization/override_json.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/resource_uri_override.h", "redfish_authorization/resource_uri_override.h"), | |
| ("google3/third_party/milotic/external/cc/authz/resource_uri_override.cc", "redfish_authorization/resource_uri_override.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/subordinate_override.h", "redfish_authorization/subordinate_override.h"), | |
| ("google3/third_party/milotic/external/cc/authz/subordinate_override.cc", "redfish_authorization/subordinate_override.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/pattern_to_entity_array.h", "redfish_authorization/pattern_to_entity_array.h"), | |
| ("google3/third_party/ecclesia/lib/redfish/authorizer_enums.h", "redfish_authorization/authorizer_enums.h"), | |
| ("google3/third_party/ecclesia/lib/redfish/authorizer_enums.cc", "redfish_authorization/authorizer_enums.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/authz_server.h", "redfish_authorization/authz_server.h"), | |
| ("google3/third_party/milotic/external/cc/authz/authz_server.cc", "redfish_authorization/authz_server.cc"), | |
| ("google3/third_party/milotic/external/cc/authz/proto/oauth.proto", "redfish_authorization/oauth.proto"), | |
| ("google3/third_party/milotic/external/cc/authz/proto/authorized_entity.proto", "redfish_authorization/authorized_entity.proto"), | |
| ] | |
| _tlbmc_lib = [ | |
| # go/keep-sorted start | |
| ("google3/platforms/syshealth/collection/feed/forward/client/lib/anycast_user.h", "tlbmc/anycast_user.h"), | |
| ("google3/platforms/uhm/query/proto/bus_topology.proto", "tlbmc/bus_topology.proto"), | |
| ("google3/platforms/uhm/query/proto/offline_data.proto", "tlbmc/offline_data.proto"), | |
| ("google3/third_party/ecclesia/lib/apifs/apifs.cc", "tlbmc/apifs/apifs.cc"), | |
| ("google3/third_party/ecclesia/lib/apifs/apifs.h", "tlbmc/apifs/apifs.h"), | |
| ("google3/third_party/ecclesia/lib/file/dir.cc", "tlbmc/file/dir.cc"), | |
| ("google3/third_party/ecclesia/lib/file/dir.h", "tlbmc/file/dir.h"), | |
| ("google3/third_party/ecclesia/lib/file/path.cc", "tlbmc/file/path.cc"), | |
| ("google3/third_party/ecclesia/lib/file/path.h", "tlbmc/file/path.h"), | |
| ("google3/third_party/ecclesia/lib/io/ioctl.cc", "tlbmc/io/ioctl.cc"), | |
| ("google3/third_party/ecclesia/lib/io/ioctl.h", "tlbmc/io/ioctl.h"), | |
| ("google3/third_party/ecclesia/lib/io/smbus/kernel_dev.cc", "tlbmc/io/smbus/kernel_dev.cc"), | |
| ("google3/third_party/ecclesia/lib/io/smbus/kernel_dev.h", "tlbmc/io/smbus/kernel_dev.h"), | |
| ("google3/third_party/ecclesia/lib/io/smbus/smbus.cc", "tlbmc/io/smbus/smbus.cc"), | |
| ("google3/third_party/ecclesia/lib/io/smbus/smbus.h", "tlbmc/io/smbus/smbus.h"), | |
| ("google3/third_party/ecclesia/lib/protobuf/parse.h", "tlbmc/protobuf/parse.h"), | |
| ("google3/third_party/ecclesia/lib/redfish/transport/grpc_tls_options.cc", "tlbmc/grpc_tls_options.cc"), | |
| ("google3/third_party/ecclesia/lib/redfish/transport/grpc_tls_options.h", "tlbmc/grpc_tls_options.h"), | |
| ("google3/third_party/ecclesia/lib/thread/thread.cc", "tlbmc/thread/thread.cc"), | |
| ("google3/third_party/ecclesia/lib/thread/thread.h", "tlbmc/thread/thread.h"), | |
| ("google3/third_party/ecclesia/lib/time/clock.cc", "tlbmc/time/clock.cc"), | |
| ("google3/third_party/ecclesia/lib/time/clock.h", "tlbmc/time/clock.h"), | |
| ("google3/third_party/ecclesia/lib/time/proto.cc", "tlbmc/time/proto.cc"), | |
| ("google3/third_party/ecclesia/lib/time/proto.h", "tlbmc/time/proto.h"), | |
| ("google3/third_party/ecclesia/lib/types/fixed_range_int.h", "tlbmc/types/fixed_range_int.h"), | |
| ("google3/third_party/milotic/external/cc/fast_sanity/definitions/fru_component_model.proto", "tlbmc/fru_component_model.proto"), | |
| ("google3/third_party/milotic/external/cc/fast_sanity/definitions/fru_service.proto", "tlbmc/fru_service.proto"), | |
| ("google3/third_party/milotic/external/cc/fast_sanity/service/fru_service.cc", "tlbmc/service/fru_service.cc"), | |
| ("google3/third_party/milotic/external/cc/fast_sanity/service/fru_service.h", "tlbmc/service/fru_service.h"), | |
| ("google3/third_party/milotic/external/cc/hft/adapter/data_source.h", "tlbmc/adapter/data_source.h"), | |
| ("google3/third_party/milotic/external/cc/hft/aggregation/telemetry_aggregation.proto", "tlbmc/telemetry_aggregation.proto"), | |
| ("google3/third_party/milotic/external/cc/hft/service/hft_capabilities.proto", "tlbmc/hft_capabilities.proto"), | |
| ("google3/third_party/milotic/external/cc/hft/service/hft_service.proto", "tlbmc/hft_service.proto"), | |
| ("google3/third_party/milotic/external/cc/hft/types/edge_filtering.proto", "tlbmc/edge_filtering.proto"), | |
| ("google3/third_party/milotic/external/cc/hft/types/event_log_identifier.proto", "tlbmc/event_log_identifier.proto"), | |
| ("google3/third_party/milotic/external/cc/hft/types/event_log_payload.proto", "tlbmc/event_log_payload.proto"), | |
| ("google3/third_party/milotic/external/cc/hft/types/fru_identifier.proto", "tlbmc/fru_identifier.proto"), | |
| ("google3/third_party/milotic/external/cc/hft/types/fru_payload.proto", "tlbmc/fru_payload.proto"), | |
| ("google3/third_party/milotic/external/cc/hft/types/identifier.proto", "tlbmc/identifier.proto"), | |
| ("google3/third_party/milotic/external/cc/hft/types/payload.proto", "tlbmc/payload.proto"), | |
| ("google3/third_party/milotic/external/cc/hft/types/sensor_identifier.proto", "tlbmc/sensor_identifier.proto"), | |
| ("google3/third_party/milotic/external/cc/hft/types/sensor_payload.proto", "tlbmc/sensor_payload.proto"), | |
| ("google3/third_party/milotic/external/cc/hft/types/subscription_params.proto", "tlbmc/subscription_params.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/central_config/central_config.proto", "tlbmc/central_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/central_config/config.cc", "tlbmc/central_config/config.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/central_config/config.h", "tlbmc/central_config/config.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/bulk_sensor_collector.h", "tlbmc/collector/bulk_sensor_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/bulk_sensor_collector_base.cc", "tlbmc/collector/bulk_sensor_collector_base.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/bulk_sensor_collector_base.h", "tlbmc/collector/bulk_sensor_collector_base.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/bulk_store.h", "tlbmc/collector/bulk_store.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/collector.h", "tlbmc/collector/collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/default_bulk_sensor_collector.cc", "tlbmc/collector/default_bulk_sensor_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/fake_fru_collector.cc", "tlbmc/collector/fake_fru_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/fake_fru_collector.h", "tlbmc/collector/fake_fru_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/fake_gpio_collector.cc", "tlbmc/collector/fake_gpio_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/fake_gpio_collector.h", "tlbmc/collector/fake_gpio_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/fru_collector.cc", "tlbmc/collector/fru_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/fru_collector.h", "tlbmc/collector/fru_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/gpio_collector.cc", "tlbmc/collector/gpio_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/gpio_collector.h", "tlbmc/collector/gpio_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/led_collector.cc", "tlbmc/collector/led_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/led_collector.h", "tlbmc/collector/led_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/metric_collector.cc", "tlbmc/collector/metric_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/metric_collector.h", "tlbmc/collector/metric_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/monitoring_change_base.h", "tlbmc/collector/monitoring_change_base.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/monitoring_change_executor.h", "tlbmc/collector/monitoring_change_executor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/pcie_collector.cc", "tlbmc/collector/pcie_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/pcie_collector.h", "tlbmc/collector/pcie_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/peci_scanner.cc", "tlbmc/collector/peci_scanner.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/peci_scanner.h", "tlbmc/collector/peci_scanner.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/power_control_collector.cc", "tlbmc/collector/power_control_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/power_control_collector.h", "tlbmc/collector/power_control_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/power_fault_log_collector.cc", "tlbmc/collector/power_fault_log_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/power_fault_log_collector.h", "tlbmc/collector/power_fault_log_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/resource_state_manager.cc", "tlbmc/collector/resource_state_manager.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/resource_state_manager.h", "tlbmc/collector/resource_state_manager.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/sel_collector.cc", "tlbmc/collector/sel_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/sel_collector.h", "tlbmc/collector/sel_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/sensor_collector.cc", "tlbmc/collector/sensor_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/sensor_collector.h", "tlbmc/collector/sensor_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/sensor_collector_aggregator.cc", "tlbmc/collector/sensor_collector_aggregator.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/sensor_collector_aggregator.h", "tlbmc/collector/sensor_collector_aggregator.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/sensor_set.h", "tlbmc/collector/sensor_set.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/sensor_set_manager.cc", "tlbmc/collector/sensor_set_manager.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/sensor_set_manager.h", "tlbmc/collector/sensor_set_manager.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/thermal_collector.cc", "tlbmc/collector/thermal_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/thermal_collector.h", "tlbmc/collector/thermal_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/throttling_collector.cc", "tlbmc/collector/throttling_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/collector/throttling_collector.h", "tlbmc/collector/throttling_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/ad_hoc_fru_config.proto", "tlbmc/ad_hoc_fru_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/adc_sensor_config.proto", "tlbmc/adc_sensor_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/blocklist_parser.cc", "tlbmc/configs/blocklist_parser.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/blocklist_parser.h", "tlbmc/configs/blocklist_parser.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/bulk_device_config.proto", "tlbmc/bulk_device_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/entity_common_config.proto", "tlbmc/entity_common_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/entity_config.cc", "tlbmc/configs/entity_config.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/entity_config.h", "tlbmc/configs/entity_config.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/entity_config_json_impl.cc", "tlbmc/configs/entity_config_json_impl.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/entity_config_json_impl.h", "tlbmc/configs/entity_config_json_impl.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/expression.cc", "tlbmc/configs/expression.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/expression.h", "tlbmc/configs/expression.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/fan_controller_config.proto", "tlbmc/fan_controller_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/fan_pwm_config.proto", "tlbmc/fan_pwm_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/fan_tach_config.proto", "tlbmc/fan_tach_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/gpio_config.proto", "tlbmc/gpio_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/gpio_fru_config.proto", "tlbmc/gpio_fru_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/gpio_sensor_config.proto", "tlbmc/gpio_sensor_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/hal_common_config.proto", "tlbmc/hal_common_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/hwmon_temp_sensor_config.proto", "tlbmc/hwmon_temp_sensor_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/intel_cpu_sensor_config.proto", "tlbmc/intel_cpu_sensor_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/led_config.proto", "tlbmc/led_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/nic_telemetry_config.proto", "tlbmc/nic_telemetry_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/pcie_config.proto", "tlbmc/pcie_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/power_control.proto", "tlbmc/power_control.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/power_fault_detector_config.proto", "tlbmc/power_fault_detector_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/power_fault_log_config.proto", "tlbmc/power_fault_log_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/proto_config_parser.cc", "tlbmc/configs/proto_config_parser.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/proto_config_parser.h", "tlbmc/configs/proto_config_parser.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/psu_sensor_config.proto", "tlbmc/psu_sensor_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/rate_limiter_config.cc", "tlbmc/configs/rate_limiter_config.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/rate_limiter_config.h", "tlbmc/configs/rate_limiter_config.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/reading_range_config.proto", "tlbmc/reading_range_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/reading_transform_config.proto", "tlbmc/reading_transform_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/redfish_aggregated_batch_config.proto", "tlbmc/redfish_aggregated_batch_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/redfish_aggregated_sensor_config.proto", "tlbmc/redfish_aggregated_sensor_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/sel_config.proto", "tlbmc/sel_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/sensor_instance_properties.proto", "tlbmc/sensor_instance_properties.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/shared_mem_sensor_config.proto", "tlbmc/shared_mem_sensor_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/software_metrics_config.proto", "tlbmc/software_metrics_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/subscription_config.h", "tlbmc/configs/subscription_config.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/thermal_config.proto", "tlbmc/thermal_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/thermal_controller_specification.proto", "tlbmc/thermal_controller_specification.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/threshold_config.proto", "tlbmc/threshold_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/throttling_config.proto", "tlbmc/throttling_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/topology_config.proto", "tlbmc/topology_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/usb_fru_config.proto", "tlbmc/usb_fru_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/configs/virtual_sensor_config.proto", "tlbmc/virtual_sensor_config.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/credentials/credential_manager.h", "tlbmc/credentials/credential_manager.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/credentials/credential_manager_impl.cc", "tlbmc/credentials/credential_manager_impl.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/credentials/credential_manager_impl.h", "tlbmc/credentials/credential_manager_impl.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/i2c_walker/i2c_walker_interface.h", "tlbmc/deterministic_bmc/i2c_walker/i2c_walker_interface.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/i2c_walker/uhmm_i2c_walker.cc", "tlbmc/deterministic_bmc/i2c_walker/uhmm_i2c_walker.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/i2c_walker/uhmm_i2c_walker.h", "tlbmc/deterministic_bmc/i2c_walker/uhmm_i2c_walker.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser.cc", "tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser.h", "tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser_interface.h", "tlbmc/deterministic_bmc/offline_config_parser/offline_config_parser_interface.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/offline_config_parser/proto_reader.h", "tlbmc/deterministic_bmc/offline_config_parser/proto_reader.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/deterministic_bmc/uhmm/fru_i2c.proto", "tlbmc/fru_i2c.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/expression/expression.cc", "tlbmc/expression/expression.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/expression/expression.h", "tlbmc/expression/expression.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/bulk_sensor_collector.md", "tlbmc/g3doc/components/collectors/bulk_sensor_collector.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/fru_collector.md", "tlbmc/g3doc/components/collectors/fru_collector.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/gpio_collector.md", "tlbmc/g3doc/components/collectors/gpio_collector.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/pcie_collector.md", "tlbmc/g3doc/components/collectors/pcie_collector.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/power_fault_log_collector.md", "tlbmc/g3doc/components/collectors/power_fault_log_collector.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/sel_collector.md", "tlbmc/g3doc/components/collectors/sel_collector.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/sensor_collector.md", "tlbmc/g3doc/components/collectors/sensor_collector.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/collectors/thermal_collector.md", "tlbmc/g3doc/components/collectors/thermal_collector.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/credentials.md", "tlbmc/g3doc/components/credentials.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/host_state.md", "tlbmc/g3doc/components/host_state.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/pacemaker.md", "tlbmc/g3doc/components/pacemaker.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/scheduler.md", "tlbmc/g3doc/components/scheduler.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/sensors/adc_sensors.md", "tlbmc/g3doc/components/sensors/adc_sensors.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/sensors/fan_sensors.md", "tlbmc/g3doc/components/sensors/fan_sensors.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/sensors/hwmon_temp_sensors.md", "tlbmc/g3doc/components/sensors/hwmon_temp_sensors.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/sensors/psu_sensor.md", "tlbmc/g3doc/components/sensors/psu_sensor.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/components/sensors/redfish_aggregated.md", "tlbmc/g3doc/components/sensors/redfish_aggregated.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/configuration/central_config.md", "tlbmc/g3doc/configuration/central_config.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/configuration/entity_config.md", "tlbmc/g3doc/configuration/entity_config.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/debugging/sensor_debug_guide.md", "tlbmc/g3doc/debugging/sensor_debug_guide.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/general/getting_started.md", "tlbmc/g3doc/general/getting_started.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/general/redfish_resource_ownership_model.md", "tlbmc/g3doc/general/redfish_resource_ownership_model.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/modules/collectors.md", "tlbmc/g3doc/modules/collectors.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/modules/metrics.md", "tlbmc/g3doc/modules/metrics.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/modules/sensors.md", "tlbmc/g3doc/modules/sensors.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/modules/thermal.md", "tlbmc/g3doc/modules/thermal.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/onboarding_npis/fru_collector_module.md", "tlbmc/g3doc/onboarding_npis/fru_collector_module.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/onboarding_npis/install_module.md", "tlbmc/g3doc/onboarding_npis/install_module.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/onboarding_npis/metric_collector_module.md", "tlbmc/g3doc/onboarding_npis/metric_collector_module.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/onboarding_npis/overview.md", "tlbmc/g3doc/onboarding_npis/overview.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/onboarding_npis/redfish_rate_limiter_module.md", "tlbmc/g3doc/onboarding_npis/redfish_rate_limiter_module.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/onboarding_npis/sensor_collector_module.md", "tlbmc/g3doc/onboarding_npis/sensor_collector_module.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/onboarding_npis/trust_bundle_install_module.md", "tlbmc/g3doc/onboarding_npis/trust_bundle_install_module.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish.md", "tlbmc/g3doc/presentation/redfish.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish/certificate_service.md", "tlbmc/g3doc/presentation/redfish/certificate_service.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish/chassis.md", "tlbmc/g3doc/presentation/redfish/chassis.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish/managers.md", "tlbmc/g3doc/presentation/redfish/managers.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish/power_subsystem.md", "tlbmc/g3doc/presentation/redfish/power_subsystem.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish/sensors.md", "tlbmc/g3doc/presentation/redfish/sensors.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish/thermal_subsystem.md", "tlbmc/g3doc/presentation/redfish/thermal_subsystem.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/g3doc/presentation/redfish/update_service.md", "tlbmc/g3doc/presentation/redfish/update_service.md"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fake_fru_scanner_fram.cc", "tlbmc/hal/fake_fru_scanner_fram.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fake_fru_scanner_fram.h", "tlbmc/hal/fake_fru_scanner_fram.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner.h", "tlbmc/hal/fru_scanner.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_adc.cc", "tlbmc/hal/fru_scanner_adc.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_adc.h", "tlbmc/hal/fru_scanner_adc.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_cable.cc", "tlbmc/hal/fru_scanner_cable.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_cable.h", "tlbmc/hal/fru_scanner_cable.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_fram.cc", "tlbmc/hal/fru_scanner_fram.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_fram.h", "tlbmc/hal/fru_scanner_fram.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_gpio.cc", "tlbmc/hal/fru_scanner_gpio.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_gpio.h", "tlbmc/hal/fru_scanner_gpio.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_i2c.cc", "tlbmc/hal/fru_scanner_i2c.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_i2c.h", "tlbmc/hal/fru_scanner_i2c.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_usb.cc", "tlbmc/hal/fru_scanner_usb.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/fru_scanner_usb.h", "tlbmc/hal/fru_scanner_usb.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/gpio/gpio.cc", "tlbmc/hal/gpio/gpio.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/gpio/gpio.h", "tlbmc/hal/gpio/gpio.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/gpio/gpio_monitor.cc", "tlbmc/hal/gpio/gpio_monitor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/gpio/gpio_monitor.h", "tlbmc/hal/gpio/gpio_monitor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/gpio/on_demand_gpio.cc", "tlbmc/hal/gpio/on_demand_gpio.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/gpio/on_demand_gpio.h", "tlbmc/hal/gpio/on_demand_gpio.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/led/led.cc", "tlbmc/hal/led/led.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/led/led.h", "tlbmc/hal/led/led.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/led/led_gpio.cc", "tlbmc/hal/led/led_gpio.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/led/led_gpio.h", "tlbmc/hal/led/led_gpio.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/led/led_sysfs.cc", "tlbmc/hal/led/led_sysfs.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/led/led_sysfs.h", "tlbmc/hal/led/led_sysfs.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/accessor_base.h", "tlbmc/hal/nic_veeprom/accessor_base.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/interface.cc", "tlbmc/hal/nic_veeprom/interface.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/interface.h", "tlbmc/hal/nic_veeprom/interface.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/type.h", "tlbmc/hal/nic_veeprom/type.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/veeprom.proto", "tlbmc/veeprom.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/peci/peci_access_impl.cc", "tlbmc/hal/peci/peci_access_impl.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/peci/peci_access_impl.h", "tlbmc/hal/peci/peci_access_impl.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/peci/peci_access_interface.h", "tlbmc/hal/peci/peci_access_interface.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/power_fault_detector/power_fault_detector.cc", "tlbmc/hal/power_fault_detector/power_fault_detector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/power_fault_detector/power_fault_detector.h", "tlbmc/hal/power_fault_detector/power_fault_detector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/client_interface.h", "tlbmc/hal/shared_mem/client_interface.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/client_segment.h", "tlbmc/hal/shared_mem/client_segment.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/demo/shared_mem_cli.cc", "tlbmc/hal/shared_mem/demo/shared_mem_cli.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/demo/shared_mem_sensor_client.cc", "tlbmc/hal/shared_mem/demo/shared_mem_sensor_client.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/demo/shared_mem_sensor_server.cc", "tlbmc/hal/shared_mem/demo/shared_mem_sensor_server.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/metrics.cc", "tlbmc/hal/shared_mem/metrics.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/metrics.h", "tlbmc/hal/shared_mem/metrics.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/sensors.h", "tlbmc/hal/shared_mem/sensors.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/server_interface.h", "tlbmc/hal/shared_mem/server_interface.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_client_impl.cc", "tlbmc/hal/shared_mem/static_client_impl.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_client_impl.h", "tlbmc/hal/shared_mem/static_client_impl.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_client_segment.cc", "tlbmc/hal/shared_mem/static_client_segment.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_client_segment.h", "tlbmc/hal/shared_mem/static_client_segment.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_server_impl.cc", "tlbmc/hal/shared_mem/static_server_impl.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_server_impl.h", "tlbmc/hal/shared_mem/static_server_impl.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/shared_mem/static_shm_common.h", "tlbmc/hal/shared_mem/static_shm_common.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/hwmon.cc", "tlbmc/hal/sysfs/hwmon.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/hwmon.h", "tlbmc/hal/sysfs/hwmon.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/i2c.cc", "tlbmc/hal/sysfs/i2c.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/i2c.h", "tlbmc/hal/sysfs/i2c.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/i3c.cc", "tlbmc/hal/sysfs/i3c.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/i3c.h", "tlbmc/hal/sysfs/i3c.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/iio.cc", "tlbmc/hal/sysfs/iio.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/iio.h", "tlbmc/hal/sysfs/iio.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/led.cc", "tlbmc/hal/sysfs/led.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/led.h", "tlbmc/hal/sysfs/led.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/peci.cc", "tlbmc/hal/sysfs/peci.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/sysfs/peci.h", "tlbmc/hal/sysfs/peci.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/system_registry.h", "tlbmc/hal/system_registry.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/system_registry_impl.cc", "tlbmc/hal/system_registry_impl.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/system_registry_impl.h", "tlbmc/hal/system_registry_impl.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hal/system_registry_mock.h", "tlbmc/hal/system_registry_mock.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hft/core/edge_filter.cc", "tlbmc/hft/core/edge_filter.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hft/core/edge_filter.h", "tlbmc/hft/core/edge_filter.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hft/core/hft_service.cc", "tlbmc/hft/core/hft_service.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hft/core/hft_service.h", "tlbmc/hft/core/hft_service.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hft/core/manager.h", "tlbmc/hft/core/manager.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hft/core/manager_fake.h", "tlbmc/hft/core/manager_fake.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hft/core/manager_impl.cc", "tlbmc/hft/core/manager_impl.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hft/core/manager_impl.h", "tlbmc/hft/core/manager_impl.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hft/core/scheduler.h", "tlbmc/hft/core/scheduler.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hft/manager_debug_json.cc", "tlbmc/hft/manager_debug_json.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hft/manager_debug_json.h", "tlbmc/hft/manager_debug_json.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/hft/task_scheduler_adapter.h", "tlbmc/hft/task_scheduler_adapter.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/host_state/host_state_collector.cc", "tlbmc/host_state/host_state_collector.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/host_state/host_state_collector.h", "tlbmc/host_state/host_state_collector.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/host_state/power_control.cc", "tlbmc/host_state/power_control.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/host_state/power_control.h", "tlbmc/host_state/power_control.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/http/http_client.cc", "tlbmc/http/http_client.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/http/http_client.h", "tlbmc/http/http_client.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/http/http_client_interface.h", "tlbmc/http/http_client_interface.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/meson.build", "tlbmc/meson.build"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/metrics/bmc_static_metrics.cc", "tlbmc/metrics/bmc_static_metrics.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/metrics/bmc_static_metrics.h", "tlbmc/metrics/bmc_static_metrics.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/metrics/software_metrics.cc", "tlbmc/metrics/software_metrics.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/metrics/software_metrics.h", "tlbmc/metrics/software_metrics.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/pacemaker/pacemaker.cc", "tlbmc/pacemaker/pacemaker.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/pacemaker/pacemaker.h", "tlbmc/pacemaker/pacemaker.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/pacemaker/pacemaker.service", "tlbmc/pacemaker/pacemaker.service"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/pacemaker/pacemaker_main.cc", "tlbmc/pacemaker/pacemaker_main.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/rcu/simple_rcu.h", "tlbmc/rcu/simple_rcu.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/app.cc", "tlbmc/redfish/app.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/app.h", "tlbmc/redfish/app.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/black_magic.h", "tlbmc/redfish/black_magic.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/common.h", "tlbmc/redfish/common.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.cc", "tlbmc/redfish/data/stable_id.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.h", "tlbmc/redfish/data/stable_id.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/data/stable_id.proto", "tlbmc/stable_id.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/expand_query_aggregator.cc", "tlbmc/redfish/expand_query_aggregator.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/expand_query_aggregator.h", "tlbmc/redfish/expand_query_aggregator.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/query.cc", "tlbmc/redfish/query.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/query.h", "tlbmc/redfish/query.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/query_parameters.cc", "tlbmc/redfish/query_parameters.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/query_parameters.h", "tlbmc/redfish/query_parameters.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/request.cc", "tlbmc/redfish/request.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/request.h", "tlbmc/redfish/request.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/response.cc", "tlbmc/redfish/response.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/response.h", "tlbmc/redfish/response.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_chassis.cc", "tlbmc/redfish/routes/all_chassis.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_chassis.h", "tlbmc/redfish/routes/all_chassis.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_routes.cc", "tlbmc/redfish/routes/all_routes.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_routes.h", "tlbmc/redfish/routes/all_routes.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_sensors.cc", "tlbmc/redfish/routes/all_sensors.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/all_sensors.h", "tlbmc/redfish/routes/all_sensors.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/assembly.cc", "tlbmc/redfish/routes/assembly.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/assembly.h", "tlbmc/redfish/routes/assembly.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/cable.cc", "tlbmc/redfish/routes/cable.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/cable.h", "tlbmc/redfish/routes/cable.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/certificate_service.cc", "tlbmc/redfish/routes/certificate_service.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/certificate_service.h", "tlbmc/redfish/routes/certificate_service.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/chassis.cc", "tlbmc/redfish/routes/chassis.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/chassis.h", "tlbmc/redfish/routes/chassis.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/debug.cc", "tlbmc/redfish/routes/debug.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/debug.h", "tlbmc/redfish/routes/debug.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/fan.cc", "tlbmc/redfish/routes/fan.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/fan.h", "tlbmc/redfish/routes/fan.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/manager_certificates.cc", "tlbmc/redfish/routes/manager_certificates.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/manager_certificates.h", "tlbmc/redfish/routes/manager_certificates.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/managers.cc", "tlbmc/redfish/routes/managers.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/managers.h", "tlbmc/redfish/routes/managers.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/metric.cc", "tlbmc/redfish/routes/metric.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/metric.h", "tlbmc/redfish/routes/metric.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/pcie.cc", "tlbmc/redfish/routes/pcie.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/pcie.h", "tlbmc/redfish/routes/pcie.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_fault_log.cc", "tlbmc/redfish/routes/power_fault_log.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_fault_log.h", "tlbmc/redfish/routes/power_fault_log.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_subsystem.cc", "tlbmc/redfish/routes/power_subsystem.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_subsystem.h", "tlbmc/redfish/routes/power_subsystem.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_supply.cc", "tlbmc/redfish/routes/power_supply.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_supply.h", "tlbmc/redfish/routes/power_supply.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_supply_metrics.cc", "tlbmc/redfish/routes/power_supply_metrics.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/power_supply_metrics.h", "tlbmc/redfish/routes/power_supply_metrics.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/rate_limiter.cc", "tlbmc/redfish/routes/rate_limiter.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/rate_limiter.h", "tlbmc/redfish/routes/rate_limiter.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/redfish_authorization.cc", "tlbmc/redfish/routes/redfish_authorization.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/redfish_authorization.h", "tlbmc/redfish/routes/redfish_authorization.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/sensor.cc", "tlbmc/redfish/routes/sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/sensor.h", "tlbmc/redfish/routes/sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/service_root.cc", "tlbmc/redfish/routes/service_root.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/service_root.h", "tlbmc/redfish/routes/service_root.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/system.cc", "tlbmc/redfish/routes/system.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/system.h", "tlbmc/redfish/routes/system.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/system_event_log.cc", "tlbmc/redfish/routes/system_event_log.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/system_event_log.h", "tlbmc/redfish/routes/system_event_log.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/task_service.cc", "tlbmc/redfish/routes/task_service.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/task_service.h", "tlbmc/redfish/routes/task_service.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/thermal_subsystem.cc", "tlbmc/redfish/routes/thermal_subsystem.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/thermal_subsystem.h", "tlbmc/redfish/routes/thermal_subsystem.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tlbmc_metrics.cc", "tlbmc/redfish/routes/tlbmc_metrics.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tlbmc_metrics.h", "tlbmc/redfish/routes/tlbmc_metrics.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tlbmc_plugins.cc", "tlbmc/redfish/routes/tlbmc_plugins.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tlbmc_plugins.h", "tlbmc/redfish/routes/tlbmc_plugins.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tlbmc_root.cc", "tlbmc/redfish/routes/tlbmc_root.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tlbmc_root.h", "tlbmc/redfish/routes/tlbmc_root.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tpuwizard/tpuwizard.cc", "tlbmc/redfish/routes/tpuwizard/tpuwizard.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/tpuwizard/tpuwizard.h", "tlbmc/redfish/routes/tpuwizard/tpuwizard.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/update_service.cc", "tlbmc/redfish/routes/update_service.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routes/update_service.h", "tlbmc/redfish/routes/update_service.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routing.cc", "tlbmc/redfish/routing.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/routing.h", "tlbmc/redfish/routing.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/url.cc", "tlbmc/redfish/url.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/url.h", "tlbmc/redfish/url.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/verb.cc", "tlbmc/redfish/verb.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/redfish/verb.h", "tlbmc/redfish/verb.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/resource/fru.proto", "tlbmc/fru.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/resource/memory.proto", "tlbmc/memory.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/resource/power_fault_log_entry.proto", "tlbmc/power_fault_log_entry.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/resource/processor.proto", "tlbmc/processor.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/resource/reset_type.cc", "tlbmc/resource/reset_type.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/resource/reset_type.h", "tlbmc/resource/reset_type.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/resource/resource.proto", "tlbmc/resource.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/resource/sensor.proto", "tlbmc/sensor.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/resource/software_metrics.proto", "tlbmc/software_metrics.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/resource/status.proto", "tlbmc/status.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/resource/syslog_config_utils.cc", "tlbmc/resource/syslog_config_utils.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/resource/syslog_config_utils.h", "tlbmc/resource/syslog_config_utils.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/scheduler/scheduler.cc", "tlbmc/scheduler/scheduler.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/scheduler/scheduler.h", "tlbmc/scheduler/scheduler.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/adc_sensor.cc", "tlbmc/sensors/adc_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/adc_sensor.h", "tlbmc/sensors/adc_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/amd_cpu_sensor.cc", "tlbmc/sensors/amd_cpu_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/amd_cpu_sensor.h", "tlbmc/sensors/amd_cpu_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/bulk_sensor.h", "tlbmc/sensors/bulk_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/bulk_sensor_delegate.h", "tlbmc/sensors/bulk_sensor_delegate.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/fan_controller.cc", "tlbmc/sensors/fan_controller.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/fan_controller.h", "tlbmc/sensors/fan_controller.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/fan_pwm.cc", "tlbmc/sensors/fan_pwm.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/fan_pwm.h", "tlbmc/sensors/fan_pwm.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/fan_tach.cc", "tlbmc/sensors/fan_tach.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/fan_tach.h", "tlbmc/sensors/fan_tach.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/gpio_sensor.cc", "tlbmc/sensors/gpio_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/gpio_sensor.h", "tlbmc/sensors/gpio_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_based_sensor.cc", "tlbmc/sensors/hwmon_based_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_based_sensor.h", "tlbmc/sensors/hwmon_based_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_input_device.cc", "tlbmc/sensors/hwmon_input_device.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_input_device.h", "tlbmc/sensors/hwmon_input_device.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_temp_sensor.cc", "tlbmc/sensors/hwmon_temp_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/hwmon_temp_sensor.h", "tlbmc/sensors/hwmon_temp_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/intel_cpu_sensor.cc", "tlbmc/sensors/intel_cpu_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/intel_cpu_sensor.h", "tlbmc/sensors/intel_cpu_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/ixc_hwmon_based_sensor.cc", "tlbmc/sensors/ixc_hwmon_based_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/ixc_hwmon_based_sensor.h", "tlbmc/sensors/ixc_hwmon_based_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/nic_sensor.cc", "tlbmc/sensors/nic_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/nic_sensor.h", "tlbmc/sensors/nic_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/peci_hwmon_based_sensor.cc", "tlbmc/sensors/peci_hwmon_based_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/peci_hwmon_based_sensor.h", "tlbmc/sensors/peci_hwmon_based_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/polling_base_sensor.cc", "tlbmc/sensors/polling_base_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/polling_base_sensor.h", "tlbmc/sensors/polling_base_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/psu_sensor.cc", "tlbmc/sensors/psu_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/psu_sensor.h", "tlbmc/sensors/psu_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/redfish_aggregated_batch.cc", "tlbmc/sensors/redfish_aggregated_batch.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/redfish_aggregated_batch.h", "tlbmc/sensors/redfish_aggregated_batch.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/redfish_aggregated_sensor.cc", "tlbmc/sensors/redfish_aggregated_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/redfish_aggregated_sensor.h", "tlbmc/sensors/redfish_aggregated_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/sensor.cc", "tlbmc/sensors/sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/sensor.h", "tlbmc/sensors/sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/shared_mem_based_sensor.cc", "tlbmc/sensors/shared_mem_based_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/shared_mem_based_sensor.h", "tlbmc/sensors/shared_mem_based_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/sync_polling_sensor.cc", "tlbmc/sensors/sync_polling_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/sync_polling_sensor.h", "tlbmc/sensors/sync_polling_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/virtual_sensor.cc", "tlbmc/sensors/virtual_sensor.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/sensors/virtual_sensor.h", "tlbmc/sensors/virtual_sensor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/store/factory.cc", "tlbmc/store/factory.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/store/factory.h", "tlbmc/store/factory.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/store/octeon10_evk_store.cc", "tlbmc/store/octeon10_evk_store.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/store/octeon10_evk_store.h", "tlbmc/store/octeon10_evk_store.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/store/store.h", "tlbmc/store/store.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/store/store_hft_adapter.cc", "tlbmc/store/store_hft_adapter.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/store/store_hft_adapter.h", "tlbmc/store/store_hft_adapter.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/store/store_impl.cc", "tlbmc/store/store_impl.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/store/store_impl.h", "tlbmc/store/store_impl.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/dff.cc", "tlbmc/thermal/controller/algorithm/dff.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/dff.h", "tlbmc/thermal/controller/algorithm/dff.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/eat.cc", "tlbmc/thermal/controller/algorithm/eat.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/eat.h", "tlbmc/thermal/controller/algorithm/eat.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/first_order_adrc.cc", "tlbmc/thermal/controller/algorithm/first_order_adrc.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/first_order_adrc.h", "tlbmc/thermal/controller/algorithm/first_order_adrc.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/pid.cc", "tlbmc/thermal/controller/algorithm/pid.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/pid.h", "tlbmc/thermal/controller/algorithm/pid.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/second_order_adrc.cc", "tlbmc/thermal/controller/algorithm/second_order_adrc.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/second_order_adrc.h", "tlbmc/thermal/controller/algorithm/second_order_adrc.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/stepwise.cc", "tlbmc/thermal/controller/algorithm/stepwise.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/stepwise.h", "tlbmc/thermal/controller/algorithm/stepwise.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/utils/nonlinear_tracking_differentiator.cc", "tlbmc/thermal/controller/algorithm/utils/nonlinear_tracking_differentiator.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/algorithm/utils/nonlinear_tracking_differentiator.h", "tlbmc/thermal/controller/algorithm/utils/nonlinear_tracking_differentiator.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/controller.h", "tlbmc/thermal/controller/controller.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/dff_controller.cc", "tlbmc/thermal/controller/dff_controller.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/dff_controller.h", "tlbmc/thermal/controller/dff_controller.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/eat_controller.cc", "tlbmc/thermal/controller/eat_controller.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/eat_controller.h", "tlbmc/thermal/controller/eat_controller.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/fan_pid_controller.cc", "tlbmc/thermal/controller/fan_pid_controller.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/fan_pid_controller.h", "tlbmc/thermal/controller/fan_pid_controller.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/first_order_adrc_controller.cc", "tlbmc/thermal/controller/first_order_adrc_controller.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/first_order_adrc_controller.h", "tlbmc/thermal/controller/first_order_adrc_controller.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/optimizer_logger.h", "tlbmc/thermal/controller/optimizer/optimizer_logger.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/pid/frequency_response_estimation/frequency_response_estimation.cc", "tlbmc/thermal/controller/optimizer/pid/frequency_response_estimation/frequency_response_estimation.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/pid/frequency_response_estimation/frequency_response_estimation.h", "tlbmc/thermal/controller/optimizer/pid/frequency_response_estimation/frequency_response_estimation.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/pid/frequency_response_estimation/utils.cc", "tlbmc/thermal/controller/optimizer/pid/frequency_response_estimation/utils.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/pid/frequency_response_estimation/utils.h", "tlbmc/thermal/controller/optimizer/pid/frequency_response_estimation/utils.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/pid/pid_optimizer.h", "tlbmc/thermal/controller/optimizer/pid/pid_optimizer.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/pid/ziegler_nichols/differentiated_ziegler_nichols.cc", "tlbmc/thermal/controller/optimizer/pid/ziegler_nichols/differentiated_ziegler_nichols.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/pid/ziegler_nichols/differentiated_ziegler_nichols.h", "tlbmc/thermal/controller/optimizer/pid/ziegler_nichols/differentiated_ziegler_nichols.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/pid/ziegler_nichols/ziegler_nichols.cc", "tlbmc/thermal/controller/optimizer/pid/ziegler_nichols/ziegler_nichols.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/optimizer/pid/ziegler_nichols/ziegler_nichols.h", "tlbmc/thermal/controller/optimizer/pid/ziegler_nichols/ziegler_nichols.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/pid_controller.cc", "tlbmc/thermal/controller/pid_controller.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/pid_controller.h", "tlbmc/thermal/controller/pid_controller.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/second_order_adrc_controller.cc", "tlbmc/thermal/controller/second_order_adrc_controller.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/second_order_adrc_controller.h", "tlbmc/thermal/controller/second_order_adrc_controller.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/stepwise_controller.cc", "tlbmc/thermal/controller/stepwise_controller.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller/stepwise_controller.h", "tlbmc/thermal/controller/stepwise_controller.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller_info/controller_info.cc", "tlbmc/thermal/controller_info/controller_info.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/controller_info/controller_info.h", "tlbmc/thermal/controller_info/controller_info.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/debug_mode.h", "tlbmc/thermal/debug_mode.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/failsafe_logger.cc", "tlbmc/thermal/failsafe_logger.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/failsafe_logger.h", "tlbmc/thermal/failsafe_logger.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/fan_info/fan_info.cc", "tlbmc/thermal/fan_info/fan_info.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/fan_info/fan_info.h", "tlbmc/thermal/fan_info/fan_info.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/sensor_info/sensor_info.cc", "tlbmc/thermal/sensor_info/sensor_info.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/sensor_info/sensor_info.h", "tlbmc/thermal/sensor_info/sensor_info.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/thermal_control_utils.h", "tlbmc/thermal/thermal_control_utils.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/utils/math_utils.h", "tlbmc/thermal/utils/math_utils.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/zone_manager.cc", "tlbmc/thermal/zone_manager.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/thermal/zone_manager.h", "tlbmc/thermal/zone_manager.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/time/time.cc", "tlbmc/time/time.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/time/time.h", "tlbmc/time/time.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/trace/trace.proto", "tlbmc/trace.proto"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/trace/tracer.cc", "tlbmc/trace/tracer.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/trace/tracer.h", "tlbmc/trace/tracer.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/utils/command_executor.h", "tlbmc/utils/command_executor.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/utils/file_manager.cc", "tlbmc/utils/file_manager.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/utils/file_manager.h", "tlbmc/utils/file_manager.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/utils/fram_utils.cc", "tlbmc/utils/fram_utils.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/utils/fram_utils.h", "tlbmc/utils/fram_utils.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/utils/fru_reader.cc", "tlbmc/utils/fru_reader.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/utils/fru_reader.h", "tlbmc/utils/fru_reader.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/utils/fru_utils.cc", "tlbmc/utils/fru_utils.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/utils/fru_utils.h", "tlbmc/utils/fru_utils.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/utils/inotify_watcher.cc", "tlbmc/utils/inotify_watcher.cc"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/utils/inotify_watcher.h", "tlbmc/utils/inotify_watcher.h"), | |
| ("google3/third_party/milotic/external/cc/tlbmc/utils/shell_command_executor.h", "tlbmc/utils/shell_command_executor.h"), | |
| ("google3/third_party/milotic/external/cc/true_hitless/true_hitless_metrics.proto", "tlbmc/true_hitless_metrics.proto"), | |
| ("google3/third_party/milotic/external/cc/true_hitless/true_hitless_metrics_parser.cc", "tlbmc/true_hitless/true_hitless_metrics_parser.cc"), | |
| ("google3/third_party/milotic/external/cc/true_hitless/true_hitless_metrics_parser.h", "tlbmc/true_hitless/true_hitless_metrics_parser.h"), | |
| ("google3/third_party/openbmc_libpeci/linux/peci-ioctl.h", "tlbmc/hal/peci/linux/peci-ioctl.h"), | |
| # go/keep-sorted end | |
| ] | |
| _install_files = [ | |
| ("google3/third_party/milotic/external/cc/bloom_install/activation-check.service", "install/activation-check.service"), | |
| ("google3/third_party/milotic/external/cc/bloom_install/activation-check.timer", "install/activation-check.timer"), | |
| ("google3/third_party/milotic/external/cc/bloom_install/install-service.service", "install/install-service.service"), | |
| ("google3/third_party/milotic/external/cc/bloom_install/collect-debug-log.service", "install/collect-debug-log.service"), | |
| ("google3/third_party/milotic/external/cc/bloom_install/collect_debug_log.sh", "install/collect_debug_log.sh"), | |
| ("google3/third_party/milotic/external/cc/bloom_install/installer_main.cc", "install/installer_main.cc"), | |
| ("google3/third_party/milotic/external/cc/bloom_install/installer.cc", "install/installer.cc"), | |
| ("google3/third_party/milotic/external/cc/bloom_install/installer.h", "install/installer.h"), | |
| ("google3/third_party/milotic/external/cc/bloom_install/meson.build", "install/meson.build"), | |
| ("google3/third_party/milotic/external/cc/bloom_install/verify_bundle.sh", "install/verify_bundle.sh"), | |
| ] | |
| # Reverse (GoB -> google3) scope: the milotic-owned files of _tlbmc_lib. The ecclesia and | |
| # platforms files exported alongside them are not imported back. | |
| _MILOTIC_EXTERNAL_CC = "google3/third_party/milotic/external/cc/" | |
| _reverse_tlbmc_mappings = [(g3, gob) for g3, gob in _tlbmc_lib if g3.startswith(_MILOTIC_EXTERNAL_CC)] | |
| _reverse_tlbmc_google3_files = [g3 for g3, _ in _reverse_tlbmc_mappings] | |
| _reverse_tlbmc_gob_files = [gob for _, gob in _reverse_tlbmc_mappings] | |
| def _basename(path): | |
| return path.rsplit("/", 1)[-1] | |
| def _g3_path(google3_file): | |
| """Strips the `google3/` prefix, giving the path as spelled in #include and import lines.""" | |
| return google3_file[len("google3/"):] | |
| # Reverse of the forward rules that strip the authz directories from `#include "..."` lines. | |
| _authz_reverse_includes = { | |
| "#include \"" + _basename(f) + "\"": "#include \"" + _g3_path(f) + "\"" | |
| for f, _ in _redfish_authz_lib | |
| if f.endswith(".h") | |
| } | |
| # Reverse of the forward rules that map tlbmc proto headers to their bare GoB names. | |
| # true_hitless_metrics.proto keeps a `tlbmc/` prefix in GoB and is handled with the tlbmc/ prefix rules. | |
| _tlbmc_reverse_proto_headers = dict([ | |
| ( | |
| "#include \"" + _basename(f)[:-len(".proto")] + gob_suffix + "\"", | |
| "#include \"" + _g3_path(f)[:-len(".proto")] + g3_suffix + "\"", | |
| ) | |
| for f in _reverse_tlbmc_google3_files | |
| if f.endswith(".proto") and "/true_hitless/" not in f | |
| for gob_suffix, g3_suffix in [(".pb.h", ".proto.h"), (".grpc.pb.h", ".grpc.pb.h")] | |
| ]) | |
| # Reverse of the forward rules that strip the tlbmc proto directories from `import "..."` lines. | |
| _tlbmc_reverse_proto_imports = { | |
| "import \"" + _basename(f) + "\"": "import \"" + _g3_path(f) + "\"" | |
| for f in _reverse_tlbmc_google3_files | |
| if f.endswith(".proto") | |
| } | |
| _milotic_file_mappings = _gbmcweb_codebase_lib + _tlbmc_lib + _gbmc_codebase_lib + _redfish_authz_lib + _ecclesia_lib + _install_files | |
| _milotic_google3_files = [g3 for g3, _ in _milotic_file_mappings] | |
| _all_gbmcweb_gob_files = ["g3/**", "test/g3/**", "tlbmc/**", "install/**", "redfish_authorization/**", "http/*.h", "http/*.cc", "proto/**"] | |
| def _replace_all_cc(diffs): | |
| arr = [] | |
| for before, after in diffs.items(): | |
| arr.append(core.replace( | |
| before = before, | |
| after = after, | |
| paths = glob(_cc_files), | |
| )) | |
| return arr | |
| def _replace_all_protos(diffs): | |
| arr = [] | |
| for before, after in diffs.items(): | |
| arr.append(core.replace( | |
| before = before, | |
| after = after, | |
| paths = glob(_proto_files), | |
| )) | |
| return arr | |
| # Internal C++ header renames (google3 include path -> GoB include path). Applied to | |
| # `#include "..."` lines only, so bare names like verb.hpp cannot match other headers. | |
| _INTERNAL_HEADERS = [ | |
| # go/keep-sorted start | |
| ("third_party/ecclesia/lib/redfish/authorizer_enums.h", "authorizer_enums.h"), | |
| ("third_party/ecclesia/lib/redfish/event/server/event_store.h", "g3/event_store.h"), | |
| ("third_party/ecclesia/lib/redfish/event/server/subscription.h", "subscription.h"), | |
| ("third_party/ecclesia/lib/redfish/event/server/subscription_impl.h", "subscription_impl.h"), | |
| ("third_party/ecclesia/lib/redfish/event/server/subscription_store_impl.h", "subscription_store_impl.h"), | |
| ("third_party/ecclesia/lib/status/macros.h", "g3/macros.h"), | |
| ("third_party/gbmcweb/config/bm_config.h", "bm_config.h"), | |
| ("third_party/gbmcweb/config/bmcweb_config.h", "bmcweb_config.h"), | |
| ("third_party/gbmcweb/http/app.h", "app.hpp"), | |
| ("third_party/gbmcweb/http/app_singleton.h", "app_singleton.hpp"), | |
| ("third_party/gbmcweb/http/common.h", "common.hpp"), | |
| ("third_party/gbmcweb/http/http_client.h", "http_client.hpp"), | |
| ("third_party/gbmcweb/http/http_connection.h", "http_connection.hpp"), | |
| ("third_party/gbmcweb/http/http_request.h", "http_request.hpp"), | |
| ("third_party/gbmcweb/http/http_response.h", "http_response.hpp"), | |
| ("third_party/gbmcweb/http/http_server.h", "http_server.hpp"), | |
| ("third_party/gbmcweb/http/logging.h", "logging.hpp"), | |
| ("third_party/gbmcweb/http/mutual_tls.h", "mutual_tls.hpp"), | |
| ("third_party/gbmcweb/http/parsing.h", "parsing.hpp"), | |
| ("third_party/gbmcweb/http/routing.h", "routing.hpp"), | |
| ("third_party/gbmcweb/http/utility.h", "utility.hpp"), | |
| ("third_party/gbmcweb/http/verb.h", "verb.hpp"), | |
| ("third_party/gbmcweb/http/websocket.h", "websocket.hpp"), | |
| ("third_party/gbmcweb/include/async_resolve.h", "async_resolve.hpp"), | |
| ("third_party/gbmcweb/include/async_resp.h", "async_resp.hpp"), | |
| ("third_party/gbmcweb/include/authentication.h", "authentication.hpp"), | |
| ("third_party/gbmcweb/include/cors_preflight.h", "cors_preflight.hpp"), | |
| ("third_party/gbmcweb/include/dbus_utility.h", "dbus_utility.hpp"), | |
| ("third_party/gbmcweb/include/forward_unauthorized.h", "forward_unauthorized.hpp"), | |
| ("third_party/gbmcweb/include/google/google_service_nvme.h", "google/google_service_nvme.hpp"), | |
| ("third_party/gbmcweb/include/google/google_service_root.h", "google/google_service_root.hpp"), | |
| ("third_party/gbmcweb/include/hostname_monitor.h", "hostname_monitor.hpp"), | |
| ("third_party/gbmcweb/include/http_utility.h", "http_utility.hpp"), | |
| ("third_party/gbmcweb/include/human_sort.h", "human_sort.hpp"), | |
| ("third_party/gbmcweb/include/image_upload.h", "image_upload.hpp"), | |
| ("third_party/gbmcweb/include/json_html_serializer.h", "json_html_serializer.hpp"), | |
| ("third_party/gbmcweb/include/managed_store_http.h", "managed_store_http.hpp"), | |
| ("third_party/gbmcweb/include/multipart_parser.h", "multipart_parser.hpp"), | |
| ("third_party/gbmcweb/include/openbmc_dbus_rest.h", "openbmc_dbus_rest.hpp"), | |
| ("third_party/gbmcweb/include/pam_authenticate.h", "pam_authenticate.hpp"), | |
| ("third_party/gbmcweb/include/persistent_data.h", "persistent_data.hpp"), | |
| ("third_party/gbmcweb/include/random.h", "random.hpp"), | |
| ("third_party/gbmcweb/include/request_stats.h", "request_stats.hpp"), | |
| ("third_party/gbmcweb/include/request_stats_store_http.h", "request_stats_store_http.hpp"), | |
| ("third_party/gbmcweb/include/security_headers.h", "security_headers.hpp"), | |
| ("third_party/gbmcweb/include/sessions.h", "sessions.hpp"), | |
| ("third_party/gbmcweb/include/source_location.h", "source_location.hpp"), | |
| ("third_party/gbmcweb/include/ssl_key_handler.h", "ssl_key_handler.hpp"), | |
| ("third_party/gbmcweb/include/str_utility.h", "str_utility.hpp"), | |
| ("third_party/gbmcweb/include/user_monitor.h", "user_monitor.hpp"), | |
| ("third_party/gbmcweb/include/webassets.h", "webassets.hpp"), | |
| ("third_party/gbmcweb/include/webroutes.h", "webroutes.hpp"), | |
| ("third_party/gbmcweb/include/webserver_main_setup.h", "webserver_main_setup.hpp"), | |
| ("third_party/gbmcweb/plugins/interface.h", "interface.hpp"), | |
| ("third_party/gbmcweb/plugins/macros.h", "macros.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/aggregation_utils.h", "aggregation_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/error_messages.h", "error_messages.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/gzfile.h", "gzfile.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/privileges.h", "privileges.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/query.h", "query.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/redfish.h", "redfish.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/redfish_aggregator.h", "redfish_aggregator.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/registries.h", "registries.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/registries/base_message_registry.h", "registries/base_message_registry.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/registries/openbmc_message_registry.h", "registries/openbmc_message_registry.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/registries/privilege_registry.h", "registries/privilege_registry.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/registries/task_event_message_registry.h", "registries/task_event_message_registry.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/schemas.h", "schemas.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/task_messages.h", "task_messages.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/boottime.h", "boottime.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/chassis_utils.h", "chassis_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/collection.h", "collection.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/dbus_utils.h", "dbus_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/fan_utils.h", "fan_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/hex_utils.h", "hex_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/ip_utils.h", "ip_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/json_utils.h", "json_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/location_utils.h", "location_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/nvme_metric_utils.h", "nvme_metric_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/stl_utils.h", "stl_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/storage_utils.h", "storage_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/subprocess_utils.h", "subprocess_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/subprocess_utils_fake.h", "subprocess_utils_fake.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/sw_utils.h", "sw_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/system_utils.h", "system_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/systemd_utils.h", "systemd_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/telemetry_utils.h", "telemetry_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/include/utils/time_utils.h", "time_utils.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/aggregation_service.h", "aggregation_service.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/assembly.h", "assembly.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/bios.h", "bios.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/cable.h", "cable.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/certificate_service.h", "certificate_service.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/chassis.h", "chassis.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/component_integrity.h", "component_integrity.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/control.h", "control.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/environment_metrics.h", "environment_metrics.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/ethernet.h", "ethernet.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/external_storer.h", "external_storer.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/fabric_adapters.h", "fabric_adapters.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/fan.h", "fan.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/health.h", "health.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/led.h", "led.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/log_services.h", "log_services.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/manager_diagnostic_data.h", "manager_diagnostic_data.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/managers.h", "managers.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/memory.h", "memory.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/metric_report.h", "metric_report.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/metric_report_definition.h", "metric_report_definition.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/network_adapter.h", "network_adapter.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/network_protocol.h", "network_protocol.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/nvme_features.h", "redfish-core/lib/nvme_features.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/other_software_service.h", "other_software_service.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/pcie.h", "pcie.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/pcie_slots.h", "pcie_slots.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/port_metrics.h", "port_metrics.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/ports.h", "ports.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/power.h", "power.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/power_subsystem.h", "power_subsystem.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/power_supply.h", "power_supply.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/power_supply_metrics.h", "power_supply_metrics.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/processor.h", "processor.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/redfish_util.h", "redfish_util.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/redfish_v1.h", "redfish_v1.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/sensors.h", "sensors.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/service_root.h", "service_root.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/storage.h", "storage.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/systems.h", "systems.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/task.h", "task.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/telemetry_service.h", "telemetry_service.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/thermal.h", "thermal.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/thermal_subsystem.h", "thermal_subsystem.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/trusted_component.h", "trusted_component.hpp"), | |
| ("third_party/gbmcweb/redfish_core/lib/update_service.h", "update_service.hpp"), | |
| ("third_party/gbmcweb/test/redfish_core/lib/snapshot_fixture.h", "test/redfish-core/lib/snapshot_fixture.hpp"), | |
| ("third_party/milotic/internal/cc/bmcweb/app_interface.h", "app_interface.h"), | |
| ("third_party/milotic/internal/cc/bmcweb/managed_store.h", "managed_store.hpp"), | |
| ("third_party/milotic/internal/cc/bmcweb/managed_store_clock.h", "managed_store_clock.hpp"), | |
| ("third_party/milotic/internal/cc/bmcweb/managed_store_types.h", "managed_store_types.hpp"), | |
| ("third_party/milotic/internal/cc/bmcweb/mock_managed_store.h", "test/g3/mock_managed_store.hpp"), | |
| ("third_party/milotic/internal/cc/bmcweb/mock_managed_store_test.h", "test/g3/mock_managed_store_test.hpp"), | |
| ("third_party/milotic/internal/cc/bmcweb/server.h", "server.h"), | |
| ("third_party/milotic/internal/cc/bmcweb/smart_router.h", "smart_router.h"), | |
| ("subscription_backend_impl.hpp", "subscription_backend_impl.hpp"), | |
| # go/keep-sorted end | |
| ] | |
| # copy.bara.sky is g3 origin file only for piper to gob workflow | |
| # copy.bara.sky is excluded from g3 destination file in reverse workflow to avoid any edit from gob | |
| _google3_files_for_origin = glob( | |
| include = [ | |
| "google3/third_party/gbmcweb/copy.bara.sky", | |
| ] + _all_gbmcweb_google3_files + _milotic_google3_files, | |
| exclude = _excluded_meta_files, | |
| ) | |
| _google3_files_for_destination = glob( | |
| include = _all_gbmcweb_google3_files + _milotic_google3_files, | |
| exclude = _excluded_meta_files, | |
| ) | |
| _git_files_for_destination = glob( | |
| include = [ | |
| "copy.bara.sky", | |
| ] + _git_files + _all_gbmcweb_gob_files, | |
| exclude = [".gitignore"], | |
| ) | |
| _git_files_for_origin = glob( | |
| include = _git_files + _reverse_tlbmc_gob_files, | |
| exclude = [".gitignore"], | |
| ) | |
| _allowed_authors = { | |
| "haoooamazing": "Hao Zhou <haoooamazing@google.com>", | |
| "nanzhou": "Nan Zhou <nanzhou@google.com>", | |
| } | |
| ######################## | |
| # Transformations | |
| ######################## | |
| _transformations = [ | |
| ############################### | |
| # common scrubs | |
| ############################### | |
| cc_scrub( | |
| strip_tag = "gbmcweb:g3-only-codes\\(([^()]*)\\)", | |
| strip_begin_tag = "g3-only-codes-start", | |
| strip_end_tag = "g3-only-codes-end", | |
| ), | |
| cc_scrub( | |
| strip_tag = "ecclesia:google3-only\\(([^()]*)\\)", | |
| strip_begin_tag = "ecclesia:google3-(replace-)?begin\\(([^()]*)\\)", | |
| strip_end_tag = "ecclesia:google3-end", | |
| strip_end_and_replace_tag = "ecclesia:oss-replace-with", | |
| ), | |
| proto_scrub(strip_begin_tag = "g3-only-codes-start", strip_end_tag = "g3-only-codes-end"), | |
| proto_scrub(), | |
| doc_scrub(), | |
| ############################### | |
| # common headers | |
| ############################### | |
| core.replace( | |
| # tranformation for all boost header | |
| before = "third_party/boost/do_not_include_from_google3_only_third_party/boost/boost", | |
| after = "boost", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"third_party/json/include/nlohmann/json.hpp\"", | |
| after = "#include <nlohmann/json.hpp>", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"third_party/json/include/nlohmann/json_fwd.hpp\"", | |
| after = "#include <nlohmann/json_fwd.hpp>", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| # tranformation for all absl header | |
| before = "#include \"third_party/absl", | |
| after = "#include \"absl", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"util/regexp/re2/re2.h\"", | |
| after = "#include \"re2/re2.h\"", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| # transformation for all sdbusplus header | |
| before = "#include \"third_party/openbmc_sdbusplus/include/sdbusplus", | |
| after = "#include \"sdbusplus", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| # transformation for all grpc header | |
| before = "#include \"third_party/grpc/include/grpcpp", | |
| after = "#include \"grpcpp", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| # transformation for all boottime_api header | |
| before = "#include \"third_party/gbmc_boottime_api", | |
| after = "#include \"boottime_api", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"testing/base/public/gunit.h\"", | |
| after = "#include <gtest/gtest.h>", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"testing/base/public/gmock.h\"", | |
| after = "#include <gmock/gmock.h>", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"platforms/gbmc/g3_shared_libs/subprojects/gbmc_settings/gbmc_settings.h", | |
| after = "#include \"gbmc_settings/gbmc_settings.h", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.transform( | |
| [ | |
| core.replace( | |
| before = "#include \"platforms/gbmc/hal/", | |
| after = "#include \"gbmc-hal/", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| ], | |
| noop_behavior = "IGNORE_NOOP", | |
| ), | |
| core.replace( | |
| before = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_trie.h\"", | |
| after = "#include \"redfish_to_uhm_trie.hpp\"", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_trie_node.h\"", | |
| after = "#include \"redfish_to_uhm_trie_node.hpp\"", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_mapping_value.h\"", | |
| after = "#include \"redfish_to_uhm_mapping_value.hpp\"", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"third_party/gbmcweb/devpath_plugin/redfish_devpath_injector.h\"", | |
| after = "#include \"redfish_devpath_injector.hpp\"", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"third_party/gbmcweb/devpath_plugin/redfish_devpath_injector_interface.h\"", | |
| after = "#include \"redfish_devpath_injector_interface.hpp\"", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_mapping.pb.h\"", | |
| after = "#include \"redfish_to_uhm_mapping.pb.h\"", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"third_party/protobuf/${path}\"", | |
| after = "#include \"google/protobuf/${path}\"", | |
| paths = glob(_g3_cc_files), | |
| regex_groups = { | |
| "path": ".*", | |
| }, | |
| ), | |
| core.replace( | |
| before = "proto2::", | |
| after = "google::protobuf::", | |
| paths = glob(_g3_cc_files), | |
| ), | |
| ############################### | |
| # Internal headers | |
| ############################### | |
| core.transform( | |
| [ | |
| core.replace( | |
| before = "#include \"" + g3_header + "\"", | |
| after = "#include \"" + gob_header + "\"", | |
| paths = glob(_g3_cc_files), | |
| ) | |
| for g3_header, gob_header in _INTERNAL_HEADERS | |
| ] + [ | |
| core.replace( | |
| # For CRYPTO_memcmp only | |
| before = "<openssl/mem.h>", | |
| after = "<openssl/crypto.h>", | |
| paths = glob( | |
| include = [ | |
| "google3/third_party/gbmcweb/http/utility.cc", | |
| ], | |
| ), | |
| ), | |
| core.replace( | |
| before = """#include "third_party/openssl/boringssl/src/include/openssl/base.h" | |
| #include "third_party/openssl/boringssl/src/include/openssl/digest.h" | |
| """, | |
| after = "#include <openssl/evp.h>", | |
| paths = glob( | |
| include = [ | |
| "google3/third_party/gbmcweb/include/google/google_service_root.h", | |
| ], | |
| ), | |
| multiline = True, | |
| ), | |
| core.replace( | |
| # all generated enum headers in redfish-core/include/generated/enums/* | |
| before = "third_party/gbmcweb/redfish_core/include/generated/enums/${file}.h", | |
| after = "generated/enums/${file}.hpp", | |
| paths = glob(_g3_cc_files), | |
| regex_groups = { | |
| "file": ".*", | |
| }, | |
| ), | |
| core.replace( | |
| # replace for third_party/gbmcweb/scripts/update_schemas.py | |
| before = "from google3.third_party.gbmcweb.scripts.generate_schema_collections import generate_top_collections", | |
| after = "from generate_schema_collections import generate_top_collections", | |
| paths = glob(["google3/third_party/gbmcweb/scripts/update_schemas.py"]), | |
| ), | |
| core.replace( | |
| # replace for third_party/gbmcweb/scripts/update_schemas.py | |
| before = "import google3.third_party.gbmcweb.scripts.generate_schema_enums as generate_schema_enums", | |
| after = "import generate_schema_enums", | |
| paths = glob(["google3/third_party/gbmcweb/scripts/update_schemas.py"]), | |
| ), | |
| ], | |
| noop_behavior = "IGNORE_NOOP", | |
| ), | |
| ############################### | |
| # move | |
| ############################### | |
| # Operations are in sequence. | |
| ] + [ | |
| core.move( | |
| before = "google3/third_party/gbmcweb/" + g3_file, | |
| after = git_file, | |
| ) | |
| for g3_file, git_file in _FILE_MAPPINGS | |
| if g3_file != "redfish_core/include/generated/enums/**" | |
| ] + [ | |
| core.transform( | |
| transformations = [ | |
| core.move( | |
| before = "google3/third_party/gbmcweb/redfish_core/include/generated/enums/${file}.h", | |
| after = "redfish-core/include/generated/enums/${file}.hpp", | |
| regex_groups = {"file": ".*"}, | |
| ), | |
| ], | |
| reversal = [ | |
| core.move( | |
| before = "redfish-core/include/generated/enums/${file}.hpp", | |
| after = "google3/third_party/gbmcweb/redfish_core/include/generated/enums/${file}.h", | |
| regex_groups = {"file": ".*"}, | |
| ), | |
| ], | |
| ), | |
| ] + [ | |
| ######################## | |
| # Unidirectional files from G3 -> GoB | |
| ######################## | |
| core.move( | |
| before = "google3/third_party/gbmcweb/copy.bara.sky", | |
| after = "copy.bara.sky", | |
| ), | |
| ######################## | |
| # Check for leaks after last transform | |
| ######################## | |
| core.replace( | |
| before = "subscription_backend_impl.hpp", | |
| after = "subscription_backend_impl.hpp", | |
| ), | |
| core.replace( | |
| before = "subscription_backend_impl.cpp", | |
| after = "subscription_backend_impl.cpp", | |
| ), | |
| core.replace( | |
| before = '#include "third_party/milotic/internal/cc/authz/private_pattern_to_entity_array.h"', | |
| after = "#include <redfish_authorization/private_pattern_to_entity_array.h>", | |
| paths = glob(_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"third_party/milotic/internal/cc/bmcweb/fake_error_messages.h\"", | |
| after = "#include \"redfish-core/include/error_messages.hpp\"", | |
| paths = glob(include = _cc_files), | |
| ), | |
| ] + _replace_all_cc(dict({ | |
| ############################### | |
| # third_party/openssl headers | |
| ############################### | |
| "third_party/openssl/base.h": "zatar/g3_misc.h", | |
| "third_party/openssl": "openssl", | |
| ############################### | |
| # common headers | |
| ############################### | |
| "third_party/ecclesia/lib/redfish/transport/grpc_tls_options.h": "tlbmc/grpc_tls_options.h", | |
| "third_party/ecclesia/lib/redfish/transport/": "zatar/", | |
| ############################### | |
| # others | |
| ############################### | |
| "third_party/milotic/internal/cc/redfish/": "zatar/", | |
| "third_party/grpc/include/": "", | |
| "logs/proto/security/prodid/core/machine_identity.proto.h": "gmi/machine_identity.pb.h", | |
| "third_party/milotic/external/cc/authz/proto/oauth.proto.h": "oauth.pb.h", | |
| "third_party/milotic/external/cc/authz/proto/oauth.grpc.pb.h": "oauth.grpc.pb.h", | |
| "third_party/milotic/external/cc/authz/proto/authorized_entity.proto.h": "authorized_entity.pb.h", | |
| "third_party/milotic/external/cc/authz/": "", | |
| "third_party/milotic/internal/cc/bmcweb/": "", | |
| "third_party/milotic/internal/cc/authz/": "", | |
| "\"third_party/json/src/json.hpp\"": "<nlohmann/json.hpp>", | |
| "google/protobuf/duration.proto.h": "google/protobuf/duration.pb.h", | |
| "google/protobuf/timestamp.proto.h": "google/protobuf/timestamp.pb.h", | |
| "google/protobuf/any.proto.h": "google/protobuf/any.pb.h", | |
| "third_party/ecclesia/lib/redfish/proto/redfish_v1.proto.h": "redfish_v1.pb.h", | |
| "third_party/ecclesia/lib/redfish/proto/redfish_v1.grpc.pb.h": "redfish_v1.grpc.pb.h", | |
| "third_party/ecclesia/lib/redfish/proto/": "", | |
| "platforms/uhm/node_entities/proto/offline_node_entities.proto.h": "one/offline_node_entities.pb.h", | |
| "platforms/uhm/node_entities/proto/resolved_entities.proto.h": "one/resolved_entities.pb.h", | |
| "platforms/uhm/node_entities/proto/network_interfaces.proto.h": "one/network_interfaces.pb.h", | |
| "net/model/unm/proto/node_entities_api.proto.h": "one/node_entities_api.pb.h", | |
| "third_party/jwt-cpp/jwt.h": "jwt-cpp/jwt.h", | |
| "third_party/jwt-cpp/traits/nlohmann-json/defaults.h": "jwt-cpp/traits/nlohmann-json/defaults.h", | |
| "production/msv/node_entities/public/offline_node_entities.h": "one/public_offline_node_entities.h", | |
| "third_party/milotic/internal/build/grpc/grpc_headers.h": "g3/grpc_headers.h", | |
| "third_party/libusb/libusb1/libusb.h": "libusb-1.0/libusb.h", | |
| "#include \"third_party/re2/re2.h\"": "#include \"re2/re2.h\"", | |
| "#include \"third_party/liburing/src/include/liburing.h\"": "#include \"liburing.h\"", | |
| "#include \"third_party/milotic/external/cc/fast_sanity/service/": "#include \"tlbmc/service/", | |
| "#include \"third_party/milotic/external/cc/fast_sanity/definitions/": "#include \"", | |
| "#include \"third_party/milotic/external/cc/tlbmc/": "#include \"tlbmc/", | |
| "#include \"third_party/milotic/external/cc/hft/": "#include \"tlbmc/", | |
| "#include \"third_party/milotic/external/cc/true_hitless/": "#include \"tlbmc/true_hitless/", | |
| ################################### | |
| # specific to absil::MutexLock | |
| ################################## | |
| # TODO: b/493631986 - Remove this once cl/885169818 is updated and ecclesia update the MutexLock usage | |
| "absl::MutexLock lock(&": "absl::MutexLock lock(", | |
| ################################### | |
| # specific to bloom_install | |
| ################################## | |
| "#include \"third_party/milotic/external/cc/bloom_install/": "#include \"install/", | |
| ########################### | |
| # specific to _cert_gen_lib | |
| ########################### | |
| "third_party/milotic/internal/cc/authn/": "zatar/", | |
| ########################### | |
| # specific to _tlbmc_lib | |
| ########################### | |
| "tlbmc/trace/trace.proto.h": "trace.pb.h", | |
| "tlbmc/configs/ad_hoc_fru_config.proto.h": "ad_hoc_fru_config.pb.h", | |
| "tlbmc/configs/entity_common_config.proto.h": "entity_common_config.pb.h", | |
| "tlbmc/configs/hal_common_config.proto.h": "hal_common_config.pb.h", | |
| "tlbmc/configs/gpio_config.proto.h": "gpio_config.pb.h", | |
| "tlbmc/configs/gpio_fru_config.proto.h": "gpio_fru_config.pb.h", | |
| "tlbmc/configs/usb_fru_config.proto.h": "usb_fru_config.pb.h", | |
| "tlbmc/configs/gpio_sensor_config.proto.h": "gpio_sensor_config.pb.h", | |
| "tlbmc/configs/thermal_config.proto.h": "thermal_config.pb.h", | |
| "tlbmc/configs/thermal_controller_specification.proto.h": "thermal_controller_specification.pb.h", | |
| "tlbmc/configs/throttling_config.proto.h": "throttling_config.pb.h", | |
| "tlbmc/configs/led_config.proto.h": "led_config.pb.h", | |
| "tlbmc/configs/topology_config.proto.h": "topology_config.pb.h", | |
| "tlbmc/redfish/data/stable_id.proto.h": "stable_id.pb.h", | |
| "tlbmc/types/payload.proto.h": "payload.pb.h", | |
| "tlbmc/types/sensor_payload.proto.h": "sensor_payload.pb.h", | |
| "tlbmc/types/subscription_params.proto.h": "subscription_params.pb.h", | |
| "tlbmc/service/hft_service.grpc.pb.h": "hft_service.grpc.pb.h", | |
| "tlbmc/types/edge_filtering.proto.h": "edge_filtering.pb.h", | |
| "tlbmc/types/fru_identifier.proto.h": "fru_identifier.pb.h", | |
| "tlbmc/types/fru_payload.proto.h": "fru_payload.pb.h", | |
| "tlbmc/types/sensor_identifier.proto.h": "sensor_identifier.pb.h", | |
| "tlbmc/types/identifier.proto.h": "identifier.pb.h", | |
| "tlbmc/resource/resource.proto.h": "resource.pb.h", | |
| "tlbmc/resource/status.proto.h": "status.pb.h", | |
| "fru_service.proto.h": "fru_service.pb.h", | |
| "fru_component_model.proto.h": "fru_component_model.pb.h", | |
| "tlbmc/service/hft_capabilities.proto.h": "hft_capabilities.pb.h", | |
| "tlbmc/service/hft_service.proto.h": "hft_service.pb.h", | |
| "tlbmc/central_config/central_config.proto.h": "central_config.pb.h", | |
| "tlbmc/resource/sensor.proto.h": "sensor.pb.h", | |
| "tlbmc/resource/software_metrics.proto.h": "software_metrics.pb.h", | |
| "tlbmc/configs/adc_sensor_config.proto.h": "adc_sensor_config.pb.h", | |
| "tlbmc/configs/bulk_device_config.proto.h": "bulk_device_config.pb.h", | |
| "tlbmc/configs/hwmon_temp_sensor_config.proto.h": "hwmon_temp_sensor_config.pb.h", | |
| "tlbmc/configs/fan_pwm_config.proto.h": "fan_pwm_config.pb.h", | |
| "tlbmc/configs/shared_mem_sensor_config.proto.h": "shared_mem_sensor_config.pb.h", | |
| "tlbmc/configs/fan_tach_config.proto.h": "fan_tach_config.pb.h", | |
| "tlbmc/configs/fan_controller_config.proto.h": "fan_controller_config.pb.h", | |
| "tlbmc/resource/fru.proto.h": "fru.pb.h", | |
| "tlbmc/resource/memory.proto.h": "memory.pb.h", | |
| "tlbmc/resource/processor.proto.h": "processor.pb.h", | |
| "tlbmc/resource/power_fault_log_entry.proto.h": "power_fault_log_entry.pb.h", | |
| "tlbmc/configs/reading_range_config.proto.h": "reading_range_config.pb.h", | |
| "tlbmc/configs/reading_transform_config.proto.h": "reading_transform_config.pb.h", | |
| "tlbmc/configs/threshold_config.proto.h": "threshold_config.pb.h", | |
| "tlbmc/configs/power_control.proto.h": "power_control.pb.h", | |
| "tlbmc/configs/power_fault_detector_config.proto.h": "power_fault_detector_config.pb.h", | |
| "tlbmc/configs/power_fault_log_config.proto.h": "power_fault_log_config.pb.h", | |
| "tlbmc/configs/psu_sensor_config.proto.h": "psu_sensor_config.pb.h", | |
| "tlbmc/configs/intel_cpu_sensor_config.proto.h": "intel_cpu_sensor_config.pb.h", | |
| "tlbmc/configs/redfish_aggregated_sensor_config.proto.h": "redfish_aggregated_sensor_config.pb.h", | |
| "tlbmc/configs/redfish_aggregated_batch_config.proto.h": "redfish_aggregated_batch_config.pb.h", | |
| "tlbmc/configs/sensor_instance_properties.proto.h": "sensor_instance_properties.pb.h", | |
| "tlbmc/configs/nic_telemetry_config.proto.h": "nic_telemetry_config.pb.h", | |
| "tlbmc/hal/nic_veeprom/veeprom.proto.h": "veeprom.pb.h", | |
| "tlbmc/configs/sel_config.proto.h": "sel_config.pb.h", | |
| "tlbmc/configs/software_metrics_config.proto.h": "software_metrics_config.pb.h", | |
| "tlbmc/configs/virtual_sensor_config.proto.h": "virtual_sensor_config.pb.h", | |
| "tlbmc/deterministic_bmc/uhmm/fru_i2c.proto.h": "fru_i2c.pb.h", | |
| "#include \"platforms/uhm/query/proto/bus_topology.proto.h\"": "#include \"bus_topology.pb.h\"", | |
| "#include \"platforms/uhm/query/proto/offline_data.proto.h\"": "#include \"offline_data.pb.h\"", | |
| "#include \"platforms/syshealth/collection/feed/forward/client/lib/anycast_user.h\"": "#include \"tlbmc/anycast_user.h\"", | |
| "#include \"platforms/gbmc/g3_shared_libs/subprojects/owner_certificate/owner_verification_cert_configuration.proto.h\"": "#include \"owner_certificate/owner_verification_cert_configuration.pb.h\"", | |
| "#include \"platforms/gbmc/g3_shared_libs/subprojects/gbmc_settings/bios_settings.proto.h\"": "#include \"gbmc_settings/bios_settings.pb.h\"", | |
| "#include \"platforms/gbmc/g3_shared_libs/subprojects/gbmc_settings/gbmc_settings.proto.h\"": "#include \"gbmc_settings/gbmc_settings.pb.h\"", | |
| "third_party/ecclesia/lib/": "", | |
| "third_party/openbmc_libpeci/peci.h": "peci.h", | |
| "third_party/openbmc_libpeci/linux/peci-ioctl.h": "hal/peci/linux/peci-ioctl.h", | |
| "#include \"tlbmc/true_hitless/true_hitless_metrics.proto.h\"": "#include \"tlbmc/true_hitless_metrics.pb.h\"", | |
| "platforms/gbmc/hal/": "gbmc-hal/", | |
| "third_party/gbmc_sel_framework/": "", | |
| "tlbmc/configs/pcie_config.proto.h": "pcie_config.pb.h", | |
| })) + _replace_all_protos( | |
| dict( | |
| { | |
| "import \"third_party/milotic/external/cc/tlbmc/resource/": "import \"", | |
| "import \"third_party/milotic/external/cc/tlbmc/hal/nic_veeprom/": "import \"", | |
| "import \"third_party/milotic/external/cc/tlbmc/configs/": "import \"", | |
| "import \"third_party/milotic/external/cc/tlbmc/redfish/data/": "import \"", | |
| "import \"third_party/milotic/external/cc/fast_sanity/definitions/": "import \"", | |
| "import \"third_party/milotic/external/cc/hft/types/": "import \"", | |
| "import \"third_party/milotic/external/cc/hft/service/": "import \"", | |
| "import \"third_party/milotic/external/cc/hft/aggregation/": "import \"", | |
| }, | |
| ), | |
| ) + [ | |
| core.move(before = g3_file, after = git_file) | |
| for g3_file, git_file in _milotic_file_mappings | |
| ] + [ | |
| leakr.check(), | |
| ] | |
| ################################################################################################### | |
| # Reverse transformations for gbmcweb gob to g3 | |
| ################################################################################################### | |
| _reverse_transformations = [ | |
| metadata.save_author(), | |
| original_author_to_googler, | |
| ############################### | |
| # common headers | |
| ############################### | |
| # Operations are in sequence. | |
| core.replace( | |
| before = "#include \"boost", | |
| after = "#include \"third_party/boost/do_not_include_from_google3_only_third_party/boost/boost", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include <nlohmann/json.hpp>", | |
| after = "#include \"third_party/json/include/nlohmann/json.hpp\"", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include <nlohmann/json_fwd.hpp>", | |
| after = "#include \"third_party/json/include/nlohmann/json_fwd.hpp\"", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| # tranformation for all absl header | |
| before = "#include \"absl", | |
| after = "#include \"third_party/absl", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"re2/re2.h\"", | |
| after = "#include \"third_party/re2/re2.h\"", | |
| paths = glob(["tlbmc/**"]), | |
| ), | |
| core.replace( | |
| before = "#include \"re2/re2.h\"", | |
| after = "#include \"util/regexp/re2/re2.h\"", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| # transformation for all sdbusplus header | |
| before = "#include \"sdbusplus", | |
| after = "#include \"third_party/openbmc_sdbusplus/include/sdbusplus", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| # transformation for all grpc header | |
| before = "#include \"grpcpp", | |
| after = "#include \"third_party/grpc/include/grpcpp", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| # transformation for all boottime_api header | |
| before = "#include \"boottime_api", | |
| after = "#include \"third_party/gbmc_boottime_api", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include <gtest/gtest.h>", | |
| after = "#include \"testing/base/public/gunit.h\"", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include <gmock/gmock.h>", | |
| after = "#include \"testing/base/public/gmock.h\"", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"gbmc_settings/gbmc_settings.h", | |
| after = "#include \"platforms/gbmc/g3_shared_libs/subprojects/gbmc_settings/gbmc_settings.h", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"gbmc-hal/", | |
| after = "#include \"platforms/gbmc/hal/", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"redfish_to_uhm_trie.hpp\"", | |
| after = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_trie.h\"", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"redfish_to_uhm_trie_node.hpp\"", | |
| after = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_trie_node.h\"", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"redfish_to_uhm_mapping_value.hpp\"", | |
| after = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_mapping_value.h\"", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"redfish_devpath_injector.hpp\"", | |
| after = "#include \"third_party/gbmcweb/devpath_plugin/redfish_devpath_injector.h\"", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"redfish_devpath_injector_interface.hpp\"", | |
| after = "#include \"third_party/gbmcweb/devpath_plugin/redfish_devpath_injector_interface.h\"", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"redfish_to_uhm_mapping.pb.h\"", | |
| after = "#include \"third_party/gbmcweb/devpath_plugin/redfish_to_uhm_mapping.pb.h\"", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| before = "#include \"google/protobuf/${path}\"", | |
| after = "#include \"third_party/protobuf/${path}\"", | |
| paths = glob(_gob_cc_files), | |
| regex_groups = { | |
| "path": ".*", | |
| }, | |
| ), | |
| core.replace( | |
| before = "#include \"third_party/protobuf/${name}.pb.h\"", | |
| after = "#include \"google/protobuf/${name}.proto.h\"", | |
| paths = glob(_gob_cc_files), | |
| regex_groups = { | |
| "name": "any|duration|timestamp", | |
| }, | |
| ), | |
| core.replace( | |
| before = "google::protobuf::", | |
| after = "proto2::", | |
| paths = glob(_gob_cc_files), | |
| ), | |
| core.replace( | |
| # Well-known types live in google::protobuf in google3; only the runtime is proto2. | |
| before = "proto2::${name}", | |
| after = "google::protobuf::${name}", | |
| paths = glob(_gob_cc_files), | |
| regex_groups = { | |
| "name": "Any|Duration|Timestamp", | |
| }, | |
| ), | |
| ############################### | |
| # Internal headers | |
| ############################### | |
| ] + [ | |
| core.replace( | |
| before = "#include \"" + gob_header + "\"", | |
| after = "#include \"" + g3_header + "\"", | |
| paths = glob(_gob_cc_files), | |
| ) | |
| for g3_header, gob_header in _INTERNAL_HEADERS | |
| ] + [ | |
| core.replace( | |
| # For CRYPTO_memcmp only | |
| before = "<openssl/crypto.h>", | |
| after = "<openssl/mem.h>", | |
| paths = glob( | |
| include = ["http/utility.cpp"], | |
| ), | |
| ), | |
| core.replace( | |
| # The `#include "openssl/` rule below adds the third_party/ prefix. | |
| before = "#include <openssl/evp.h>", | |
| after = """#include "openssl/boringssl/src/include/openssl/base.h" | |
| #include "openssl/boringssl/src/include/openssl/digest.h" | |
| """, | |
| paths = glob( | |
| include = ["include/google/google_service_root.hpp"], | |
| ), | |
| multiline = True, | |
| ), | |
| core.replace( | |
| # all generated enum headers in redfish-core/include/generated/enums/* | |
| before = "generated/enums/${file}.hpp", | |
| after = "third_party/gbmcweb/redfish_core/include/generated/enums/${file}.h", | |
| paths = glob(_gob_cc_files), | |
| regex_groups = { | |
| "file": ".*", | |
| }, | |
| ), | |
| core.replace( | |
| # replace for scripts/update_schemas.py | |
| before = "from generate_schema_collections import generate_top_collections", | |
| after = "from google3.third_party.gbmcweb.scripts.generate_schema_collections import generate_top_collections", | |
| paths = glob(["scripts/update_schemas.py"]), | |
| ), | |
| core.replace( | |
| # replace for scripts/update_schemas.py | |
| before = "import generate_schema_enums", | |
| after = "import google3.third_party.gbmcweb.scripts.generate_schema_enums as generate_schema_enums", | |
| paths = glob(["scripts/update_schemas.py"]), | |
| ), | |
| ############################### | |
| # move | |
| ############################### | |
| # Operations are in sequence. | |
| ] + [ | |
| core.move( | |
| before = git_file, | |
| after = "google3/third_party/gbmcweb/" + g3_file, | |
| ) | |
| for g3_file, git_file in _FILE_MAPPINGS | |
| if g3_file != "redfish_core/include/generated/enums/**" | |
| ] + [ | |
| core.transform( | |
| transformations = [ | |
| core.move( | |
| before = "redfish-core/include/generated/enums/${file}.hpp", | |
| after = "google3/third_party/gbmcweb/redfish_core/include/generated/enums/${file}.h", | |
| regex_groups = {"file": ".*"}, | |
| ), | |
| ], | |
| reversal = [ | |
| core.move( | |
| before = "google3/third_party/gbmcweb/redfish_core/include/generated/enums/${file}.h", | |
| after = "redfish-core/include/generated/enums/${file}.hpp", | |
| regex_groups = {"file": ".*"}, | |
| ), | |
| ], | |
| ), | |
| ] + _replace_all_cc(_authz_reverse_includes) + _replace_all_cc(dict({ | |
| # Common libraries | |
| "#include \"apifs/": "#include \"third_party/ecclesia/lib/apifs/", | |
| "gbmc-hal": "platforms/gbmc/hal", | |
| "#include \"io/": "#include \"third_party/ecclesia/lib/io/", | |
| "#include \"openssl/": "#include \"third_party/openssl/", | |
| "#include \"time/": "#include \"third_party/ecclesia/lib/time/", | |
| "#include \"thread/": "#include \"third_party/ecclesia/lib/thread/", | |
| "#include \"zatar/bmcweb_cert_provider.h\"": "#include \"third_party/milotic/internal/cc/redfish/bmcweb_cert_provider.h\"", | |
| "#include \"zatar/g3_misc.h\"": "#include \"third_party/openssl/base.h\"", | |
| "#include \"zatar/x509_certificate.h\"": "#include \"third_party/ecclesia/lib/redfish/transport/x509_certificate.h\"", | |
| "#include \"zatar/": "#include \"third_party/milotic/internal/cc/authn/", | |
| # Everything under tlbmc/ comes from third_party/milotic/external/cc/tlbmc/ except for these. | |
| # Only `#include "..."` lines are rewritten, matching the forward rules. | |
| "#include \"tlbmc/adapter/": "#include \"third_party/milotic/external/cc/hft/adapter/", | |
| "#include \"tlbmc/service/": "#include \"third_party/milotic/external/cc/fast_sanity/service/", | |
| "#include \"tlbmc/true_hitless/": "#include \"third_party/milotic/external/cc/true_hitless/", | |
| "#include \"tlbmc/true_hitless_metrics.pb.h\"": "#include \"third_party/milotic/external/cc/true_hitless/true_hitless_metrics.proto.h\"", | |
| "#include \"tlbmc/anycast_user.h\"": "#include \"platforms/syshealth/collection/feed/forward/client/lib/anycast_user.h\"", | |
| "#include \"tlbmc/grpc_tls_options.h\"": "#include \"third_party/ecclesia/lib/redfish/transport/grpc_tls_options.h\"", | |
| "#include \"tlbmc/": "#include \"third_party/milotic/external/cc/tlbmc/", | |
| # and a few headers in the base directory | |
| "gbmc_sel_defs.h": "third_party/gbmc_sel_framework/gbmc_sel_defs.h", | |
| "gbmc_sel_pub.h": "third_party/gbmc_sel_framework/gbmc_sel_pub.h", | |
| "gbmc_sel_sub.h": "third_party/gbmc_sel_framework/gbmc_sel_sub.h", | |
| # protobuf compiled headers (tlbmc ones are in _tlbmc_reverse_proto_headers) | |
| "one/offline_node_entities.pb.h": "platforms/uhm/node_entities/proto/offline_node_entities.proto.h", | |
| "one/resolved_entities.pb.h": "platforms/uhm/node_entities/proto/resolved_entities.proto.h", | |
| "one/network_interfaces.pb.h": "platforms/uhm/node_entities/proto/network_interfaces.proto.h", | |
| "one/node_entities_api.pb.h": "net/model/unm/proto/node_entities_api.proto.h", | |
| "redfish_v1.pb.h": "third_party/ecclesia/lib/redfish/proto/redfish_v1.proto.h", | |
| "bus_topology.pb.h": "platforms/uhm/query/proto/bus_topology.proto.h", | |
| "offline_data.pb.h": "platforms/uhm/query/proto/offline_data.proto.h", | |
| "owner_certificate/owner_verification_cert_configuration.pb.h": "platforms/gbmc/g3_shared_libs/subprojects/owner_certificate/owner_verification_cert_configuration.proto.h", | |
| "#include \"gbmc_settings/bios_settings.pb.h\"": "#include \"platforms/gbmc/g3_shared_libs/subprojects/gbmc_settings/bios_settings.proto.h\"", | |
| "#include \"gbmc_settings/gbmc_settings.pb.h\"": "#include \"platforms/gbmc/g3_shared_libs/subprojects/gbmc_settings/gbmc_settings.proto.h\"", | |
| # other various headers | |
| "g3/grpc_headers.h": "third_party/milotic/internal/build/grpc/grpc_headers.h", | |
| "#include \"hal/peci/linux/peci-ioctl.h\"": "#include \"third_party/openbmc_libpeci/linux/peci-ioctl.h\"", | |
| "#include \"liburing.h\"": "#include \"third_party/liburing/src/include/liburing.h\"", | |
| "#include \"libusb-1.0/libusb.h\"": "#include \"third_party/libusb/libusb1/libusb.h\"", | |
| "#include <redfish_authorization/private_pattern_to_entity_array.h>": "#include \"third_party/milotic/internal/cc/authz/private_pattern_to_entity_array.h\"", | |
| "#include \"redfish-core/include/error_messages.hpp\"": "#include \"third_party/milotic/internal/cc/bmcweb/fake_error_messages.h\"", | |
| "#include \"one/public_offline_node_entities.h\"": "#include \"production/msv/node_entities/public/offline_node_entities.h\"", | |
| "#include \"peci.h\"": "#include \"third_party/openbmc_libpeci/peci.h\"", | |
| "#include \"router_interface.h\"": "#include \"third_party/milotic/internal/cc/bmcweb/router_interface.h\"", | |
| })) + _replace_all_cc(_tlbmc_reverse_proto_headers) + _replace_all_protos(_tlbmc_reverse_proto_imports) + [ | |
| ] + [ | |
| core.move(before = git_file, after = g3_file) | |
| for g3_file, git_file in _reverse_tlbmc_mappings | |
| ] + [ | |
| leakr.check(), | |
| ] | |
| ######################## | |
| # Workflows | |
| ######################## | |
| piper_sot_to_gerrit( | |
| name_prefix = "gbmcweb", | |
| google3_files = _google3_files_for_origin, | |
| default_author = "gBMC Team <gbmc-core@google.com>", | |
| allowed_authors = _allowed_authors, | |
| contact_email = "gbmc-core+copybara@google.com", | |
| url = "rpc://gbmc/gbmcweb", | |
| branch = "master", | |
| transformations = _transformations, | |
| owner_mdb = "gbmc-git-approvers", | |
| ci_labels = ["Presubmit"], | |
| common_flags = { | |
| # "--ignore-noop": [], | |
| "--read-config-from-change": [], | |
| }, | |
| git_files = _git_files_for_destination, | |
| metadata_scrubber = metadata_scrubber, | |
| ) | |
| # Workflow for moving changes from gerrit to google3 | |
| core.workflow( | |
| name = "gbmcweb_gob_to_piper_reverse_workflow", | |
| origin = git.gerrit_origin( | |
| url = "rpc://gbmc/gbmcweb", | |
| branch = "master", | |
| import_wip_changes = False, | |
| ), | |
| origin_files = _git_files_for_origin, | |
| destination = piper.destination( | |
| mode = "AUTO_SUBMIT", | |
| reviewers = [ | |
| "haoooamazing@google.com", | |
| "nanzhou@google.com", | |
| ], | |
| cc = [ | |
| "haoooamazing@google.com", | |
| "${GOOGLER_ORIGINAL_AUTHOR}", | |
| ], | |
| ), | |
| destination_files = glob( | |
| include = _all_gbmcweb_google3_files + _reverse_tlbmc_google3_files, | |
| exclude = _excluded_meta_files, | |
| ), | |
| mode = "CHANGE_REQUEST", | |
| # Only write the files the GoB change touched; untouched files keep their google3 content | |
| # (scrubbed sections, spelling differences the transformations cannot restore). | |
| smart_prune = True, | |
| # cannot pass through since vendor will not have access to google3 | |
| authoring = authoring.pass_thru( | |
| default = "gBMC Team <gbmc-core@google.com>", | |
| ), | |
| # The import covers only gbmcweb and milotic/external/cc, so reverse rules that mirror | |
| # forward rules for other exported files, and rules derived per header, have nothing to | |
| # match in the checkout. Only the forward direction, which the presubmit runs, is strict. | |
| transformations = [core.transform(_reverse_transformations, noop_behavior = "IGNORE_NOOP")], | |
| ) | |
| # automate reverse workflow | |
| service.migration( | |
| migration_name = "gbmcweb_gob_to_piper_reverse_workflow", | |
| canonical_import_for = [ | |
| "google3/third_party/milotic/external/cc/fast_sanity/definitions", | |
| "google3/third_party/milotic/external/cc/fast_sanity/service", | |
| "google3/third_party/milotic/external/cc/hft/adapter", | |
| "google3/third_party/milotic/external/cc/hft/service", | |
| "google3/third_party/milotic/external/cc/hft/types", | |
| "google3/third_party/milotic/external/cc/tlbmc", | |
| "google3/third_party/milotic/external/cc/true_hitless", | |
| ], | |
| owner_mdb = "gbmc-git-approvers", | |
| contact_email = "gbmc-core+copybara@google.com", | |
| cns_mdb = "copybara-freebie", | |
| notifications = service.notifications( | |
| on_error = [service.email(address = "gbmc-core+copybara@google.com")], | |
| ), | |
| state = "ACTIVE", | |
| ) | |
| # feedback from critique to gerrit | |
| critique_findings_to_gerrit( | |
| name = "gbmcweb_piper_sot_findings_to_gerrit", | |
| description = "Post presubmit TAP findings from Critique to the original Gerrit review", | |
| categories = [ | |
| "Presubmit:Tests:CheckGbmcwebTap", | |
| "Presubmit:Tests:CheckMilotic", | |
| "Presubmit:Tests:CheckMiloticAsan", | |
| "Presubmit:Tests:CheckMiloticMsan", | |
| "Presubmit:Tests:CheckMiloticTsan", | |
| ], | |
| gob_url = "rpc://gbmc/gbmcweb", | |
| label = "Google-Verified", | |
| checker = leakr.check(), | |
| piper_files = _google3_files_for_destination, | |
| ) | |
| # automate feedback (critique -> gerrit) for reverse workflow (gob->piper) | |
| service.migration( | |
| migration_name = "gbmcweb_piper_sot_findings_to_gerrit", | |
| owner_mdb = "gbmc-git-approvers", | |
| contact_email = "gbmc-core+copybara@google.com", | |
| cns_mdb = "copybara-freebie", | |
| notifications = service.notifications( | |
| on_error = [service.email(address = "gbmc-core+copybara@google.com")], | |
| ), | |
| state = "ACTIVE", | |
| ) | |
| ######################################### | |
| # Copybara CLI workspace-to-local-folder workflow | |
| ######################################### | |
| # Exports files from the current CitC workspace to a local folder, | |
| # Used for: | |
| # - Staging tlbmc changes in g3 into a local folder for bitbake based builds. | |
| # To run from the google3 directory of your CitC client: | |
| # g4d YOUR_CITC_WORKSPACE | |
| # copybara third_party/gbmcweb/copy.bara.sky gbmcweb_workspace_to_local_folder .. \ | |
| # --folder-dir /path/to/local/gbmcweb --ignore-noop | |
| # | |
| core.workflow( | |
| name = "gbmcweb_workspace_to_local_folder", | |
| origin = folder.origin(), | |
| origin_files = _google3_files_for_origin, | |
| destination = folder.destination(), | |
| authoring = authoring.overwrite("Googler <noreply@google.com>"), | |
| transformations = _transformations, | |
| destination_files = _git_files_for_destination, | |
| ) |