diff options
author | 2015-11-19 12:22:55 +0000 | |
---|---|---|
committer | 2015-11-19 12:26:13 +0000 | |
commit | b2519e049e4561caf89c51806b54a80f6a19d2fc (patch) | |
tree | 03b2779b134b61524a0d01f71a869c213a5454b1 /src/test | |
parent | 5d1528a61f4736a1418e0df90988ec20ff91e1ad (diff) |
Retrieve Android native link flag features from the right toolchain.
Previously, the feature-based flags for links of native code for Android
were coming from the standard TARGET toolchain, which is wrong. This
went unnoticed because Bazel's CROSSTOOL (and mine until recently) don't
add any flags that way in either, which means getting the flags either
way results in none.
--
Change-Id: I74cd18ff56e3aea7ca61fabe62cb2246100ee59a
Reviewed-on: https://bazel-review.googlesource.com/#/c/2322
MOS_MIGRATED_REVID=108234274
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/util/GroupedListTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/util/GroupedListTest.java b/src/test/java/com/google/devtools/build/lib/util/GroupedListTest.java index f960a8e29d..13370fd9d3 100644 --- a/src/test/java/com/google/devtools/build/lib/util/GroupedListTest.java +++ b/src/test/java/com/google/devtools/build/lib/util/GroupedListTest.java @@ -125,7 +125,7 @@ public class GroupedListTest { assertFalse(groupedList.isEmpty()); Object compressed = groupedList.compress(); assertElementsEqual(compressed, allElts); - assertElementsEqualInGroups(GroupedList.create(compressed), elements); + assertElementsEqualInGroups(GroupedList.<String>create(compressed), elements); assertElementsEqualInGroups(groupedList, elements); } @@ -157,7 +157,7 @@ public class GroupedListTest { assertElementsEqual(compressed, allElts); // Get rid of empty list -- it was not stored in groupedList. elements.remove(1); - assertElementsEqualInGroups(GroupedList.create(compressed), elements); + assertElementsEqualInGroups(GroupedList.<String>create(compressed), elements); assertElementsEqualInGroups(groupedList, elements); } |