aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/common/options
diff options
context:
space:
mode:
authorGravatar Greg Estren <gregce@google.com>2015-11-11 19:57:37 +0000
committerGravatar Laszlo Csomor <laszlocsomor@google.com>2015-11-12 09:01:43 +0000
commitbbe821e6ac874e31e3d4d6473e89f1d3b7a49390 (patch)
tree48ffa2427284a76855bfe9652ce6753499ea1a72 /src/test/java/com/google/devtools/common/options
parent8af7fe1f00375fe5658186820801b2bf8e80a215 (diff)
When getting the Skyframe key for a ConfigurationFragment, first
trim the BuildOptions to only those needed by the fragment. This guarantees that the same fragment only gets instantiated once (for example: we don't want to have two copies of a CppConfiguration because one copy had PythonOptions and the other didn't). This also prevents crashes, e.g. in the Preconditions check in CcLibraryHelper.addDeps. -- MOS_MIGRATED_REVID=107609270
Diffstat (limited to 'src/test/java/com/google/devtools/common/options')
0 files changed, 0 insertions, 0 deletions