mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	preen
This commit is contained in:
		| @@ -318,7 +318,8 @@ async def api_connected_to_code(config, condition_id, template_arg, args): | |||||||
| def FILTER_SOURCE_FILES() -> list[str]: | def FILTER_SOURCE_FILES() -> list[str]: | ||||||
|     """Filter out api_pb2_dump.cpp when proto message dumping is not enabled.""" |     """Filter out api_pb2_dump.cpp when proto message dumping is not enabled.""" | ||||||
|     # api_pb2_dump.cpp is only needed when HAS_PROTO_MESSAGE_DUMP is defined |     # api_pb2_dump.cpp is only needed when HAS_PROTO_MESSAGE_DUMP is defined | ||||||
|     # Check if HAS_PROTO_MESSAGE_DUMP is defined |     # This is a particularly large file that still needs to be opened and read | ||||||
|  |     # all the way to the end even when ifdef'd out | ||||||
|     if "HAS_PROTO_MESSAGE_DUMP" not in CORE.defines: |     if "HAS_PROTO_MESSAGE_DUMP" not in CORE.defines: | ||||||
|         return ["api_pb2_dump.cpp"] |         return ["api_pb2_dump.cpp"] | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user