aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcProtoLibraryRule.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
* Change cfg(HOST) to cfg(HostTransition.INSTANCE).Gravatar gregce2017-12-21
| | | | | | Preparatory step for removing ConfigurationTransition.HOST. PiperOrigin-RevId: 179838374
* Remove the uses_protobuf attribute from objc_proto_library.Gravatar kaipi2017-10-16
| | | | PiperOrigin-RevId: 172199420
* Update documentation on objc_proto_library rule, and disable the passing of ↵Gravatar kaipi2017-10-16
| | | | | | direct files into the deps attribute, only proto_library and objc_proto_library targets are allowed. PiperOrigin-RevId: 172107133
* Remove support for ProtocolBuffers2.Gravatar kaipi2017-10-06
| | | | PiperOrigin-RevId: 171013687
* Remove last implicit dep on //tools/objc:xcodegenGravatar schmitt2017-06-26
| | | | | RELNOTES: None. PiperOrigin-RevId: 159837451
* objc_proto_library performs the AppleCrosstoolTransition on all incoming edges.Gravatar cpeyser2017-05-11
| | | | PiperOrigin-RevId: 155759880
* Add "uses_protobuf" attribute to objc_proto_library rule.Gravatar kaipi2017-05-03
| | | | PiperOrigin-RevId: 154860105
* Fixing Blaze crashing when using --experimental_objc_crosstool=all with ↵Gravatar Rumou Duan2017-02-03
| | | | | | | | objc_proto_library and objc_import rules. -- PiperOrigin-RevId: 146410669 MOS_MIGRATED_REVID=146410669
* Removes the output_cpp attribute from the objc_proto_library rule.Gravatar Sergio Campama2016-09-23
| | | | | -- MOS_MIGRATED_REVID=133989926
* Enable the generation of Objc protos in whichever host machine it is running.Gravatar Sergio Campama2016-09-20
| | | | | -- MOS_MIGRATED_REVID=133629682
* Add a common class for filtering proto source files.Gravatar Rumou Duan2016-09-16
| | | | | -- MOS_MIGRATED_REVID=133267681
* Enables objc_proto_library to depend on other objc_proto_libraries. This ↵Gravatar Sergio Campama2016-08-23
| | | | | | | only works when using the new version of objc_proto_library by adding the portable_proto_filters attribute. -- MOS_MIGRATED_REVID=130952647
* Reverts the protobuf lib dependency being loaded from tools/objc, and ↵Gravatar Sergio Campama2016-06-10
| | | | | | | instead load it from //external. -- MOS_MIGRATED_REVID=124480945
* Support for gathering all the protos seen in the transitive closure of ↵Gravatar Sergio Campama2016-05-25
| | | | | | | dependencies through the ObjcProtoAspect, compiling and linking the generated protos at the final linking target. This is only enabled for objc_proto_libraries using the portable_proto_filters attribute, and guarded with the "--experimental_auto_top_level_union_objc_protos" flag. This prevents duplicate symbol errors as the generated sources are only linked once. -- MOS_MIGRATED_REVID=123144532
* libtool wrapper script to isolate the unfortunate hacks we must make to get ↵Gravatar Chris Parsons2016-05-24
| | | | | | | around apple's buggy libtool tool -- MOS_MIGRATED_REVID=123024674
* Remove incorrect exec() on well_known_protos dependency.Gravatar Peter Schmitt2016-04-07
| | | | | -- MOS_MIGRATED_REVID=119224150
* Filter Well Known Type protos from being generated by the objc_proto_library ↵Gravatar Googler2016-03-22
| | | | | | | rule, as these protos have already been generated and linked in the released static library. -- MOS_MIGRATED_REVID=117747156
* Deprecates output_cpp from objc_proto_library.Gravatar Googler2016-03-18
| | | | | -- MOS_MIGRATED_REVID=117494528
* Blaze - ObjcProtoLibrary: Adds support for the new protobuf library. This ↵Gravatar Googler2016-02-24
| | | | | | | includes improvements such as proto3 syntax support for Objective C. -- MOS_MIGRATED_REVID=115395892
* Replace getToolsRepository() with getToolsLabel(String labelValue) which ↵Gravatar Luis Fernando Pino Duque2016-02-09
| | | | | | | | | prepends the tools repository path to the given string and parses the result as a label. This is a cleaner way to access the tools repository label. -- MOS_MIGRATED_REVID=114105929
* Replace occurrences of Constants.TOOLS_REPOSITORY in places where it can be ↵Gravatar Luis Fernando Pino Duque2016-02-03
| | | | | | | | | referenced via the rule class provider (using the RuleDefinitionEnvironment). This is the second phase of the removal of the TOOLS_REPOSITORY constants. -- MOS_MIGRATED_REVID=113734334
* Remove unused ${SYNOPSIS} variable from Bazel native rule inline documentation.Gravatar David Chen2016-01-28
| | | | | | | | | | This variable is no longer used because the docgen template directly calls RuleDocumentationAttribte.getSynopsis() instead of using the SYNOPSIS variable, and RuleDocumentationAttribute.getHtmlDocumentation() resolves the SYNOPSIS variable to the empty string. -- MOS_MIGRATED_REVID=113249993
* Remove unused ${ATTRIBUTE_DEFINITION} and ${ATTRIBUTE_SIGNATURE} variables fromGravatar David Chen2016-01-25
| | | | | | | | | Bazel native rule inline documentation. These variables are no longer used because the docgen templates now directly generate the table of attributes instead of using ATTRIBUTE_DEFINITION and call RuleDocumentation.getAttributeSignature() instead of using ATTRIBUTE_SIGNATURE. RuleDocumentation.getHtmlDocumentation() currently resolves both of these variables to the empty string. -- MOS_MIGRATED_REVID=112933659
* Remove --objc_per_proto_includes flag, which was obsoleted by the rule-level ↵Gravatar Googler2015-11-18
| | | | | | | | | attribute of the same name. RELNOTES: Remove obsolete --objc_per_proto_includes flag. -- MOS_MIGRATED_REVID=108056207
* Create AppleConfiguration and AppleCommandLineOptions, and move a few items ↵Gravatar Chris Parsons2015-11-10
| | | | | | | | | | | of configuration over to the apple package. This moves a small number of configuration items over. Future changes will mostly likely follow to move yet more items. The split here is necessary as it is not only objc-related rules which require information about apple platforms and configuration -- cc rules will need this information as well to pass appropriate args to clang. -- MOS_MIGRATED_REVID=107396114
* Add xcrunwrapper to deal with DEVELOPER_DIR and SDKROOT.Gravatar Dave MacLachlan2015-11-06
| | | | | | | | | Replace uses of $SDKROOT and $DEVELOPER_DIR values in compile paths with __DEVELOPER_DIR__ and __SDKROOT__ to that xcrunwrapper can deal with them appropriately. RELNOTES:none -- MOS_MIGRATED_REVID=107259512
* Add a Constants.TOOLS_PREFIX constant that will serve to redirect the Bazel ↵Gravatar Lukacs Berki2015-10-05
| | | | | | | | | | | tools repository. This is a no-op refactoring CL. The actual switch will be made once everything passes with the new setup. As a side cleanup, change the awkward realAndroidSdk() / realAndroidCrosstoolTop() mechanism to a converter. -- MOS_MIGRATED_REVID=104649067
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Separate build-specific types and types inherent to Skylark.Gravatar Lukacs Berki2015-09-21
| | | | | -- MOS_MIGRATED_REVID=103374106
* Rollforward of [], which was rolled back in []. Cleans up support for ↵Gravatar Michael Thvedt2015-09-14
| | | | | | | objc_proto_library with native proto_library. -- MOS_MIGRATED_REVID=102962083
* Rollback of commit 17e9d7cd408eee1e4e73a1fe6f76917954475937.Gravatar Carmi Grushko2015-09-04
| | | | | -- MOS_MIGRATED_REVID=102299629
* Turn Bazel proto_library on for objc_proto_library.Gravatar Michael Thvedt2015-09-04
| | | | | -- MOS_MIGRATED_REVID=102294703
* Add an attribute 'per_proto_includes' which can be set on an ↵Gravatar Googler2015-08-14
| | | | | | | | | objc_proto_library overriding the global setting. This is needed as third_party libraries often do not use depot-relative include paths. RELNOTES: Add objc_proto_library.per_proto_includes attribute. -- MOS_MIGRATED_REVID=100637689
* Annotate every single rule with required configuration fragments.Gravatar Ulf Adams2015-08-10
| | | | | | | It's not locked down yet as Skylark rules can't declare required fragments. -- MOS_MIGRATED_REVID=100113647
* Description redacted.Gravatar Rumou Duan2015-07-28
| | | | | -- MOS_MIGRATED_REVID=99234569
* experimental_ios_test: Support data dependenciesGravatar Daniel Wagner-Hall2015-06-29
| | | | | | | This CL makes me so unhappy. As a follow up, I may rename BaseRule and/or RuleBase. Because seriously, you guys, naming. -- MOS_MIGRATED_REVID=96990894
* Rollback of commit dfde4e5cd86f00c30bdedeed020844c861658b53.Gravatar Daniel Wagner-Hall2015-06-25
| | | | | | | | | | | | | | | *** Reason for rollback *** Broke a test *** Original change description *** experimental_ios_test: Support data dependencies This CL makes me so unhappy. As a follow up, I may rename BaseRule and/or RuleBase. Because seriously, you guys, naming. -- MOS_MIGRATED_REVID=96804486
* experimental_ios_test: Support data dependenciesGravatar Daniel Wagner-Hall2015-06-25
| | | | | | | This CL makes me so unhappy. As a follow up, I may rename BaseRule and/or RuleBase. Because seriously, you guys, naming. -- MOS_MIGRATED_REVID=96795834
* Description redacted.Gravatar Keefer Taylor2015-05-08
| | | | | -- MOS_MIGRATED_REVID=93066384
* objc protos: Pass up dep on C++ runtime if depending on C++ APIGravatar Daniel Wagner-Hall2015-04-08
| | | | | -- MOS_MIGRATED_REVID=90543040
* Replace @BlazeRule with a getMetadata() method. This lets us avoid Java ↵Gravatar Googler2015-03-20
| | | | | | | | | | | | | | | | | Reflection, and saves ~15% of initialization time in []RuleClassProvider.create(). Before change: Over 14 samples, average = 976 median = 969.9 After change: Over 14 samples, average = 811.5 median = 813.9 -- MOS_MIGRATED_REVID=89036261
* Use //external:objc_proto_lib instead of a googlemac path for objc_proto_libraryGravatar Daniel Wagner-Hall2015-03-20
| | | | | -- MOS_MIGRATED_REVID=88964412
* Scrub.Gravatar Ulf Adams2015-02-19
| | | | | | | | | | | | | | | | | | | | Also includes the following changes: Skylark: tests copy the Skylark files into the same directory. Load statements are replaced with relative paths within bzl files and with absolute paths in tests. -- Refactor Objc abstract rule classes. This new arrangement groups attributes by logical purpose and clarifies rule composition. For example objc_binary inherits "linking" whereas an objc_library inherits "linkable" but both inherit "compiling". The only functional change in this CL is to remove the "data" attribute from all rules as it is not used in the depot and doesn't make sense when we also allow specifying resources in any number of other ways. -- MOS_MIGRATED_REVID=86676190
* Update from Google.Gravatar Han-Wen Nienhuys2015-02-25
-- MOE_MIGRATED_REVID=85702957