This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load(":component_selection.bzl", "binary", "component", "library") | |
# Implementations. Since this is just a demonstration, empty filegroups will do. | |
filegroup(name = "impl_mock_foo") | |
filegroup(name = "impl_real_foo") | |
component( | |
name = "mock_foo", | |
description = "A: mock, preferred", | |
interface = "foo", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android_include_proguard_location_references | |
call_count_output_path | |
cc_proto_library_source_suffixes | |
debug_print_action_contexts | |
dynamic_worker_strategy | |
experimental_allow_top_level_aspects_parameters | |
experimental_analysis_test_call | |
experimental_android_local_test_binary_resources | |
experimental_async_execution | |
experimental_availability_info_exempt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android_include_proguard_location_references | |
call_count_output_path | |
cc_proto_library_source_suffixes | |
debug_print_action_contexts | |
dynamic_worker_strategy | |
experimental_allow_top_level_aspects_parameters | |
experimental_analysis_test_call | |
experimental_android_local_test_binary_resources | |
experimental_async_execution | |
experimental_availability_info_exempt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/java/com/google/devtools/build/lib/rules/Alias.java b/src/main/java/com/google/devtools/build/lib/rules/Alias.java | |
index a24c537..11abd0e 100644 | |
--- a/src/main/java/com/google/devtools/build/lib/rules/Alias.java | |
+++ b/src/main/java/com/google/devtools/build/lib/rules/Alias.java | |
@@ -38,6 +38,7 @@ public class Alias implements RuleConfiguredTargetFactory { | |
public ConfiguredTarget create(RuleContext ruleContext) throws InterruptedException { | |
ConfiguredTarget actual = (ConfiguredTarget) ruleContext.getPrerequisite("actual", Mode.TARGET); | |
return new AliasConfiguredTarget( | |
+ ruleContext.getConfiguration(), | |
actual, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/android/AndroidNdkRepositoryFunction.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/android/AndroidNdkRepositoryFunction.java | |
index ed8a3c7..625a244 100644 | |
--- a/src/main/java/com/google/devtools/build/lib/bazel/rules/android/AndroidNdkRepositoryFunction.java | |
+++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/android/AndroidNdkRepositoryFunction.java | |
@@ -77,6 +77,12 @@ public class AndroidNdkRepositoryFunction extends RepositoryFunction { | |
throws SkyFunctionException { | |
prepareLocalRepositorySymlinkTree(rule, outputDirectory); | |
PathFragment pathFragment = getTargetPath(rule); | |
+ FileValue resolvedNdkPath = (FileValue) env.getValue(FileValue.key( | |
+ RootedPath.toRootedPath(getWorkspace().getFileSystem().getRootDirectory(), pathFragment.toRelative()))); |