diff options
author | 2015-10-16 14:10:16 +0000 | |
---|---|---|
committer | 2015-10-16 15:16:18 +0000 | |
commit | 26ac1f51215edffa87f8c139cd2f56bd499dbff0 (patch) | |
tree | 6475f08983a7e8a7ec7d54642385efe2e2495bfd /src/test/java/com/google/devtools/build/lib/actions | |
parent | 5afe76c3cb20c542f51613c5db1a7840700d116d (diff) |
[]Rollback of commit 65425810207c9fd6892abfaa95da65e25db5e515.
*** Reason for rollback ***
Breaks [].
*** Original change description ***
Change the resource dependency handling to separate between the transitive and direct resources from libraries.
This slightly increases the complexity of resource propagation. The initial algorithm was to simply merge all transitive ResourceContainers together with any new ResourceContainer and propagate them via the AndroidResourcesProvider. The new algorithm is encapsulated inside a new ResourceDependencies class which works as follows:
1. Collect resources from the deps into transitive and...
***
--
MOS_MIGRATED_REVID=105598448
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/actions')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/actions/CustomCommandLineTest.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/actions/CustomCommandLineTest.java b/src/test/java/com/google/devtools/build/lib/actions/CustomCommandLineTest.java index a61790d645..d94780f2ff 100644 --- a/src/test/java/com/google/devtools/build/lib/actions/CustomCommandLineTest.java +++ b/src/test/java/com/google/devtools/build/lib/actions/CustomCommandLineTest.java @@ -69,13 +69,6 @@ public class CustomCommandLineTest { } @Test - public void testArtifactJoinStringArgs() { - CustomCommandLine cl = CustomCommandLine.builder().addJoinStrings("--path", ":", - ImmutableList.of("foo", "bar")).build(); - assertEquals(ImmutableList.of("--path", "foo:bar"), cl.arguments()); - } - - @Test public void testArtifactExecPathArgs() { CustomCommandLine cl = CustomCommandLine.builder().addExecPath("--path", artifact1).build(); assertEquals(ImmutableList.of("--path", "dir/file1.txt"), cl.arguments()); |