aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
Commit message (Collapse)AuthorAge
* Add -undefined dynamic_lookup to OSX linker optionsGravatar Damien Martin-Guillerez2015-05-18
| | | | | | | | | Fixes #67 -- Change-Id: I0d52bcf6f8d5011af545e3d861914fae09a26e42 Reviewed-on: https://bazel-review.googlesource.com/1340 MOS_MIGRATED_REVID=93713804
* Add a genrule that generates a dummy J2ObjC dead code removal script in ↵Gravatar Googler2015-05-15
| | | | | | | tools/objc/BUILD. -- MOS_MIGRATED_REVID=93447039
* Add ios_test.sh.bazel_templateGravatar Daniel Wagner-Hall2015-05-04
| | | | | -- MOS_MIGRATED_REVID=92725547
* Update ios_runner template to dynamically receive optionsGravatar David Santiago2015-04-30
| | | | | | | | | | | The SDK_VERSION and SIM_DEVICE variables in the runner script had hard-coded values. This change updates them to be set by the template expansion, so they can be controlled by the command-line options. -- Change-Id: I4a299ee781da19546eb137f115b8c174051ceb5f MOS_MIGRATED_REVID=92405720
* Update ios_runner template to dynamically receive optionsGravatar David Santiago2015-04-29
| | | | | | | | | | | | | | The SDK_VERSION and SIM_DEVICE variables in the runner script had hard-coded values. This change updates them to be set by the template expansion, so they can be controlled by the command-line options. -- MOS_MIGRATED_REVID=92278475 -- Change-Id: I4a299ee781da19546eb137f115b8c174051ceb5f MOS_MIGRATED_REVID=92356562
* Rollback of commit eb82a1d755396ed1b885af4efb809b4428d4d3d7.Gravatar Ulf Adams2015-04-29
| | | | | | | | | | | | | | | | | | *** Reason for rollback *** The double quotes are actually incorrect, because the strings we pass in are already single quoted. *** Original change description *** Update ios_runner template to dynamically receive options The SDK_VERSION and SIM_DEVICE variables in the runner script had hard-coded values. This change updates them to be set by the template expansion, so they can be controlled by the command-line options. -- MOS_MIGRATED_REVID=92337057
* Update ios_runner template to dynamically receive optionsGravatar David Santiago2015-04-28
| | | | | | | | | | | The SDK_VERSION and SIM_DEVICE variables in the runner script had hard-coded values. This change updates them to be set by the template expansion, so they can be controlled by the command-line options. -- Change-Id: I4a299ee781da19546eb137f115b8c174051ceb5f MOS_MIGRATED_REVID=92278475
* Added py_test rule to BazelGravatar Damien Martin-Guillerez2015-04-17
| | | | | | | | | | | | | | py_test rule enable to use a test written in Python. A py_test is basically a py_binary that returns a non null on failure. Extraneous support is need to have nice output (see //src/test/shell/unittest.bash for the kind of support neeeded). Actually the py_test code was already there but it was just missing the necessary glue code. Also added an integration test for py_* rules in Bazel. -- MOS_MIGRATED_REVID=91407748
* Add [/System]/Library/Frameworks to the Darwin toolchain definition.Gravatar Han-Wen Nienhuys2015-04-15
| | | | | | | | | | | | | | | | | | | | | | According to my Mac, this is the search path: Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) Target: x86_64-apple-darwin13.4.0 #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1 /usr/local/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /usr/include /System/Library/Frameworks (framework directory) /Library/Frameworks (framework directory) Fixes #85. -- MOS_MIGRATED_REVID=91194177
* Document crosstool_top a little better.Gravatar Han-Wen Nienhuys2015-04-08
| | | | | -- MOS_MIGRATED_REVID=90612869
* Remove unnecessary -B flag from linker command line.Gravatar Han-Wen Nienhuys2015-04-08
| | | | | | | | | | | Relative to the last try, add -B to Linux CROSSTOOL entry, and test the result on OSX and Linux. This should fix working with GCC cross compilers installed into /usr/bin/ next to the host ld. -- MOS_MIGRATED_REVID=90605463
* Fix issue #82Gravatar Ethan Rublee2015-03-31
| | | | | | | | | | This is the patch which fixes the bug reported in #82 https://github.com/google/bazel/issues/82 Change-Id: Ia007b37a3c6156d4373bac24b1776e62d09daa57 -- MOS_MIGRATED_REVID=89992365
* Make Skylark genproto deterministicGravatar Damien Martin-Guillerez2015-03-31
| | | | | | | | Using JavaBuilder instead of the JDK makes generated jar files timestampless. -- MOS_MIGRATED_REVID=89950774
* Make tests work even in the top level directory :)Gravatar Gunther Noack2015-03-30
| | | | | -- MOS_MIGRATED_REVID=89858590
* Make Python rules in Bazel actually work.Gravatar Lukacs Berki2015-03-30
| | | | | | | In particular: add a BazelPythonSemantics implementation and the respective RuleConfiguredTarget factories, rule class definitions and hook them up with BazelRuleClassProvider. Add implicit dependencies (2to3 is just a stub script for now that always fails) and a tiny exampe. -- MOS_MIGRATED_REVID=89691827
* Use a wrapper around gcc on OSX to simulate rpathGravatar Damien Martin-Guillerez2015-03-25
| | | | | | | | | | | OS X does not have rpath so binary fails when not executing from the good path. This wrapper rewrite the path after the compilation to fix that behavior. Fixes #46 -- MOS_MIGRATED_REVID=89527942
* Remove experimental Go support until we have a solution which fits the 'go' ↵Gravatar Han-Wen Nienhuys2015-03-25
| | | | | | | tool conventions better. -- MOS_MIGRATED_REVID=89510837
* Add /usr/local/include to C++ CROSSTOOL for darwinGravatar Damien Martin-Guillerez2015-03-25
| | | | | | | Fixes #51 -- MOS_MIGRATED_REVID=89487705
* Open-source Bazel integration testsGravatar Damien Martin-Guillerez2015-03-25
| | | | | | | | | It is a first batch of integration tests for Bazel. They tests some basic behaviors and nominal cases of Bazel rules (especially they tests the behavior of the examples provided in //examples). -- MOS_MIGRATED_REVID=89440074
* Replaced test-setup.sh shebang to use /bin/bashGravatar Damien Martin-Guillerez2015-03-24
| | | | | | | | /bin/sh was making OS X behave strange (under OS X /bin/sh is a bash configured as it was an old school shell). -- MOS_MIGRATED_REVID=89300270
* Fixed Skylark python rule under OS XGravatar Damien Martin-Guillerez2015-03-23
| | | | | | | | find on OS X does not support not provided a path argument. Python example was failing because of it. -- MOS_MIGRATED_REVID=89287951
* Description redacted.Gravatar Daniel Wagner-Hall2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89161226
* Add compilation of objc helper tools to compile.shGravatar Daniel Wagner-Hall2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89147775
* Genrules "set -euo pipefail" by default.Gravatar Laszlo Csomor2015-03-20
| | | | | -- MOS_MIGRATED_REVID=89118665
* Open-source unittest.bashGravatar Damien Martin-Guillerez2015-03-18
| | | | | | | | | This is part of the shell test infrastructure for Bazel. It creates test suites in Bazel shell. Handling the test ouputs efficiently for making test summaries. -- MOS_MIGRATED_REVID=88929067
* Introduce objc tools, including dummy.Gravatar Peter Schmitt2015-03-18
| | | | | -- MOS_MIGRATED_REVID=88742502
* Make JDK not need tools/jdk/jdk symlinkedGravatar Kristina Chodorow2015-03-18
| | | | | -- MOS_MIGRATED_REVID=88742425
* Defaulted cpu to the host cpuGravatar Damien Martin-Guillerez2015-03-13
| | | | | | | | This should remove the needs for the --cpu=darwin flag under darwin. Bazel build are now using the host cpu too. This commit also fix the host cpu detection. The host cpu detection was too late and and some corner case was not really working with configurable attributes. It is now done as the default value for the --host_cpu flag. -- MOS_MIGRATED_REVID=88427551
* Fix forgotten assignment.Gravatar Han-Wen Nienhuys2015-03-11
| | | | | -- MOS_MIGRATED_REVID=88350250
* Productionize Bazel's skylark go rules.Gravatar Han-Wen Nienhuys2015-03-11
| | | | | -- MOS_MIGRATED_REVID=88232883
* Fix the paths of Bazel's jdk packageGravatar Damien Martin-Guillerez2015-03-10
| | | | | -- MOS_MIGRATED_REVID=88232306
* Global cleanup change.Gravatar Laurent Le Brun2015-02-25
| | | | | -- MOS_MIGRATED_REVID=87194107
* Add documentation for Skylark Go rules.Gravatar Han-Wen Nienhuys2015-02-23
| | | | | -- MOS_MIGRATED_REVID=86946740
* Improve Java examplesGravatar Kristina Chodorow2015-02-20
| | | | | -- MOS_MIGRATED_REVID=86787893
* Add symlinks to third_party/ and tools/ to base_workspaceGravatar Kristina Chodorow2015-02-19
While attempting to clean up the Bazel examples, I noticed that the example tests don't actually work because they expect a third_party directory. We could link third_party/ from the top-level bazel directory, but then we'd have crossing symlinks (base_workspace/tools->tools and third_party->base_workspace/third_party). Linking everything in one direction seemed like a better option, but alternative suggestions are welcome. -- MOS_MIGRATED_REVID=86703332