aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/android
diff options
context:
space:
mode:
authorGravatar Dmitry Lomov <dslomov@google.com>2016-06-21 12:04:34 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2016-06-21 12:24:19 +0000
commita148b4c25a7e343eac6a9a972f482711f8bef944 (patch)
treeda63f4fb5871d974096a2f37d432af393c2a45ba /src/main/java/com/google/devtools/build/lib/rules/android
parent83131623f73bde31ba51f4ceda7fa601a5b122c3 (diff)
Disable runfiles on Windows.
This adds a new configuration option that allows disabling the creation of symlink forest for runfiles. On Windows, symlink forest is disabled by default; only the runfiles manifest is created. For shell tests, a function 'rlocation' is provided that converts from runfiles location to a real location. Work towards #1212. -- MOS_MIGRATED_REVID=125439553
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/android')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/android/NativeLibs.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/NativeLibs.java b/src/main/java/com/google/devtools/build/lib/rules/android/NativeLibs.java
index 3790799542..fc736ae5e1 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/android/NativeLibs.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/android/NativeLibs.java
@@ -169,7 +169,8 @@ public final class NativeLibs {
outputManifest,
false,
ruleContext.getConfiguration().getShExecutable(),
- ruleContext.getConfiguration().getLocalShellEnvironment()));
+ ruleContext.getConfiguration().getLocalShellEnvironment(),
+ ruleContext.getConfiguration().runfilesEnabled()));
return outputManifest;
}