aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_defs/apple
Commit message (Collapse)AuthorAge
...
* Add a way to set build configuration values (defines) on swift_library targets.Gravatar Dmitry Shevchenko2016-08-01
| | | | | -- MOS_MIGRATED_REVID=128838998
* executable attribute on apple_genrule, which allows users to run ↵Gravatar Chris Parsons2016-07-29
| | | | | | | | | apple_genrule targets on the command line. If an apple_genrule target is both executable and has more than one output, an error is thrown. -- MOS_MIGRATED_REVID=128714692
* Rollback of commit 6b1856c0da95ccea97b13890b2617bd0635f4291.Gravatar Tobias Werth2016-07-21
| | | | | -- MOS_MIGRATED_REVID=128038062
* Make [] happy again by adding a test with the same name as the one whose ↵Gravatar Tobias Werth2016-07-21
| | | | | | | deletion it did not notice, //third_party/bazel/tools/build_defs/test:swift_lib_test . -- MOS_MIGRATED_REVID=128033534
* Fix tests under build_defs/apple/test.Gravatar Dmitry Shevchenko2016-07-20
| | | | | -- MOS_MIGRATED_REVID=127851051
* Remove a TODO for a closed bug.Gravatar Dmitry Shevchenko2016-07-13
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=127208093
* Enable @testable import in swift_libraryGravatar Dmitry Shevchenko2016-07-11
| | | | | | | * Debug and fastbuild compilation modes now pass -enable-testing flag enabling internal symbol imports in test code. -- MOS_MIGRATED_REVID=126925229
* Make swift_library explicitly specify the module maps it is using.Gravatar Dmitry Shevchenko2016-07-11
| | | | | | | * This seems to fix an issue with Clang loading the same header twice when it's discovering module maps implicitly. Also makes the command line cleaner. -- MOS_MIGRATED_REVID=126922449
* Switch swift_library to using swiftc instead of swift -frontend.Gravatar Dmitry Shevchenko2016-07-08
| | | | | | | | | * Adds output file map support, to handle compiler outputs with multiple inputs such as Whole Module Optimization compilation. * Properly archives object file outputs into a static library. -- MOS_MIGRATED_REVID=126811405
* Global cleanup change.Gravatar Laurent Le Brun2016-07-07
| | | | | -- MOS_MIGRATED_REVID=126687108
* Add all the sources to //:srcs filegroup and add a check to detectGravatar Damien Martin-Guillerez2016-07-01
| | | | | | | | | | | missing file to it. We need to activate this check on presubmits -- Change-Id: Ia95e92d3816ce92bb69bc0e2cf56e9c60b68d970 Reviewed-on: https://bazel-review.googlesource.com/#/c/3949/ MOS_MIGRATED_REVID=126404792
* Add compilation mode handling to swift_library.Gravatar Dmitry Shevchenko2016-06-30
| | | | | -- MOS_MIGRATED_REVID=126235788
* Rollback of commit 368cc56fb2baa3e21be4acdd2410a4ce8245de93.Gravatar Googler2016-06-30
| | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Broke builds that use apple_genrule. *** Original change description *** Move platform environment from xcrun_action to apple_action. This change ensures that scripts that don't need to be wrapped with xcrun_action (like actoolwrapper, ibtoolwrapper, and friends, because they internally invoke xcrunwrapper) also have the Xcode version and platform envvars set. RELNOTES: -- MOS_MIGRATED_REVID=126205606
* Move platform environment from xcrun_action to apple_action.Gravatar Googler2016-06-30
| | | | | | | | | | | | This change ensures that scripts that don't need to be wrapped with xcrun_action (like actoolwrapper, ibtoolwrapper, and friends, because they internally invoke xcrunwrapper) also have the Xcode version and platform envvars set. RELNOTES: -- MOS_MIGRATED_REVID=126195267
* Improve Clang modules compilation from swift_library ruleGravatar Dmitry Shevchenko2016-06-29
| | | | | | | | * Passes additional defines and copts specified by objc_ rules to clang from the swift compilation. * Adds a module cache path flag that equals to the on used by objc_ targets. -- MOS_MIGRATED_REVID=126099975
* Add uses_swift flag to the providers exported by swift_library.Gravatar Dmitry Shevchenko2016-06-06
| | | | | | | * This eliminates the need to put "dummy.swift" into objc_binary targets that depend on swift_library. -- MOS_MIGRATED_REVID=124015750
* Cleanup framework path handling in swift_libraryGravatar Dmitry Shevchenko2016-06-01
| | | | | -- MOS_MIGRATED_REVID=123663717
* Update swift_library logic for module name generationGravatar Dmitry Shevchenko2016-05-30
| | | | | | | | * Modules are now named after its full target path by default. * module_name attribute can be used to override this logic. -- MOS_MIGRATED_REVID=123422704
* Add support for importing frameworks to swift_library.Gravatar Dmitry Shevchenko2016-05-27
| | | | | | | | | | * Adds a way to read FRAMEWORK_ keys from ObjcProvider and provide outputs as -F args to the compiler * Adds a sample dynamic framework for testing RELNOTES: swift_library is now able to import framework rules such as objc_framework. -- MOS_MIGRATED_REVID=123337139
* Add support for module maps to swift_libraryGravatar Dmitry Shevchenko2016-05-27
| | | | | | | | | * General cleanup of the rule code. * Adds a way to use modulemaps to import Objective-C code. * Adds a way to pass framework flags to the compiler and adds the developer frameworks dir from Xcode as one. -- MOS_MIGRATED_REVID=123217120
* Cleanup swift.bzl.Gravatar Dmitry Shevchenko2016-05-17
| | | | | | | | | Removes an old code path that is not relevant anymore. RELNOTES: -- MOS_MIGRATED_REVID=122534499
* Export Objective-C header from swift_library.Gravatar Dmitry Shevchenko2016-05-17
| | | | | | | | | * Switches the rule to output to genfiles/, this makes C-headers it produces importable by depending targets. RELNOTES: swift_library now generates an Objective-C header for its @objc interfaces. -- MOS_MIGRATED_REVID=122448949
* Add support for the new ObjcProvider interface.Gravatar Dmitry Shevchenko2016-05-03
| | | | | -- MOS_MIGRATED_REVID=121401592
* Replace the inlined SDK path with apple_common call.Gravatar Dmitry Shevchenko2016-04-27
| | | | | -- MOS_MIGRATED_REVID=120826589
* Add a Skylark rule to build Swift modules.Gravatar Dmitry Shevchenko2016-04-22
| | | | | | | | * Adds a swift_library rule that produces a (.a, .swiftmodule) pair. It can handle dependencies between modules and can be used as a dependency of objc_binary. * Does not work with Objective-C yet. -- MOS_MIGRATED_REVID=120578875
* Add apple_genrule to bazel.Gravatar Dave MacLachlan2016-04-21
-- MOS_MIGRATED_REVID=120349322