Do not add non-existing -Bprebuilts/gcc/.../bin

* Only prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/bin
  exists for x86_windows_host.
* Remove config.ToolPath;
  add required -B flags into ToolchainCflags and ToolchainLdflags.

Bug: 218883919
Test: make droid tidy-soong_subset
Change-Id: I9a18bf8cc0cf84e091c7463b3bda316eaab53aa3
This commit is contained in:
Chih-Hung Hsieh
2022-02-15 22:48:04 -08:00
parent ec76c2f072
commit 57da82697a
6 changed files with 18 additions and 25 deletions

View File

@@ -3943,7 +3943,6 @@ func TestIncludeDirectoryOrdering(t *testing.T) {
"${config.ArmGenericCflags}",
"-target",
"armv7a-linux-androideabi20",
"-B${config.ArmGccRoot}/arm-linux-androideabi/bin",
}
expectedIncludes := []string{