aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/objc
Commit message (Collapse)AuthorAge
* Simplify action input discovery by removing ↵Gravatar Lukacs Berki2017-01-31
| | | | | | | | | | Action#getInputsWhenSkippingInputDiscovery(). This has the side effect of always allowing new inputs to be discovered when Action#discoversInputs() return true, but since those actions are very few and have mostly to do with C++, I think it's an acceptable tradeoff for th ecode being that much simpler. -- PiperOrigin-RevId: 146098150 MOS_MIGRATED_REVID=146098150
* Remove --ios_multi_cpus (simulator & device) restriction on the ↵Gravatar Chris Parsons2017-01-30
| | | | | | | | objc_bundle_library rule -- PiperOrigin-RevId: 145834899 MOS_MIGRATED_REVID=145834899
* Switch to RunfilesSuppliers for communicating runfilesGravatar Michajlo Matijkiw2017-01-30
| | | | | | | | | | | | | | | | | | | | | | | ActionSpawn/SpawnAction now deal exclusively in RunfilesSuppliers, manifests maps are no more. There is some lingering awkwardness, in particular: - Manifests still need to be tracked in some places, we can work out if this is still necessary on a case by case basis. - Skylark makes actions' runfiles available via 'resolve_command' where they are consumed by 'action'. I've updated the documentation, though the name isn't entirely accurate anymore. That being said these interfaces _are_ marked as experimental, so we _should_ be able to be flexible here. Overall, I think the benefits consolidating runfiles into suppliers, from both code cleanliness and performance perspectives (no longer needing to parse manifests), outweights the awkwardnesses. RELNOTES: resolve_command/action's input_manifest return/parameter is now list -- PiperOrigin-RevId: 145817429 MOS_MIGRATED_REVID=145817429
* Framework resource deduping (framework resources are kept in the framework ↵Gravatar Chris Parsons2017-01-30
| | | | | | | | bundle, not the top level) -- PiperOrigin-RevId: 145795138 MOS_MIGRATED_REVID=145795138
* Add Bitcode symbol maps and AppleDebugOutputsProviderGravatar Dmitry Shevchenko2017-01-26
| | | | | | | | | | * Bitcode symbol maps allow Apple to provide a new dSYM output when they recompile bitcode on the App Store. This makes it possible to debug apps build with embedded bitcode. * The new debug outputs provider makes it easy (and correct) for other rules to post-process (package, analyze, upload) dSYM and Bitcode artifacts. -- PiperOrigin-RevId: 145720293 MOS_MIGRATED_REVID=145720293
* Module maps arising from an experimental_objc_library are not automaticallyGravatar Cal Peyser2017-01-26
| | | | | | | | | | added as inputs to dependant compile actions. This puts experimental_objc_library in line with the behavior of objc_library, and allows targets that specific "-fmodules" to continue to build. -- PiperOrigin-RevId: 145714898 MOS_MIGRATED_REVID=145714898
* Root j2objc linker artifacts underneath the appropriate child configurationGravatar Chris Parsons2017-01-26
| | | | | | -- PiperOrigin-RevId: 145701736 MOS_MIGRATED_REVID=145701736
* Testers using --experimental_objc_library will use apple crosstoolGravatar Cal Peyser2017-01-25
| | | | | | | | transition at the top level for the expanded set of apple rule classes -- PiperOrigin-RevId: 145421255 MOS_MIGRATED_REVID=145421255
* experimental_objc_library excludes private headers from module maps. ThisGravatar Cal Peyser2017-01-24
| | | | | | | | brings it in line with the behavior in objc_library. -- PiperOrigin-RevId: 145330154 MOS_MIGRATED_REVID=145330154
* Renames the BundleLoaderProvider to AppleExecutableBinaryProvider, and uses ↵Gravatar Sergio Campama2017-01-23
| | | | | | | | | | that provider to retrieve the executable binary to act as the bundle_loader. Also passes the bundle loader's ObjcProvider and ObjcProtoProviders to the dylib deduping mechanism to avoid dual linking of symbols into the tests. -- PiperOrigin-RevId: 145284598 MOS_MIGRATED_REVID=145284598
* Fixes bug where using portable_proto_filters along with proto files in deps ↵Gravatar Sergio Campama2017-01-23
| | | | | | | | (as oposed to proto_library targets) would result in a crash. -- PiperOrigin-RevId: 145283582 MOS_MIGRATED_REVID=145283582
* Rename "bundle" apple_binary to "loadable_bundle".Gravatar Chris Parsons2017-01-23
| | | | | | | | Also some apple binary test cleanup along the way. -- PiperOrigin-RevId: 145123804 MOS_MIGRATED_REVID=145123804
* Remove the ability for an aspect to propagate a different aspect.Gravatar Dmitry Lomov2017-01-20
| | | | | | | | | This functionality is never used, have never been exposed to Skylark and is a continuous pain to maintain and test. -- PiperOrigin-RevId: 145079832 MOS_MIGRATED_REVID=145079832
* Refactor SkylarkNestedSet to not implement IterableGravatar Jon Brandvein2017-01-20
| | | | | | | | | | | | | | This is not intended to be a user-visible semantic change, aside from error messages. This is to help avoid unintentional flattening of depsets, and to narrow down the number of call sites where this can occur, to help us print warning/deprecation messages. EvalUtils#toIterable will now return an ImmutableList in place of SkylarkNestedSet. This should be ok since the caller shouldn't be relying on the result being a Skylark-safe type. Code that takes Iterable because it accepts either a list or set, can instead be changed to take Object and use EvalUtils#toIterableStrict for validation. Note that NestedSet still implements Iterable, so native code can still easily and accidentally flatten sets. -- PiperOrigin-RevId: 145044023 MOS_MIGRATED_REVID=145044023
* Introduces --apple_crosstool_transition, which turns controls the activation ofGravatar Cal Peyser2017-01-20
| | | | | | | | the AppleCrosstoolTransition. -- PiperOrigin-RevId: 145006581 MOS_MIGRATED_REVID=145006581
* Introduce --experimental_objc_crosstool, which replacesGravatar Cal Peyser2017-01-19
| | | | | | | | | | --experimental_objc_library and --experimental_objc_use_crosstool_for_binary. This flag will allow testing of the complete (compilation and linking) rollout of the objc crosstool. -- PiperOrigin-RevId: 144864301 MOS_MIGRATED_REVID=144864301
* Remove CC_LIBRARY values which are covered via LIBRARY when subtracting ↵Gravatar Chris Parsons2017-01-18
| | | | | | | | ObjcProvider subtrees -- PiperOrigin-RevId: 144747299 MOS_MIGRATED_REVID=144747299
* AppleCrosstoolTransition is also applied to any incoming edge to a rule classGravatar Cal Peyser2017-01-13
| | | | | | | | | | | that may contain objc source. This only works with dynamic configurations turned on. This ensures that objc dependencies of non-objc targets use the apple crosstool. -- PiperOrigin-RevId: 144384483 MOS_MIGRATED_REVID=144384483
* Have the "version_min" build variable be available to Apple C/C++ ↵Gravatar Googler2017-01-13
| | | | | | | | compilation actions. -- PiperOrigin-RevId: 144356912 MOS_MIGRATED_REVID=144356912
* All headers in modules arising from an experimental_objc_library are compiledGravatar Cal Peyser2017-01-13
| | | | | | | | | (as they are for objc_library). This allows for swift/objc interop with experimental_objc_library, since swift imports require compiled headers. -- PiperOrigin-RevId: 144353367 MOS_MIGRATED_REVID=144353367
* Set --objc_use_dotd_pruning by default in the Bazel binary.Gravatar Cal Peyser2017-01-13
| | | | | | -- PiperOrigin-RevId: 144353268 MOS_MIGRATED_REVID=144353268
* AppleCrosstoolTransition turns off any fission modes.Gravatar Cal Peyser2017-01-12
| | | | | | -- PiperOrigin-RevId: 144325333 MOS_MIGRATED_REVID=144325333
* Add a deprecation warning to objc_xcodeprojGravatar Dmitry Shevchenko2017-01-11
| | | | | | -- PiperOrigin-RevId: 144127414 MOS_MIGRATED_REVID=144127414
* Set ios_cpu on child configurations of multi-arch apple rules in all cases.Gravatar Chris Parsons2017-01-10
| | | | | | -- PiperOrigin-RevId: 144108788 MOS_MIGRATED_REVID=144108788
* Description redacted.Gravatar Rumou Duan2017-01-10
| | | | | | -- PiperOrigin-RevId: 144010091 MOS_MIGRATED_REVID=144010091
* Making it remove @ in module names Gravatar Mike Lewis2017-01-10
| | | | | | | | | | | Fixes #2311 Closes #2312. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2312 PiperOrigin-RevId: 143967880 MOS_MIGRATED_REVID=143967880
* Remove some cases of inferring configuration and platform from ruleContext ↵Gravatar Chris Parsons2017-01-06
| | | | | | | | outside of rule implementation. -- PiperOrigin-RevId: 143720112 MOS_MIGRATED_REVID=143720112
* Update apple_binary documentation to match support for multiple platforms ↵Gravatar Chris Parsons2017-01-06
| | | | | | | | and 3 different binary types. -- PiperOrigin-RevId: 143718198 MOS_MIGRATED_REVID=143718198
* Add a "dylib" binary type to apple_binary, and deprecate apple_dynamic_libraryGravatar Chris Parsons2017-01-05
| | | | | | -- PiperOrigin-RevId: 143694257 MOS_MIGRATED_REVID=143694257
* Avoid linking objc protos that are transitively in the "dylibs" attributeGravatar Chris Parsons2017-01-05
| | | | | | -- PiperOrigin-RevId: 143601292 MOS_MIGRATED_REVID=143601292
* Manually add periods to documentation strings where needed.Gravatar John Cater2017-01-03
| | | | | | | | -- Change-Id: I9ec3209a69ba5a51943b334f278ba93d67d4f9f4 Reviewed-on: https://cr.bazel.build/8090 PiperOrigin-RevId: 143470915 MOS_MIGRATED_REVID=143470915
* Use the value of --watchos_minimum_os for clang's -mwatchos-version-min when ↵Gravatar Googler2017-01-03
| | | | | | | | | | | compiling/linking instead of --watchos_sdk_version. RELNOTES: Set clang's -mwatchos-version-min correctly using the value of --watchos_minimum_os, not --watchos_sdk_version. -- PiperOrigin-RevId: 143444638 MOS_MIGRATED_REVID=143444638
* RELNOTES:Gravatar Rumou Duan2017-01-03
| | | | | | | | Remove build flag --experimental_j2objc_annotation_processing. It is on by default now. -- PiperOrigin-RevId: 143444299 MOS_MIGRATED_REVID=143444299
* Expose apple.xcode_version() to skylark.Gravatar Chris Parsons2016-12-28
| | | | | | -- PiperOrigin-RevId: 143036358 MOS_MIGRATED_REVID=143036358
* Introduce --apple_crosstool_top, which sets the crosstool for sources in ↵Gravatar Cal Peyser2016-12-23
| | | | | | | | objc_*/apple_*/ios_* targets and their dependencies. -- PiperOrigin-RevId: 142793925 MOS_MIGRATED_REVID=142793925
* Expose ios_device attributes to Skylark.Gravatar Googler2016-12-23
| | | | | | -- PiperOrigin-RevId: 142784138 MOS_MIGRATED_REVID=142784138
* Rollback of commit 87fd5baeaa3f983bbec0c0dbc7b16eb52cf2267f.Gravatar Tobias Werth2016-12-22
| | | | | | -- PiperOrigin-RevId: 142758502 MOS_MIGRATED_REVID=142758502
* Introduce --apple_crosstool_top, which sets the crosstool for sources in ↵Gravatar Cal Peyser2016-12-22
| | | | | | | | objc_*/apple_*/ios_* targets and their dependencies. -- PiperOrigin-RevId: 142702735 MOS_MIGRATED_REVID=142702735
* Rollback AppleCrosstoolChangeGravatar Cal Peyser2016-12-22
| | | | | | -- PiperOrigin-RevId: 142692398 MOS_MIGRATED_REVID=142692398
* Introduce --apple_crosstool_top, which sets the crosstool for sources in ↵Gravatar Cal Peyser2016-12-22
| | | | | | | | objc_*/apple_*/ios_* targets and their dependencies. -- PiperOrigin-RevId: 142673622 MOS_MIGRATED_REVID=142673622
* Cast to ConfiguredTarget instead of AbstractConfiguredTarget for obtaining ↵Gravatar Chris Parsons2016-12-21
| | | | | | | | | | the target type This allows us to correctly analyze the type of alias targets -- PiperOrigin-RevId: 142582188 MOS_MIGRATED_REVID=142582188
* Disable sandboxing for XibCompile actions.Gravatar Philipp Wollermann2016-12-21
| | | | | | | | | | Fixes #2189. The other idea of making the path that ibtoold wants to write to read-write in the sandbox strategy didn't seem to help (but I don't know why) - it randomly works or doesn't work, with or without that change. -- PiperOrigin-RevId: 142553982 MOS_MIGRATED_REVID=142553982
* Update call sites to FileWriteAction to use the ↵Gravatar Jon Brandvein2016-12-20
| | | | | | | | | | --experimental_transparent_compression flag Also add test to ensure lazy strings aren't forced. -- PiperOrigin-RevId: 142496520 MOS_MIGRATED_REVID=142496520
* Expose apple_generate_dsym value to Skylark and use in swift_libraryGravatar Dmitry Shevchenko2016-12-16
| | | | | | -- PiperOrigin-RevId: 142194378 MOS_MIGRATED_REVID=142194378
* Creates a new BundleLoaderProvider that propagates necessary artifacts, ↵Gravatar Sergio Campama2016-12-15
| | | | | | | | paths, etc, for test binaries (bundle binaries) to compile successfully against a bundle loader artifact. -- PiperOrigin-RevId: 142063256 MOS_MIGRATED_REVID=142063256
* Enables the propagation of the XcodeVersionProperties provider for reading ↵Gravatar Sergio Campama2016-12-13
| | | | | | | | from Skylark. -- PiperOrigin-RevId: 141912220 MOS_MIGRATED_REVID=141912220
* Migrates TestEnvironmentProvider to using the new Skylark declared providers ↵Gravatar Sergio Campama2016-12-12
| | | | | | | | API. This enables creating a TestEnvironmentProvider from Skylark. -- PiperOrigin-RevId: 141775285 MOS_MIGRATED_REVID=141775285
* Add a testing Skylark module that exposes an ExecutionInfoProvider constructor.Gravatar Sergio Campama2016-12-12
| | | | | | -- PiperOrigin-RevId: 141594768 MOS_MIGRATED_REVID=141594768
* "deps" attribute avoids linking libraries transitively included in "dylibs" ↵Gravatar Chris Parsons2016-12-09
| | | | | | | | | | attribute This prevents duplicate symbol errors for objects that would otherwise be linked both in the application binary and a dylib the binary is linked against. -- PiperOrigin-RevId: 141478238 MOS_MIGRATED_REVID=141478238
* Rollback of commit a5312cdfe3dee6d34a32592c00d80e8142f89615.Gravatar Cal Peyser2016-12-07
| | | | | | | | | | | | | | | *** Reason for rollback *** Under --experimental_objc_library, breaks objc_library targets with empty sources. *** Original change description *** Better error message for experimental_objc_library targets built with a crosstool that does not support objc. -- PiperOrigin-RevId: 141344598 MOS_MIGRATED_REVID=141344598