aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/osx
Commit message (Collapse)AuthorAge
* Prefixes xcodebuild with xcrun in order to avoid getting erroneous results ↵Gravatar Sergio Campama2017-02-23
| | | | | | | | when detecting the installed Xcode versions. -- PiperOrigin-RevId: 148277514 MOS_MIGRATED_REVID=148277514
* Further improve error handling of xcode_configure.bzlGravatar Chris Parsons2017-02-22
| | | | | | | | | - Print developer_dir when an error occurs during getting a specific xcode's SDK info - Increase process timeouts from 5 seconds to 30 seconds. (There are some preliminary reports that users on slower Macs may be reaching this timeout on occasion) -- PiperOrigin-RevId: 148135624 MOS_MIGRATED_REVID=148135624
* Improve xcode-configure error messaging, and use "env -i" to clear ↵Gravatar Chris Parsons2017-02-17
| | | | | | | | environment for various processes -- PiperOrigin-RevId: 147780864 MOS_MIGRATED_REVID=147780864
* xcode locator prefers xcodes installed under /Applications/Gravatar Chris Parsons2017-01-03
| | | | | | -- PiperOrigin-RevId: 143463741 MOS_MIGRATED_REVID=143463741
* Fixes for generating xcode-locator-bin on Tulsi.Gravatar Chris Parsons2016-11-07
| | | | | | | Clear certain environment variables on xcrun invocation to generate xcode-locator-bin, and provide additional error output if the invocation should fail. -- MOS_MIGRATED_REVID=138221908
* Check "xcodebuild -version" first before building the xcode locator.Gravatar Chris Parsons2016-10-05
| | | | | | | This prevents a warning on machines which have no xcode versions installed. -- MOS_MIGRATED_REVID=135131956
* In local_xcode_config rule, when xcode-locator-bin fails (generally due to ↵Gravatar Chris Parsons2016-09-21
| | | | | | | xcode not being installed), create a stub xcode_version target instead of a malformed one. -- MOS_MIGRATED_REVID=133709696
* Fix error message to actually use python string formattingGravatar Kristina Chodorow2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | This is using printf-style formatting, which Python happily accepts and ignores. Part of #1750: now, instead of printing ``` xcode_configure.bzl:57:5: Invoking xcodebuild failed, return code %s, stderr: %s 1 ``` it prints: ``` xcode_configure.bzl:57:5: Invoking xcodebuild failed, return code 1, stderr: xcrun: error: missing DEVELOPER_DIR path: E.g. no application claims the file" ``` Closes #1751. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/1751 MOS_MIGRATED_REVID=132884125
* xcode_configure repository rule for determining locally installed versions ↵Gravatar Chris Parsons2016-09-01
| | | | | | | | | | | of xcode to select between, relaxing the requirement that users specify --xcode_version and --ios_sdk_version even if they have only one version installed. RELNOTES: On mac devices, detect locally installed versions of xcode to: 1. Use a sensible default if xcode is required but --xcode_version is unspecified. 2. Use sensible default iOS SDK version for the targeted version of xcode if ios_sdk_version is unspecified. -- MOS_MIGRATED_REVID=131841587
* Export xcode_locator's source file under tools/osx/ to make it available for ↵Gravatar Chris Parsons2016-07-21
| | | | | | | reference by future repository rules. Removes the xcode-locator binary file under tools/objc. Originally, the precompiled binary was going to be referenced, but it's easier to build from source in the repository rule. -- MOS_MIGRATED_REVID=128063694
* Remove breakpad support from bazelGravatar Dmitry Shevchenko2016-06-21
| | | | | -- MOS_MIGRATED_REVID=125385321
* Makes the use of dump_syms_stub non-fatal.Gravatar Erik Abair2016-04-18
| | | | | | | It appears as though the --objc_generate_debug_symbols flag generates a viable dSYM bundle before the build is failed by this stub script. This change makes the stub a warning instead of an error so that users can utilize the generated dSYM to do debugging. -- MOS_MIGRATED_REVID=119958618
* Move dump_syms from //tools/objc to //tools/osx. This will allow it to be ↵Gravatar Cal Peyser2016-03-15
referenced from the crosstool without crossing package boundaries. -- MOS_MIGRATED_REVID=117137594