You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Transformation for build configurations based on a platform/flags mapping.
Introduces a new SkyValue which stores the information obtained from a mapping file (parser yet to be written) and provides logic to transform a build configuration (key) based on that.
Step 3/N towards the platforms mapping functionality for bazelbuild/bazel#6426
RELNOTES: None.
PiperOrigin-RevId: 238298127
Copy file name to clipboardexpand all lines: dataset/GitHub_Java/bazelbuild.bazel/src/main/java/com/google/devtools/build/lib/analysis/PlatformConfigurationLoader.java
Copy file name to clipboardexpand all lines: dataset/GitHub_Java/bazelbuild.bazel/src/main/java/com/google/devtools/build/lib/analysis/PlatformOptions.java
Copy file name to clipboardexpand all lines: dataset/GitHub_Java/bazelbuild.bazel/src/main/java/com/google/devtools/build/lib/analysis/config/BuildOptions.java
+8-11
Original file line number
Diff line number
Diff line change
@@ -332,8 +332,10 @@ public BuildOptions applyDiff(OptionsDiffForReconstruction optionsDiff) {
332
332
*
333
333
* @param parsingResult any options that are being modified
334
334
* @return the new options after applying the parsing result to the original options
335
+
* @throws OptionsParsingException if a value in the parsing result cannot in fact be parsed
Copy file name to clipboardexpand all lines: dataset/GitHub_Java/bazelbuild.bazel/src/main/java/com/google/devtools/build/lib/skyframe/PlatformMappingValue.java
Copy file name to clipboardexpand all lines: dataset/GitHub_Java/bazelbuild.bazel/src/main/java/com/google/devtools/build/lib/skyframe/SkyFunctions.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ public final class SkyFunctions {
Copy file name to clipboardexpand all lines: dataset/GitHub_Java/bazelbuild.bazel/src/test/java/com/google/devtools/build/lib/skyframe/PlatformMappingValueTest.java
0 commit comments