aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/xcode
Commit message (Collapse)AuthorAge
* Speed up resetting file/directory dates to zip epoch by 100x. Gravatar Googler2016-06-27
| | | | | | | | | | | | | It is better to use the {} + as it passes the file list to touch instead of calling touch command once for each file. This will reduce the number of times touch process is created and massively speed up the script From man page -exec utility [argument ...] {} + Same as -exec, except that ``{}'' is replaced with as many pathnames as possible for each invocation of utility. This behaviour is similar to that of xargs(1). -- MOS_MIGRATED_REVID=125821677
* "xcode_locator -v" dedupes multiple copies of the same xcode version ↵Gravatar Chris Parsons2016-06-24
| | | | | | | | | installed on the host, and appends DEVELOPER_DIR to the specification on each line. This should be the last of what is needed from this option, in order to launch local generated xcode_config and xcode_version targets in skylark. -- MOS_MIGRATED_REVID=125725500
* Move libtool-wrapper symlinking logic from xcrunwrapper to libtool script.Gravatar Chris Parsons2016-06-15
| | | | | -- MOS_MIGRATED_REVID=124831722
* xcode_locator supports -v mode, which outputs only system-supported xcode ↵Gravatar Chris Parsons2016-06-09
| | | | | | | | | versions and their aliases in easily-parsed format This is convenient as skylark does not have extensive string-parsing (regex) features, and when xcode-locator is invoked from a skylark rule, this format is cleanest and contains only relevant info. -- MOS_MIGRATED_REVID=124372740
* Rollback of commit 6eea9bd27fc88129ccb2d74c1b550e83ebf39f17.Gravatar Googler2016-06-07
| | | | | | | | | | | | | *** Reason for rollback *** Broke Mac local builds *** Original change description *** Add export ZERO_AR_DATE=1 to libtool.sh removing possible timestamp issues. -- MOS_MIGRATED_REVID=124258787
* Add export ZERO_AR_DATE=1 to libtool.sh removing possible timestamp issues.Gravatar Googler2016-06-07
| | | | | -- MOS_MIGRATED_REVID=124240308
* Move xcode-locator into src/tools packages, defining it as a target under ↵Gravatar Chris Parsons2016-05-30
| | | | | | | @bazel_tools. Currently the tool still remains in embedded_binaries, but we will migrate away from that: Eventually it can simply live just under @bazel_tools. -- MOS_MIGRATED_REVID=123436822
* 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
* Attempt 3 at deduping libtool inputs with the same basename. Libtool wrapper ↵Gravatar Chris Parsons2016-05-06
| | | | | | | overrides old previous symlinks it created. -- MOS_MIGRATED_REVID=121609372
* Rollback of commit c9f2881f2540a7aa7c5f6d76f4bdad5d35d1c3b6.Gravatar Googler2016-05-04
| | | | | | | | | | | | | *** Reason for rollback *** Seems to have broken exoblaze builds. https://paste.googleplex.com/5185376662585344 happens when rebuilding after a trivial change (removed a single method). *** Original change description *** Rollforward of "Workaround for duplicate input basename bug in apple's libtool", with regex fix -- MOS_MIGRATED_REVID=121483994
* Resolve ibtoolwrapper at the right pathGravatar Kristina Chodorow2016-05-04
| | | | | | | | | | | | | | | | | | | | | | | Previously, bazel_tools would be under whatever.runfiles/workspace-name/external/bazel_tools. However, we allowed "" as the workspace name (and Bazel's workspace name was "") so a lot of scripts started assuming that bazel_tools would be at whatever.runfiles/external/bazel_tools. Going forward, the runfiles tree looks like: whatever.runfiles/ __main__/ ... bazel_tools/ tools/ objc/ ... some_other_repo/ ... So all of the repos are on the same "level" of the directory tree. This lets you refer to runfiles the same way (x.runfiles/repo/path/to/your/thing) whether you're running locally or importing it as an external repository (see https://github.com/bazelbuild/bazel/wiki/Updating-the-runfiles-tree-structure for more detail than you probably care about). Fixes #1227. -- MOS_MIGRATED_REVID=121435276
* Rollforward of "Workaround for duplicate input basename bug in apple's ↵Gravatar Chris Parsons2016-05-03
| | | | | | | libtool", with regex fix -- MOS_MIGRATED_REVID=121390817
* Rollback of commit 910a907e643d3b1320c9ebd6b2b339848089acce.Gravatar Chris Parsons2016-05-03
| | | | | -- MOS_MIGRATED_REVID=121291329
* Workaround for duplicate input basename bug in apple's libtool.Gravatar Chris Parsons2016-05-03
| | | | | | | Creates a symlink for each input file to libtool, with a md5 hash suffix, and passes these symlinks instead. -- MOS_MIGRATED_REVID=121279266
* Remove unnecessary bashism.Gravatar Julio Merino2016-03-03
| | | | | | | | | The run_tests.sh script uses /bin/sh, not bash. From a cursory look, it seems that this script uses a single bash-specific feature so drop it in favor of the standard syntax. -- MOS_MIGRATED_REVID=116243391
* Add a bazel-srcs target to the top-level package containing all Bazel sourcesGravatar Damien Martin-Guillerez2016-02-29
| | | | | | | | This target include all non tests targets of Bazel to do integration tests of bootstrapping. -- MOS_MIGRATED_REVID=115830741
* Uses xcodebuild's and xcrun's -version flag in order to generate the variablesGravatar Anastasios Kakalis2016-02-25
| | | | | | | | | needed for the Info.plist. RELNOTES: -- MOS_MIGRATED_REVID=115564028
* Have xcode action wrappers use $TMPDIR if using mktempGravatar Googler2016-02-23
| | | | | -- MOS_MIGRATED_REVID=115373672
* Base tools/objc tool script deps off of their current locationGravatar Chris Parsons2016-02-11
| | | | | -- MOS_MIGRATED_REVID=114365733
* Now that rules find their tools via runfiles, remove unneeded dependencies ↵Gravatar Dave MacLachlan2016-02-04
| | | | | | | | | in rules/tests and move them into the build files. Fix up environment_plist so it works like the other scripts. -- MOS_MIGRATED_REVID=113799298
* Use runfiles-relative paths for tools/objc shell scriptsGravatar Chris Parsons2016-01-20
| | | | | -- MOS_MIGRATED_REVID=112478681
* Rollback of commit ac6ed79e1a3fa6b0ca91657b28e2a35f7e49758c.Gravatar Damien Martin-Guillerez2016-01-11
| | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Roll-forward with fix *** Original change description *** Automated [] rollback of []. *** Reason for rollback *** Broke tests on Mac: https://google.com/url?sa=D&q=http%3A%2F%2Fci.bazel.io%2Fjob%2FBazel%2FJAVA_VERSION%3D1.8%2CPLATFORM_NAME%3Ddarwin-x86_64%2F269%2Fconsole *** Original change description *** Speed-up bootstrap on OS X by removing tool compilation. -- MOS_MIGRATED_REVID=111833617
* Rollback of commit b9f401b97590cb95e76efb0ba8bf5319cfe93108.Gravatar Dmitry Lomov2015-12-22
| | | | | | | | | | | | | *** Reason for rollback *** Broke tests on Mac: https://google.com/url?sa=D&q=http%3A%2F%2Fci.bazel.io%2Fjob%2FBazel%2FJAVA_VERSION%3D1.8%2CPLATFORM_NAME%3Ddarwin-x86_64%2F269%2Fconsole *** Original change description *** Speed-up bootstrap on OS X by removing tool compilation. -- MOS_MIGRATED_REVID=110785493
* Speed-up bootstrap on OS X by removing tool compilation.Gravatar Damien Martin-Guillerez2015-12-21
| | | | | -- MOS_MIGRATED_REVID=110704529
* Get rid of compression when zipping up files to improve local compilation ↵Gravatar Dave MacLachlan2015-11-18
| | | | | | | | | performance. RELNOTES:none -- MOS_MIGRATED_REVID=108086031
* 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
* In objc tools, refer to the realpath tool using its full embedded tool ↵Gravatar Chris Parsons2015-10-29
| | | | | | | location. Then, if unavailable, look relative to the workspace. -- MOS_MIGRATED_REVID=106536282
* Fix up actool, ibtool etc so that they can handle empty output.Gravatar Dave MacLachlan2015-10-05
| | | | | -- MOS_MIGRATED_REVID=104581383
* Fixes a typo in the plist generation of the 'DTXcodeBuild' field.Gravatar Anastasios Kakalis2015-09-30
| | | | | -- MOS_MIGRATED_REVID=104296839
* Move actoolzip, momczip and swiftstdlibtoolzip to tools/xcode and convert ↵Gravatar Dave MacLachlan2015-09-30
| | | | | | | | | them to scripts instead of java apps. RELNOTES: actoolzip, momczip and swiftstdlibtoolzip have all been made into bash scripts and have been renamed to actoolwrapper, momcwrapper and swiftstdlibtoolwrapper respectively. The old versions will be deleted in a later change. -- MOS_MIGRATED_REVID=104225062
* 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
* Makes the generation of the Info.plist environment variables fail-safe.Gravatar Anastasios Kakalis2015-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | This prevents the invocation from failing, when one of the variables could not be discovered (and mimics the behavior of Xcode 7.1 and SDK 9.1). An example generated with SDK 9.1 { ... BuildMachineOSBuild = 14F27; DTCompiler = "com.apple.compilers.llvm.clang.1_0"; DTPlatformBuild = ""; DTPlatformVersion = "9.1"; DTSDKBuild = 13B5110e; DTXCodeBuild = 7B60; DTXcode = 0710; ... } RELNOTES: -- MOS_MIGRATED_REVID=103191602
* Parses the correct values of SDK, Platform and XCode version numbers when ↵Gravatar Anastasios Kakalis2015-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | generating the environment's plist. The script no longer parses the values from the Platform's Info.plist, which contained the values used to compile the Platform's library *itself*, rather than the values of the actual running environment. Also the BuildMachineOSBuild is being read from the sw_version, rather than the Xcode's plist, and the DTSDKBuild is determined by the plist under sdk-path. An example environment.plist: { BuildMachineOSBuild = 14F27; DTCompiler = "com.apple.compilers.llvm.clang.1_0"; DTPlatformBuild = 12H141; DTPlatformVersion = "8.4"; DTSDKBuild = 12H141; DTXCodeBuild = 6E35b; DTXcode = 0640; } -- MOS_MIGRATED_REVID=103079006
* Fix up StdRedirect.c so it reports errors into CrashLogs and crashes instead ↵Gravatar Dave MacLachlan2015-08-11
| | | | | | | | | | | of just to system log which can be missed. Fix up update_binaries so that StdRedirect.dylib is built before testrunner, because at this time testrunner is bundling StdRedirect into its jar file and there testrunner could easily pick up older binaries. RELNOTES:none -- MOS_MIGRATED_REVID=100300804
* Rollback of commit da3cb806351e929becef19652c65d39efa61b9d9.Gravatar Googler2015-08-04
| | | | | | | | | | | | | *** Reason for rollback *** Breaking builds. [] *** Original change description *** RELNOTES: actoolzip, momczip and swiftstdlibtoolzip have all been made into bash scripts and have been renamed to actoolwrapper, momcwrapper and swiftstdlibtoolwrapper respectively. The old versions will be deleted in a later change. -- MOS_MIGRATED_REVID=99742398
* RELNOTES: actoolzip, momczip and swiftstdlibtoolzip have all been made into ↵Gravatar Googler2015-08-04
| | | | | | | bash scripts and have been renamed to actoolwrapper, momcwrapper and swiftstdlibtoolwrapper respectively. The old versions will be deleted in a later change. -- MOS_MIGRATED_REVID=99521906
* Rollback of commit b8d1e700841d8aa7186ccbdfb0eba53e12a672d0.Gravatar Lukacs Berki2015-07-21
| | | | | | | | | | | | | | | *** Reason for rollback *** Breaks most of the iOS targets on our continuous build. *** Original change description *** Move actoolzip, momczip and swiftstdlibtoolzip to tools/xcode and convert them to scripts instead of java apps. RELNOTES: actoolzip, momczip and swiftstdlibtoolzip have all been made into bash scripts and have been renamed to actoolwrapper, momcwrapper and swiftstdlibtoolwrapper respectively. The old versions will be deleted in a later change. -- MOS_MIGRATED_REVID=98716081
* Description redacted.Gravatar Googler2015-07-16
| | | | | -- MOS_MIGRATED_REVID=98347349
* Moves ibtoolzip from src/tools/xcode-common/j/c/g/devtools/ to src/tools/xcode.Gravatar Googler2015-07-08
| | | | | | | | | | Moves ibtoolzip from being java based to being bash based for easier dev/testing. Changes the name of ibtoolzip to ibtoolwrapper to avoid conflicts with currently deployed bazel depending on the ibtoolzip name. Updates realpath Cleans up update_binaries.sh -- MOS_MIGRATED_REVID=97724252
* Implementation of realpath for Mac OS X. This will allow us to move some of ↵Gravatar Googler2015-07-01
| | | | | | | | | our tools (ibtool, actool etc) to shell scripts which should be faster and easier to maintain. RELNOTES: -- MOS_MIGRATED_REVID=97263085
* StdRedirect library for interposing iOSSimulator so we can redirect ↵Gravatar Googler2015-06-19
stdin,stdout,stderr. A full example of its usage is in RunTests.sh. -- MOS_MIGRATED_REVID=96319787