Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 664806a8 authored by Josh Gao's avatar Josh Gao Committed by Gerrit Code Review
Browse files

Merge "Add libwinpthread, link it into win32 binaries."

parents 9383f824 7bd4c5c3
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -245,6 +245,17 @@ toolchain_library {
    },
}

toolchain_library {
    name: "libwinpthread",
    host_supported: true,
    enabled: false,
    target: {
        windows: {
            enabled: true
        },
    },
}

toolchain_library {
    name: "libgcov",
    defaults: ["linux_bionic_supported"],
+4 −0
Original line number Diff line number Diff line
@@ -156,6 +156,10 @@ func (linker *baseLinker) linkerDeps(ctx BaseModuleContext, deps Deps) Deps {
		}
	}

	if ctx.Os() == android.Windows {
		deps.LateStaticLibs = append(deps.LateStaticLibs, "libwinpthread")
	}

	return deps
}