aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_defs/hash/hash.bzl
diff options
context:
space:
mode:
authorGravatar gregce <gregce@google.com>2017-04-18 22:40:08 +0200
committerGravatar Klaus Aehlig <aehlig@google.com>2017-04-19 10:48:02 +0200
commitff29c0b39cf936a2699b05edd54f483f1a037d93 (patch)
treee6ef169d5a18925e8d0b99f6846f7dcc65d70b42 /tools/build_defs/hash/hash.bzl
parentb462128f3d39d065e0871b98d076ab9fb186e724 (diff)
Change Bazel's LIPO model to support dynamic configurations.
The key change is to eliminate the need to transition from the data to the target configuration by relying on out-of-band configuration state. Specifically, the old model drops LIPO options from the data configuration. In the cases when we have to switch back (i.e. TARGET_CONFIG_FOR_LIPO), those options have to get re-injected somehow. Static configurations achieve this with the global configuration transitions table. But dynamic configs have no comparable source (and they consciously eschew global state). This cl changes the model to *keep* LIPO settings in the data config, then use a new "enableOrDisable" flag to determine whether or not to actually use them. With this model, the data -> target transition is now as simple as toggling that flag. This change doesn't actually add dynamic config LIPO support. It's doing enough as it is, and we need to make sure it doesn't break existing LIPO semantics. Dynamic support will come as a followup. PiperOrigin-RevId: 153504240
Diffstat (limited to 'tools/build_defs/hash/hash.bzl')
0 files changed, 0 insertions, 0 deletions