aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Fix downloader to download more than 2048 bytesGravatar Kristina Chodorow2015-04-22
| | | | | | | Fixes #129. -- MOS_MIGRATED_REVID=91707295
* Fix compile.sh for macportsGravatar Allen Porter2015-04-22
| | | | | | | | | | | | | | Add a newline to compile.sh so that the archive_dir variable is preserved when building with macports. Without this, we see the following: $ ./compile.sh cp: /include/archive.h: No such file or directory cp: /include/archive_entry.h: No such file or directory -- Change-Id: c03f3ba7070339ad2e9a0373f98135f780484431 MOS_MIGRATED_REVID=91703218
* Make the eclipse set-up more generic and support //external targetsGravatar Damien Martin-Guillerez2015-04-22
| | | | | | | | | | | | | | | | | | | | | With this change, other people might just copy the setup-eclipse.sh and get_project_path.sh scripts and adapt it to their workspace (change the variables at the top of the setup-eclipse.sh script) to generate an eclipse project. I tested it by replacing guava dependency in Bazel by a maven_jar and importing the project in Eclipse on OS X. It is incomplete because it actually filters out bind dependencies for generated java source but there might be some java generation in them if importing an other actual workspace. Let say that you have your project and you want to import targets from the Bazel workspace, the java library from generated sources won't be imported in the Eclipse classpath and the sources will be imported as source in the Eclipse classpath. -- MOS_MIGRATED_REVID=91696217
* Header cleanups.Gravatar Han-Wen Nienhuys2015-04-22
| | | | | -- MOS_MIGRATED_REVID=91681168
* This should fix the shell tests.Gravatar Ulf Adams2015-04-22
| | | | | | | | | | | - expectation in testSimpleKillableObserver is wrong - work around race condition in testSimpleKillableObserver by sleeping - make FutureConsumptionTest thread-safe Thanks to Adrian Colley for the report. -- MOS_MIGRATED_REVID=91678160
* Remove Package.AbstractBuilder.Gravatar Han-Wen Nienhuys2015-04-22
| | | | | | | | This simplifies the code a little, and prepares for properly serializing ExternalPackage. -- MOS_MIGRATED_REVID=91673213
* Remove references to disabled --dump_makefile flag.Gravatar Han-Wen Nienhuys2015-04-22
| | | | | | | Fixes #136. -- MOS_MIGRATED_REVID=91671793
* Add the option to match by regexp in RecursiveFilesystemTraversal.Gravatar Janak Ramakrishnan2015-04-21
| | | | | -- MOS_MIGRATED_REVID=91642690
* Description redacted.Gravatar Googler2015-04-21
| | | | | -- MOS_MIGRATED_REVID=91617486
* Refactor link command line to live in CompilationSupport.Gravatar Peter Schmitt2015-04-21
| | | | | | | Also simplifies command line construction and removes redundant linker arguments. -- MOS_MIGRATED_REVID=91613561
* Add a clear() method to FileOutErr.Gravatar Eric Fellheimer2015-04-21
| | | | | -- MOS_MIGRATED_REVID=91605508
* Migrate SkylarkBuiltin annotations to SkylarkSignature instead.Gravatar Francois-Rene Rideau2015-04-21
| | | | | -- MOS_MIGRATED_REVID=91603959
* Remove reference to deleted experimental Go rules.Gravatar Han-Wen Nienhuys2015-04-21
| | | | | | | Fixes #135. -- MOS_MIGRATED_REVID=91595722
* Removing documentation about non-functionnal flags.Gravatar Damien Martin-Guillerez2015-04-20
| | | | | | | Fix #140 -- MOS_MIGRATED_REVID=91581443
* Skylark fail function: Remove when attribute.Gravatar Laurent Le Brun2015-04-20
| | | | | | | It appears to be unused. Use an explicit 'if' instead. -- MOS_MIGRATED_REVID=91581070
* Improved Eclipse support for the Bazel projectGravatar Damien Martin-Guillerez2015-04-20
| | | | | | | | | | | | | Now the paths are 100% determined using Bazel query. To adapt to another project, change the variables at the top of the setup-eclipse.sh file. It also handles correctly java_plugins now. Because we must do queries on the full workspace, it is not easy to embed in a bazel build. I made a prototype for it but it is really impractical. -- MOS_MIGRATED_REVID=91580472
* Skylark documentation: Add missing linksGravatar Laurent Le Brun2015-04-20
| | | | | -- MOS_MIGRATED_REVID=91578316
* Fix non-determinist test.Gravatar Laurent Le Brun2015-04-20
| | | | | -- MOS_MIGRATED_REVID=91573977
* Remove legacy methods Package#{getRules,getFiles}.Gravatar Han-Wen Nienhuys2015-04-20
| | | | | -- MOS_MIGRATED_REVID=91573102
* Pass in the test environment using ↵Gravatar Lukacs Berki2015-04-20
| | | | | | | | | | | BuildConfiguration.Options.testEnvironment instead of special-casing it in a large number of classes. The variables in the client environment are read in BlazeRuntime#beforeCommand() now. Note that this entails a slight loss of caching: before, "--test_env=a=A,b=B" and "--test_env=b=B,a=A" were equivalent, now they are not, since instead of comparing Map<String, String>, List<Map.Entry<String,String>> instances are compared. -- MOS_MIGRATED_REVID=91570828
* Bazel compile.sh: prevent BUILD file to be copied in the outputGravatar Damien Martin-Guillerez2015-04-20
| | | | | | | | We should also move the output directory to bazel-something so it get excluded from the package path. -- MOS_MIGRATED_REVID=91567602
* Added resources folder for IntelliJ project generationGravatar Damien Martin-Guillerez2015-04-20
| | | | | | | It was omitted in commit ee85e55ca03e945f7babb9a1c619a6a7bbfc1d51. -- MOS_MIGRATED_REVID=91529961
* Add support for creating an IntelliJ project.Gravatar Janak Ramakrishnan2015-04-19
| | | | | -- MOS_MIGRATED_REVID=91492842
* More skylark function cleanupsGravatar Francois-Rene Rideau2015-04-17
| | | | | -- MOS_MIGRATED_REVID=91407816
* 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
* Fix a typo.Gravatar Googler2015-04-17
| | | | | -- MOS_MIGRATED_REVID=91406724
* A minor refactoring of BlazeRuntime.Gravatar Lukacs Berki2015-04-17
| | | | | -- MOS_MIGRATED_REVID=91405317
* A minor simplification in Java rules.Gravatar Lukacs Berki2015-04-17
| | | | | -- MOS_MIGRATED_REVID=91404445
* Open source the configuration tests.Gravatar Ulf Adams2015-04-17
| | | | | | | | | | | | | | | | | | - update the MOCK_CROSSTOOL to provide more stuff needed by tests - add a THIS_IS_BAZEL constant to allow disabling individual test cases - disable some tests in Bazel The disabled tests are mainly due to differences in the test setup - making the test setups more similar will largely fix that. I think we'll make some changes to our internal setup, too, not just the external one. For example, the use of 'k8' and 'piii' to refer to 'x86_64' and 'x86' seems archaic. I decided to leave the dependency on the C++ and Java configurations rather than rewriting the tests to use mock configurations. That would be nicer, but also requires significantly more work. -- MOS_MIGRATED_REVID=91399406
* Use Object#equals.Gravatar Nathan Harmata2015-04-17
| | | | | -- MOS_MIGRATED_REVID=91398200
* Remove the full client environment from BuildConfiguration in favor of ↵Gravatar Lukacs Berki2015-04-17
| | | | | | | computing the test environment as early as possible, and passing that along. -- MOS_MIGRATED_REVID=91388451
* Add a page listing projects that use BazelGravatar Kristina Chodorow2015-04-17
| | | | | -- MOS_MIGRATED_REVID=91334910
* Build language: Add sorted function.Gravatar Laurent Le Brun2015-04-17
| | | | | -- MOS_MIGRATED_REVID=91322217
* Further reduction of calls to AggregatingAttributeMapper.visitAttribute.Gravatar Greg Estren2015-04-16
| | | | | | | This is now not called on the regular build path except for computed defaults. -- MOS_MIGRATED_REVID=91306062
* Define a reusable comparator for Skylark objects.Gravatar Laurent Le Brun2015-04-16
| | | | | -- MOS_MIGRATED_REVID=91304912
* Update the Test Encylopedia with a description of the TEST_TIMEOUT env ↵Gravatar Googler2015-04-16
| | | | | | | variable that was introduced in -- MOS_MIGRATED_REVID=91304016
* RELNOTES:Observe "non_propagated_deps" on objc rules in generated XCode ↵Gravatar Googler2015-04-16
| | | | | | | project files. -- MOS_MIGRATED_REVID=91300378
* Simplify ValidationEnvironment.Gravatar Laurent Le Brun2015-04-16
| | | | | | | We need only a set of symbols, types are not used anymore. -- MOS_MIGRATED_REVID=91299566
* Check exports for J2ObjcSrcsProvider.Gravatar Googler2015-04-16
| | | | | -- MOS_MIGRATED_REVID=91298191
* Bazel compile.sh: test for existence of the protoc compilerGravatar Damien Martin-Guillerez2015-04-16
| | | | | | | | | Tested with removing the protoc binaries from a github copy. Fixes #128. -- MOS_MIGRATED_REVID=91297812
* Remove dependency on bcGravatar Kristina Chodorow2015-04-16
| | | | | | | This makes installation easier for systems that don't come with bc installed (e.g., Travis CI and Ubuntu Vivid Vervet). -- MOS_MIGRATED_REVID=91297054
* Correctly quotes JAVA_HOME in Bazel's compile.shGravatar Damien Martin-Guillerez2015-04-16
| | | | | | | | | Part the fix for bug #128 Tested by making JDK point to a folder with space. -- MOS_MIGRATED_REVID=91295878
* Build language supports list comparison.Gravatar Laurent Le Brun2015-04-16
| | | | | -- MOS_MIGRATED_REVID=91289047
* Add a missing "final" modifier.Gravatar Lukacs Berki2015-04-16
| | | | | -- MOS_MIGRATED_REVID=91288032
* Actually run the actions tests in Bazel.Gravatar Ulf Adams2015-04-16
| | | | | | | This requires writing a workspace file for the JDK. -- MOS_MIGRATED_REVID=91287178
* Simplify BuildConfigurationTest and ConfigurationTestCase.Gravatar Ulf Adams2015-04-16
| | | | | -- MOS_MIGRATED_REVID=91286405
* Move test cases from BuildConfigurationTest to more specific test classes.Gravatar Ulf Adams2015-04-16
| | | | | -- MOS_MIGRATED_REVID=91284411
* Add a function to JavaCommon to create instrumented jars.Gravatar Lukacs Berki2015-04-16
| | | | | -- MOS_MIGRATED_REVID=91277053
* Add constraint validation logic to JavaCommon.Gravatar Lukacs Berki2015-04-16
| | | | | -- MOS_MIGRATED_REVID=91276183
* Become more restrictive around Runfiles#manifestExpanderGravatar Michajlo Matijkiw2015-04-16
| | | | | | | | | | | | Previously the contract was pretty liberal and could allow addition of extra Artifacts. Create a more restrictive interface allowing the bare minimum- adding empty files to the tree. This makes the contract of Runfiles#getAllArtifacts() more sound, since arbitrary artifacts can't be added, and it makes it easier to figure out what implementations of manifest expansion exist out there. -- MOS_MIGRATED_REVID=91233821