Fix compilation with shared_library components on Windows
An exported function of libdawn_native wasn't in libdawn_native_sources instead of libdawn_native which made it not exported on Windows. BUG=dawn:22 Change-Id: I824f1d4af18f8308b88e1650837cbe62374ace72 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12320 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
fb7508435f
commit
e180b591d1
|
@ -105,7 +105,7 @@ namespace dawn_native {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
std::vector<const char*> GetProcMapNamesForTesting() {
|
||||
std::vector<const char*> GetProcMapNamesForTestingInternal() {
|
||||
std::vector<const char*> result;
|
||||
result.reserve(sProcMapSize);
|
||||
for (const ProcEntry& entry : sProcMap) {
|
||||
|
|
|
@ -134,4 +134,10 @@ namespace dawn_native {
|
|||
return deviceBase->GetLazyClearCountForTesting();
|
||||
}
|
||||
|
||||
std::vector<const char*> GetProcMapNamesForTestingInternal();
|
||||
|
||||
std::vector<const char*> GetProcMapNamesForTesting() {
|
||||
return GetProcMapNamesForTestingInternal();
|
||||
}
|
||||
|
||||
} // namespace dawn_native
|
||||
|
|
Loading…
Reference in New Issue