diff options
author | Lukacs Berki <lberki@google.com> | 2015-10-05 12:30:56 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2015-10-05 15:16:43 +0000 |
commit | 3fbcc611533ba19f283afa3e01240456de9e788e (patch) | |
tree | 436809460e138df65e0840d61a8554e2650f307d /src/main/java/com/google/devtools/build/lib/rules/python/PythonConfigurationLoader.java | |
parent | ab141f8d1035eb30bbb9dc09d89ea6a3ba83cc0f (diff) |
Add a Constants.TOOLS_PREFIX constant that will serve to redirect the Bazel tools repository.
This is a no-op refactoring CL. The actual switch will be made once everything passes with the new setup.
As a side cleanup, change the awkward realAndroidSdk() / realAndroidCrosstoolTop() mechanism to a converter.
--
MOS_MIGRATED_REVID=104649067
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/python/PythonConfigurationLoader.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/python/PythonConfigurationLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/python/PythonConfigurationLoader.java b/src/main/java/com/google/devtools/build/lib/rules/python/PythonConfigurationLoader.java index 2599cb139d..917576d879 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/python/PythonConfigurationLoader.java +++ b/src/main/java/com/google/devtools/build/lib/rules/python/PythonConfigurationLoader.java @@ -67,7 +67,7 @@ public class PythonConfigurationLoader implements ConfigurationFragmentFactory { } CrosstoolConfig.CToolchain toolchain = getToolchain( - env, buildOptions, buildOptions.get(CppOptions.class).crosstoolTop); + env, buildOptions, buildOptions.get(CppOptions.class).crosstoolTop()); if (toolchain == null) { return null; } |