aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/objc/AppleBinaryRule.java
Commit message (Collapse)AuthorAge
* Clean up code that directly imports nested classes like Builder, Entry, etc.Gravatar jcater2018-05-01
| | | | PiperOrigin-RevId: 194960802
* Ensure that all rules which (even very indirectly) callGravatar jcater2018-04-27
| | | | | | | CppHelper.getToolchainFromPlatformConstraints declare that they require a cc toolchain. PiperOrigin-RevId: 194561293
* Migrate Apple providers to abide by Native Declared Provider best practices.Gravatar cparsons2018-01-17
| | | | | | | This has the effect of documenting exposed struct fields on these providers. RELNOTES: None. PiperOrigin-RevId: 182221042
* Config feature flags for apple_binary and apple_static_libraryGravatar cparsons2017-11-10
| | | | | | | This feature is experimental, and thus left mostly undocumented. RELNOTES: None. PiperOrigin-RevId: 175187791
* Remove compilation and bundling attributes from apple_binary and ↵Gravatar cparsons2017-09-29
| | | | | | | apple_static_library. RELNOTES: apple_binary and apple_static_library no longer support compilation attributes such as 'srcs'. If this breaks any existing targets, you may migrate all such attributes to a new objc_library target and depend on that objc_library target via the 'deps' attribute of apple_binary or apple_static_library. PiperOrigin-RevId: 170373794
* Add apple_stub_binary rule.Gravatar allevato2017-06-26
| | | | | | | | This rule will be used by the Skylark bundling rules for product types that use stub binaries copied out of the SDK instead of user-built binaries. RELNOTES: None. PiperOrigin-RevId: 159998782
* Rollback the copt-changing functionality of the extension_safe attributeGravatar cparsons2017-06-16
| | | | | | | | | | This change impacted build times of builds with libraries that needed to be built both extension-safe and non-extension-safe. This also caused duplicate symbol issues in such builds. The extension_safe attribute will now be a no-op, with subsequent removal to follow. RELNOTES: The extension_safe attribute of apple_binary no longer validates transitive dependencies are compiled against extension_safe APIs. PiperOrigin-RevId: 159142000
* Rollforward attempt 2 of "apple_binary extension_safe attribute results in ↵Gravatar cparsons2017-04-28
| | | | | | | configuration transition on dependencies" RELNOTES: None. PiperOrigin-RevId: 154544751
* Rollback of commit 5e945570ec0b9079596756bf89437ac37e031c36.Gravatar Jon Brandvein2017-02-28
| | | | | | | | *** Reason for rollback *** -- PiperOrigin-RevId: 148781019 MOS_MIGRATED_REVID=148781019
* Rollforward of "apple_binary extension_safe attribute results in ↵Gravatar Chris Parsons2017-02-24
| | | | | | | | | | | configuration transition on dependencies" This includes a fix: Propagate iquote appropriately from apple_binary so that generated headers of xctest apps are seen by ios_test -- PiperOrigin-RevId: 148403601 MOS_MIGRATED_REVID=148403601
* Rollback of commit 59b01953143562502dc036735c2cd23e5255cb24.Gravatar Laurent Le Brun2017-02-20
| | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks Blaze nightly *** Original change description *** apple_binary extension_safe attribute results in configuration transition on dependencies RELNOTES: apple_binary has a new "extension_safe" attribute to set extension compilation options on dependencies. -- PiperOrigin-RevId: 148009147 MOS_MIGRATED_REVID=148009147
* apple_binary extension_safe attribute results in configuration transition on ↵Gravatar Chris Parsons2017-02-20
| | | | | | | | | | dependencies RELNOTES: apple_binary has a new "extension_safe" attribute to set extension compilation options on dependencies. -- PiperOrigin-RevId: 147864346 MOS_MIGRATED_REVID=147864346
* apple_binary produces a skylark provider depending on its binary_typeGravatar Chris Parsons2017-02-13
| | | | | | | | Also appropriately add AppleDebugOutputs provider binding -- PiperOrigin-RevId: 147184426 MOS_MIGRATED_REVID=147184426
* MultiArchPlatformRule can use --experimental_objc_crosstoolGravatar Cal Peyser2017-02-02
| | | | | | -- PiperOrigin-RevId: 146258894 MOS_MIGRATED_REVID=146258894
* 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
* 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
* 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
* 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
* 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
* Add support for bundle binaries in apple_binary.Gravatar Sergio Campama2016-11-24
| | | | | -- MOS_MIGRATED_REVID=140094935
* Initial implementation of "dylib" attribute for apple_binary and ↵Gravatar Chris Parsons2016-11-02
| | | | | | | | | | | | apple_dynamic_library rules Provided values propagated from "dylib" dependencies will be compiled against the srcs of the rule, and linked together with the dependencies. It is worth noting that "dylibs" differs from "deps" in that there is no configuration transition along this edge. There is more work to be done on this attribute, so it remains undocumented. Namely, symbol deduping between dylib and statically-linked dependencies needs to be addressed. -- MOS_MIGRATED_REVID=137721599
* Initial check-in of apple_static_library ruleGravatar Chris Parsons2016-09-30
| | | | | | | RELNOTES: apple_static_library rule to create multi-architecture static archive files from Objc/C++/Swift dependencies on apple platforms -- MOS_MIGRATED_REVID=134701599
* Refactor apple multi-arch platform-specific split transition and rule ↵Gravatar Chris Parsons2016-09-06
| | | | | | | classes to be reusable for apple_static_library and apple_dynamic_library -- MOS_MIGRATED_REVID=132066681
* Rollforward of change that broke #1579 with test fix (need to specify ↵Gravatar Chris Parsons2016-07-29
| | | | | | | | | | | | | ios_sdk_version and xcode_version for our CI macs) *** Original change description *** Remove apple_binary's implicit output _lipo.a. This also removes the restriction that apple_binary targets must have at least one src file specified. -- MOS_MIGRATED_REVID=128721251
* Rollback of commit 8643954b818547339e8055d0aa4867c1286ebca1.Gravatar Damien Martin-Guillerez2016-07-29
| | | | | | | | | | | | | | | | | *** Reason for rollback *** Broke //src/test/shell/bazel:bazel_apple_test Fixes #1579 *** Original change description *** Remove apple_binary's implicit output _lipo.a. This also removes the restriction that apple_binary targets must have at least one src file specified. -- MOS_MIGRATED_REVID=128698089
* Remove apple_binary's implicit output _lipo.a.Gravatar Chris Parsons2016-07-28
| | | | | | | This also removes the restriction that apple_binary targets must have at least one src file specified. -- MOS_MIGRATED_REVID=128633173
* Support for platform_type="watchos" on apple_binary.Gravatar Chris Parsons2016-06-16
| | | | | | | | | This builds all dependencies linked against watch SDKs instead of iOS SDKs, and builds for the architectures specified in --watchos_multi_cpus RELNOTES: apple_binary supports a new platform_type attribute, which, if set to "watchos", will build dependencies for Apple's watchOS2. -- MOS_MIGRATED_REVID=124980029
* Add documentation for apple_binary rule, making it visible for public ↵Gravatar Chris Parsons2016-05-30
| | | | | | | | | consumption. RELNOTES: Release apple_binary rule, for creating multi-architecture ("fat") objc/cc binaries and libraries, targeting ios platforms. -- MOS_MIGRATED_REVID=123435699
* apple_binary creates _lipo.a (multi-architecture archive library)Gravatar Chris Parsons2016-05-12
| | | | | -- MOS_MIGRATED_REVID=122134847
* Use SplitTransitionProvider to provide apple_binary's split transitionsGravatar Chris Parsons2016-05-11
| | | | | -- MOS_MIGRATED_REVID=121974561
* apple_binary builds without implicit requirement of cc-relevant flags.Gravatar Chris Parsons2016-05-06
| | | | | | | | | Notable changes: - Obtain J2Objc providers from deps attribute of the current rule, even if "deps" is not Mode.TARGET. It is up to the rule implementation to correctly obtain and propagate these providers. - "srcs" on apple_binary no longer has a split transition. These are files, not labels. -- MOS_MIGRATED_REVID=121625691
* Introduce apple_binary, which links together one or more c-family libraries ↵Gravatar Chris Parsons2016-04-27
and produces a potentially multi-architecture binary, controlled by the --ios_multi_cpus flag -- MOS_MIGRATED_REVID=120874805