Mock static initialization order 10
cpp static order initialization is not guarantee. In order to avoid the mess, we need to have a lazy init schema. Replacing all usage of extern with the correct header ``` 's|extern std::map<std::string, int> mock_function_count_map;|#include "test/common/mock_functions.h"|' ``` Bug: 265217208 Test: atest --host Change-Id: I27ee2b57522734a97b9c7d1970b2ecda190b83e6
Loading
Please register or sign in to comment