diff options
author | Peter Schmitt <schmitt@google.com> | 2015-03-24 16:05:47 +0000 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@google.com> | 2015-03-24 17:16:38 +0000 |
commit | 26bae084e93901c2b49c958107d8b5b890c38a47 (patch) | |
tree | d059b3a99e390008de4cd44ca95a1ff35d9fa2ea /tools | |
parent | c9a9f4c874aa29b446f48ee3da179ae1bf6f5435 (diff) |
Compile objc resources when bundling, not at each target.
This change moves the resource compilation actions from each declaring target
to the bundle in which they're stored. This bundle is (mostly, see below) the
only thing that cares about the compiled resources. As a result, we avoid
compiling each resource many times when in a multi-architecture context.
Note that as a result of this change rules other than ios_test do no longer
add the compiled datamodels and storyboards to files to build. There (should?)
be no need for them anyhow. Also, Xcode targets will now no longer contain the
transitive closure of datamodels, only their own.
Note that in the case where the input resource is produced by a genrule the
resource compilation still happens for each architecture but we ignore the
results for all but one of the architectures to avoid bundling conflicts.
There are also some more validation checks and nicer error messages for users
when they specify illegal strings resources.
--
MOS_MIGRATED_REVID=89404405
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions