aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/objc
Commit message (Collapse)AuthorAge
* Delete ios_framework native rule.Gravatar cparsons2017-05-29
| | | | | RELNOTES: ios_framework native rule has been removed. This rule had been essentially broken for several months now; users should be using the skylark ios framework rule. https://github.com/bazelbuild/rules_apple has details. PiperOrigin-RevId: 157246539
* Propagate objc_library SDK Frameworks through cc_library edgesGravatar cparsons2017-05-29
| | | | | RELNOTES: None. PiperOrigin-RevId: 157235505
* For objc rules, generated headers are mandatory inputs to CppCompileAction.Gravatar cpeyser2017-05-26
| | | | PiperOrigin-RevId: 157218175
* Use the correct extension_safe copt for extension_safe attributeGravatar cparsons2017-05-26
| | | | | | | The previous copt was in error, and was not caught due to only causing warnings to be omitted. Tests are now updated to throw an error in such cases of warning. RELNOTES: None. PiperOrigin-RevId: 157150798
* Expose creation method for DottedVersion to skylark.Gravatar cparsons2017-05-26
| | | | | RELNOTES: Skylark support (apple_common.dotted_version(string)) for building DottedVersion objects to interface with native apple rules PiperOrigin-RevId: 157131109
* Use nested sets for configured target runfiles instead of flattened lists.Gravatar Googler2017-05-26
| | | | | RELNOTES: None PiperOrigin-RevId: 157124371
* Added an implicit output target to j2objc_libraryGravatar Googler2017-05-26
| | | | | | This implicit output is similar to objc_library's fully linked static library. For j2objc_library targets, we can use this output to trigger transpilation and generate a fully linked static library. PiperOrigin-RevId: 157062831
* Root GenObjcBundledProtos input filelist under the appropriate build ↵Gravatar cparsons2017-05-26
| | | | | | | configuration RELNOTES: None. PiperOrigin-RevId: 157017608
* Set --experimental_enable_objc_cc_deps by default in the blaze binary.Gravatar cpeyser2017-05-23
| | | | PiperOrigin-RevId: 156896360
* If the target apple_binary is a loadable_bundle, always pass the ↵Gravatar kaipi2017-05-23
| | | | | | @loader_path/Frameworks rpath flag to the linker. PiperOrigin-RevId: 156759162
* Extract :cc_toolchain as constantGravatar hlopko2017-05-22
| | | | | | | | And while at it cleanup all the calls of CppHelper.getToolchain and CppHelper.getFdoSupport. RELNOTES: None. PiperOrigin-RevId: 156716291
* Turn the --explicit_jre_deps flag into a noop.Gravatar Googler2017-05-22
| | | | | | RELNOTES: Flag --explicit_jre_deps is now a noop. PiperOrigin-RevId: 156570342
* Remove methods from CommandLine, making it a simple argument list interface.Gravatar Googler2017-05-15
| | | | | | | * isShellCommand is now passed directly to SpawnAction * Getting the associated params file action was a test-only thing. We can pull this out of the action graph instead. PiperOrigin-RevId: 156060366
* objc_proto_library performs the AppleCrosstoolTransition on all incoming edges.Gravatar cpeyser2017-05-11
| | | | PiperOrigin-RevId: 155759880
* Create AppleDynamicFramework skylark provider.Gravatar cparsons2017-05-11
| | | | | | | This provider should be constructed by the skylark ios_framework rule and passed to apple_binary via the "dylibs" attribute. RELNOTES: None. PiperOrigin-RevId: 155658524
* When --crosstool_compilation_support=library/all, user header search paths fromGravatar cpeyser2017-05-10
| | | | | | child configurations are used in compilation. PiperOrigin-RevId: 155564865
* Remove userHeaderSearchPaths from ObjcCommon - it is not used.Gravatar cpeyser2017-05-10
| | | | PiperOrigin-RevId: 155562588
* Restrict apple_watch2_extension "binary" attribute on the apple executable ↵Gravatar cparsons2017-05-09
| | | | | | | binary provider instead of the apple_binary rule. RELNOTES: None. PiperOrigin-RevId: 155430332
* Handle labels with explicit repositories correctly in objc rules.Gravatar allevato2017-05-09
| | | | | | | | | | | | | | The `structured_resources` path stemming used by `objc_library` and `objc_bundle_library` no longer breaks if one of these rules tries to reference a label with an explicit repository prefix. Previously, using "@foo//bar:baz" in such a rule would fail because the individual files would retain their "external/foo/" prefix but the owner path against which those files were relativized would not have it because of the use of getPackageFragment() instead of getPackageIdentifier().getSourceRoot(). RELNOTES: None. PiperOrigin-RevId: 155409464
* Retire the experimental_objc_library rule and --experimental_objc_library flag.Gravatar cpeyser2017-05-04
| | | | | | | | Re-organize ObjcLibraryTest and ExperimentalObjcLibraryTest -> LegacyObjcLibraryTest and CrosstoolObjcLibraryTest, according to the pattern used in the other unit tests. PiperOrigin-RevId: 155120143
* Remove xcodeproj as implicit output.Gravatar schmitt2017-05-04
| | | | | | | RELNOTES[INC]: Blaze no longer generates xcode projects. Use tulsi.bazel.build instead. PiperOrigin-RevId: 154997997
* Fix ObjcRuleTestCase#checkClangCoptsForCompilationMode - order is different forGravatar cpeyser2017-05-03
| | | | | | | | | crosstool case. To make the ios_framework_binary case to pass, the apple crosstool transition needs to be applied to that rule. PiperOrigin-RevId: 154949950
* Add "uses_protobuf" attribute to objc_proto_library rule.Gravatar kaipi2017-05-03
| | | | PiperOrigin-RevId: 154860105
* Automated g4 rollback of commit 7beadb7277453efec7e12b925005e7f0e003b592.Gravatar nharmata2017-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Original CL was rolled backed incorrectly. See post-submit discussion on http://https://github.com/bazelbuild/bazel/commit/7beadb7277453efec7e12b925005e7f0e003b592. *** Original change description *** Automated g4 rollback of commit 38b835097f9ae9a6062172b8a33ec2e2d1edde20. *** Reason for rollback *** Breaking Bazel build on linux, see http://ci.bazel.io/job/bazel-tests/733/ Repro: bazel build //src/test/java/com/google/devtools/build/lib:packages_test Found by bisecting. *** Original change description *** Only allocate some formerly frequently allocated PathFragment objects once. This reduces both gc churn and retained memory usage. RELNOTES: None PiperOrigin-RevId: 154839279
* Delete objc_xcodeproj rule.Gravatar schmitt2017-05-03
| | | | | | RELNOTES[INC]: objc_xcodeproj has been removed, use tulsi.bazel.build instead. PiperOrigin-RevId: 154829733
* Automated g4 rollback of commit 38b835097f9ae9a6062172b8a33ec2e2d1edde20.Gravatar dmarting2017-05-02
| | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaking Bazel build on linux, see http://ci.bazel.io/job/bazel-tests/733/ Repro: bazel build //src/test/java/com/google/devtools/build/lib:packages_test Found by bisecting. *** Original change description *** Only allocate some formerly frequently allocated PathFragment objects once. This reduces both gc churn and retained memory usage. RELNOTES: None PiperOrigin-RevId: 154821457
* apple_static_library passes the correct crosstool to platform-specific compileGravatar cpeyser2017-05-02
| | | | | | and fully linke actions. PiperOrigin-RevId: 154733524
* Roll forward of ↵Gravatar Googler2017-05-02
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/bazelbuild/bazel/commit/5f31944b8942818aaf53571c76f5c6a9a9dafc72: Custom module map for j2objc_library Automated g4 rollback of commit e7fe50aa727df9ef0a3d37fa258d017971035515. *** Reason for rollback *** Roll forward. The bzl change is removed because it has to be submitted after next Blaze release. *** Original change description *** Automated g4 rollback of commit 5f31944b8942818aaf53571c76f5c6a9a9dafc72. *** Reason for rollback *** This caused some build breaks. *** Original change description *** Custom module map for j2objc_library PiperOrigin-RevId: 154726197
* Only allocate some formerly frequently allocated PathFragment objects once.Gravatar nharmata2017-05-02
| | | | | | This reduces both gc churn and retained memory usage. PiperOrigin-RevId: 154718782
* Automated g4 rollback of commit a83a5df53ca184ad59a4a46cd9dfa747bf08007a.Gravatar Googler2017-04-30
| | | | | | | | | | | | *** Reason for rollback *** This caused some build breaks. *** Original change description *** Custom module map for j2objc_library PiperOrigin-RevId: 154608761
* Custom module map for j2objc_libraryGravatar Googler2017-04-30
| | | | PiperOrigin-RevId: 154606005
* Split transition unconditionally for multiarch apple rulesGravatar cparsons2017-04-30
| | | | | RELNOTES: None. PiperOrigin-RevId: 154569551
* Refactor to extract the collection of portable proto filters.Gravatar kaipi2017-04-30
| | | | PiperOrigin-RevId: 154549379
* Rollforward attempt 2 of "apple_binary extension_safe attribute results in ↵Gravatar cparsons2017-04-28
| | | | | | | configuration transition on dependencies" RELNOTES: None. PiperOrigin-RevId: 154544751
* Add FILES_TO_COMPILE output group to apple_static_library.Gravatar cpeyser2017-04-28
| | | | PiperOrigin-RevId: 154544281
* Adds a forwarder for instrumented files in AppleBinary.Gravatar kaipi2017-04-26
| | | | PiperOrigin-RevId: 154297741
* Archiving with --experimental_objc_crosstool=all/library includes precompiledGravatar cpeyser2017-04-26
| | | | | | object files. PiperOrigin-RevId: 154249983
* Remove AppleCrosstoolSplitTransition.Gravatar cpeyser2017-04-26
| | | | PiperOrigin-RevId: 154232604
* Update apple_binary.platform_type docs to mention macos and tvos.Gravatar allevato2017-04-25
| | | | PiperOrigin-RevId: 154171133
* Parse /showIncludes output for MSVC compilerGravatar Yun Peng2017-04-25
| | | | | | | | Instead of parsing .d file generated by wrapper script, we directly parse the output of /showIncludes option. Change-Id: Id94e20a5cb05a494a793fd6a43756d44d27cea8a PiperOrigin-RevId: 154161939
* Export the FILES_TO_COMPILE output group from the objc rules. Add a builder ↵Gravatar cpeyser2017-04-25
| | | | | | to CompilationSupport to clean up that expanding API. PiperOrigin-RevId: 154077775
* Remove unused dsym type info from ObjcVariablesExtension.Gravatar cpeyser2017-04-20
| | | | | WANT_LGTM=all PiperOrigin-RevId: 153584480
* Temporarily disable consistent split transitioning on apple_binary rules.Gravatar cparsons2017-04-19
| | | | | | | | If minimum_os is unspecified on an apple_binary target and ios_multi_cpus is not set, no apple_binary configuration transition is made. RELNOTES: None. PiperOrigin-RevId: 153529598
* Propagate iquote appropriately from apple_binary so that generated headers ↵Gravatar cparsons2017-04-19
| | | | | | | of xctest apps are seen by ios_test RELNOTES: None. PiperOrigin-RevId: 153529262
* Turn on --experimental_j2objc_header_map by default.Gravatar rduan2017-04-19
| | | | | RELNOTES: None. PiperOrigin-RevId: 153489730
* Split out option usage restriction from option category.Gravatar ccalvarin2017-04-18
| | | | | | | | | These are two different concepts. Do not remove category overload compatibility in this CL, to keep this change limited to converting the current uses of category. With some flyby formatting fixes on affected OptionsBases. RELNOTES: None. PiperOrigin-RevId: 153390002
* Improve DottedVersion validation for minimum_os attribute, and fix error ↵Gravatar cparsons2017-04-18
| | | | | | | message. RELNOTES: None. PiperOrigin-RevId: 153372617
* Add bitcode support to objc crosstool linking.Gravatar cpeyser2017-04-18
| | | | PiperOrigin-RevId: 153202296
* Remove the use_objc_header rule warning. Add a generic migration warning to ↵Gravatar kaipi2017-04-18
| | | | | | objc_proto_library without the portable_proto_filters attribute. PiperOrigin-RevId: 153189663
* Introduce linkmap support for --experimental_objc_crosstool=allGravatar cpeyser2017-04-18
| | | | PiperOrigin-RevId: 153161442