aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Remove circular symlinks to external dependenciesGravatar Kristina Chodorow2015-04-23
| | | | | | | Fixes #87. -- MOS_MIGRATED_REVID=91784426
* Use BuiltinFunction for all builtinsGravatar Francois-Rene Rideau2015-04-22
| | | | | | | | Replace the uses of AbstractFunction, MixedModeFunction, SkylarkFunction and SimpleSkylarkFunction by BuiltinFunction. -- MOS_MIGRATED_REVID=91763158
* Parser: Update code to prepare for list filtering.Gravatar Laurent Le Brun2015-04-22
| | | | | -- MOS_MIGRATED_REVID=91714318
* More Skylark function cleanupsGravatar Francois-Rene Rideau2015-04-22
| | | | | -- MOS_MIGRATED_REVID=91713784
* Add TEST_TMPDIR for BazelGravatar Kristina Chodorow2015-04-22
| | | | | | | Fixes #138. -- MOS_MIGRATED_REVID=91708374
* Fix downloader to download more than 2048 bytesGravatar Kristina Chodorow2015-04-22
| | | | | | | Fixes #129. -- MOS_MIGRATED_REVID=91707295
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* Tweak the default Skyframe thread count during testing. Since test cases are ↵Gravatar Eric Fellheimer2015-04-16
| | | | | | | typically small, the current default is too high. -- MOS_MIGRATED_REVID=91225981
* Cleanup in ValidationEnvironment wrt to user-defined functionsGravatar Laurent Le Brun2015-04-16
| | | | | -- MOS_MIGRATED_REVID=91216722
* VisibleForTesting cleanup in RunfilesGravatar Michajlo Matijkiw2015-04-16
| | | | | | | | | Many of the @VisibleForTesting annotations didn't actually apply. Remove them, apply the annotation to places where it applies, and change visibility of mttehods to be more restrictive. -- MOS_MIGRATED_REVID=91208297
* Build language: Implement integer divisionGravatar Laurent Le Brun2015-04-15
| | | | | -- MOS_MIGRATED_REVID=91192716
* Catch modulo by 0 errorsGravatar Laurent Le Brun2015-04-15
| | | | | -- MOS_MIGRATED_REVID=91181886
* Skylark: Remove static type checksGravatar Laurent Le Brun2015-04-15
| | | | | -- MOS_MIGRATED_REVID=91175430
* Quote %sdk_version% and %sim_device% in the template var.Gravatar Googler2015-04-15
| | | | | | | Make 'iPhone 5s' the default sim device until ios_simulator_version is bumped up to 8.2. -- MOS_MIGRATED_REVID=91122850
* Minimize calls to AggregatingAttributeMapper.visitAttribute. Attributes withGravatar Greg Estren2015-04-15
| | | | | | | | | multiple selects run the risk of exponential value growth, so we shouldn't request a full iteration of possible values unless that's really what the caller needs. -- MOS_MIGRATED_REVID=91118257
* Clarify requirement for source file on objc_binary.Gravatar Peter Schmitt2015-04-15
| | | | | -- MOS_MIGRATED_REVID=91100927