aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build
Commit message (Collapse)AuthorAge
* Blaze docs: open-source the Skylark API documentation.Gravatar Laszlo Csomor2015-03-25
| | | | | -- MOS_MIGRATED_REVID=89499954
* Skylark: native module is updated.Gravatar Googler2015-03-25
| | | | | -- MOS_MIGRATED_REVID=89483786
* Add support of aspects to the skyframe implementation of query. To keep ↵Gravatar Marian Lobur2015-03-25
| | | | | | | these two versions of query consistent we need to add additional edges to the target that contains aspects, instead of adding it to the target that was in direct deps of the original one. -- MOS_MIGRATED_REVID=89483301
* More precisely document AttributeMap.get (particularly the possibilityGravatar Greg Estren2015-03-25
| | | | | | | of null values). -- MOS_MIGRATED_REVID=89443545
* Allow the number of threads used in target parsing to be configurable.Gravatar Eric Fellheimer2015-03-25
| | | | | -- MOS_MIGRATED_REVID=89443026
* Remove useless flag check; executeBuild is only called if execution is ↵Gravatar Nathan Harmata2015-03-25
| | | | | | | requested. -- MOS_MIGRATED_REVID=89436511
* Merge PackageSerializer's and ProtoOutputFormatter's duplicatedGravatar Greg Estren2015-03-25
| | | | | | | | | | | | | | | | serialization logic. Among other things, this fixes an out-of-sync bug where ProtoOutputFormatter's version knew how to handle configurable attributes while PackageSerializer's version crashed. The merged logic preserves ProtoOutputFormatter's semantics: configurable attributes work, but their values are merged together into a flattened list, so the original select structure can't be reproduced later. -- MOS_MIGRATED_REVID=89435116
* Bazel docs: document cc_library.hdrs_check and fix a broken BE link.Gravatar Laszlo Csomor2015-03-25
| | | | | -- MOS_MIGRATED_REVID=89433520
* Bazel docs: add missing section about $(location) expansion.Gravatar Laszlo Csomor2015-03-25
| | | | | | | Also fix a typo in contributing.md. -- MOS_MIGRATED_REVID=89411635
* Skylark: kill package loading if a Skylark file has errors.Gravatar Googler2015-03-25
| | | | | -- MOS_MIGRATED_REVID=89411484
* Compile objc resources when bundling, not at each target.Gravatar Peter Schmitt2015-03-24
| | | | | | | | | | | | | | | | | | | | | | This change moves the resource compilation actions from each declaring target to the bundle in which they're stored. This bundle is (mostly, see below) the only thing that cares about the compiled resources. As a result, we avoid compiling each resource many times when in a multi-architecture context. Note that as a result of this change rules other than ios_test do no longer add the compiled datamodels and storyboards to files to build. There (should?) be no need for them anyhow. Also, Xcode targets will now no longer contain the transitive closure of datamodels, only their own. Note that in the case where the input resource is produced by a genrule the resource compilation still happens for each architecture but we ignore the results for all but one of the architectures to avoid bundling conflicts. There are also some more validation checks and nicer error messages for users when they specify illegal strings resources. -- MOS_MIGRATED_REVID=89404405
* Removed a <?> generic in a instanceof.Gravatar Damien Martin-Guillerez2015-03-24
| | | | | | | | | This syntax is broken under Eclipse. For some reason this syntax is valid from BuildJar but it is not compatible with Eclipse Java 8. -- MOS_MIGRATED_REVID=89397040
* Line break after . rather than beforeGravatar Daniel Wagner-Hall2015-03-24
| | | | | -- MOS_MIGRATED_REVID=89392921
* Actually add OutputGroupProvider.DEFAULT to the set of files to be built ↵Gravatar Lukacs Berki2015-03-24
| | | | | | | | | when the default is specified (and not just filesToBuild). This is necessary so that rules that explicitly add artifacts to OutputGrovider.DEFAULT have those artifacts built when they are mentioned on the command line. -- MOS_MIGRATED_REVID=89387243
* Skylark: native module is updated with exports_files and package_group.Gravatar Googler2015-03-24
| | | | | -- MOS_MIGRATED_REVID=89386727
* Skylark: Allow builtin functions to be shadowed.Gravatar Laurent Le Brun2015-03-24
| | | | | | | | | | | This change makes them consistent with global variables. e.g. def foo(len): return len + 1 # now allowed Redefinition is still forbidden. -- MOS_MIGRATED_REVID=89383535
* Adds some notes about --batch flag.Gravatar Googler2015-03-24
| | | | | -- MOS_MIGRATED_REVID=89348225
* Make Bazel's documentation nicer.Gravatar Laszlo Csomor2015-03-24
| | | | | | | | | | Remove cross-links between "Using Bazel" documents. The navigation panel on the left side is enough. Also fix a broken list in install.md -- MOS_MIGRATED_REVID=89310507
* Skylark: Package environment extensions can register functions with the ↵Gravatar Googler2015-03-24
| | | | | | | native module. -- MOS_MIGRATED_REVID=89309511
* Parser: Useful error messages when a Python keyword is used.Gravatar Laurent Le Brun2015-03-24
| | | | | -- MOS_MIGRATED_REVID=89307831
* Parser: Add Python 3 keywords.Gravatar Laurent Le Brun2015-03-24
| | | | | | | RELNOTES: Python 3 keywords are added to the lexer. They cannot be used as identifiers. -- MOS_MIGRATED_REVID=89301541
* Preload the universe for query testsGravatar Mark Schaller2015-03-24
| | | | | | | | | | | | | This change means that tests no longer need to specify the patterns they use themselves, unless the test involves excluding some pattern. Also fixes a bug in GraphBackedRecursivePackageProvider revealed by the test changes where it behaved differently from EnvironmentBackedRecursivePackageProvider when looking up packages with errors. -- MOS_MIGRATED_REVID=89297008
* Create the Bazel homepage.Gravatar Laszlo Csomor2015-03-24
| | | | | | | Also fix several broken links. -- MOS_MIGRATED_REVID=89296840
* Skylark: zip function is implemented.Gravatar Googler2015-03-24
| | | | | -- MOS_MIGRATED_REVID=89296560
* Parser: Improve error messages (mention what was expected)Gravatar Laurent Le Brun2015-03-24
| | | | | -- MOS_MIGRATED_REVID=89296523
* Skylark: Implement string.index and string.rindexGravatar Laurent Le Brun2015-03-24
| | | | | -- MOS_MIGRATED_REVID=89294740
* Skylark: the native module is refactored and documented.Gravatar Googler2015-03-24
| | | | | | | | - SkylarkNativeModule is added to handle to native module. - Glob function is migrated to be a SkylarkFunction. Note that other functions in the native module are more difficult to migrate since they are not static. -- MOS_MIGRATED_REVID=89292579
* A minor change in the path of ijars: previously the exec path of a ↵Gravatar Lukacs Berki2015-03-23
| | | | | | | | | java_binary was a prefix of the exec path of the associated ijar, which may cause problems. This was discovered using my "bindir == genfilesdir == outputdir" experiment. -- MOS_MIGRATED_REVID=89285440
* Skylark: document ctx.expand_make_variables.Gravatar Googler2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89285345
* Skylark: Fix typing for slice/substring operator.Gravatar Laurent Le Brun2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89279534
* Add serialization functionality to classes.Gravatar Eric Fellheimer2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89152485
* Only use a single copy of a nested bundle with ios_multi_cpus.Gravatar Peter Schmitt2015-03-23
| | | | | | | | | | | | We generate a nested bundle for each architecture specified in ios_multi_cpus which would cause any artifacts generated by these rules (such as info plists or compiled resource files) to clash in the final application bundle (where the bundle directory only exists once). For now just pick one architecture at random to store the bundle in - unfortunately we still generate the bundle for all architectures. -- MOS_MIGRATED_REVID=89152199
* Reword documentation of --universe_scope to emphasize that it isn't ↵Gravatar Nathan Harmata2015-03-23
| | | | | | | necessarily used (it's not used when SkyQuery isn't used, e.g. when --noorder_results isn't specified). -- MOS_MIGRATED_REVID=89150192
* Include generateSubmodules in the cache key.Gravatar Googler2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89149156
* Remove default_obsolete reference (since the attributeGravatar Greg Estren2015-03-23
| | | | | | | has been removed). -- MOS_MIGRATED_REVID=89149128
* Description redacted.Gravatar Googler2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89148288
* Don't bother cleaning the graph if we are crashing anyway, since attempting ↵Gravatar Nathan Harmata2015-03-23
| | | | | | | to do so is very likely to obfuscate the original crash. -- MOS_MIGRATED_REVID=89138275
* Remove common java code between objc tools and rules.Gravatar Peter Schmitt2015-03-23
| | | | | | | | | | As we are releasing the tools somewhat independently of the rules these utility dependencies make life a lot harder. I'm sad about losing some of the enum type-safety but being able to treat the code independently is more than worth it. -- MOS_MIGRATED_REVID=89137624
* Pass pre-processed label to Xcodegen so it can be used as an Xcode target ↵Gravatar Matthew DeVore2015-03-23
| | | | | | | | | name without any extra work in Xcodegen. Use this label to determ ine the *correct* built library. -- MOS_MIGRATED_REVID=89135635
* Description redacted.Gravatar Greg Estren2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89134834
* Add experimental external event repository progress messages.Gravatar Googler2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89134285
* Rolling forward rolled back change that did declared dependencies on ↵Gravatar Janak Ramakrishnan2015-03-23
| | | | | | | discovered inputs before execution, since the underlying cause has been fixed and a test has been added. -- MOS_MIGRATED_REVID=89134131
* Use a single critical path component in case of shared actions that run ↵Gravatar Miguel Alcon Pinto2015-03-23
| | | | | | | concurrently. We update the timing with the maximum elapsed time. This could prevent us from getting the critical path (because another smaller path could mask the critical path), but in practice we do not expect this to happen. -- MOS_MIGRATED_REVID=89133458
* Add xctest_app ipa file to files-to-buildGravatar Matthew DeVore2015-03-23
| | | | | -- MOS_MIGRATED_REVID=89131807
* Add C++ flags to C++ linkstamp compiles.Gravatar Manuel Klimek2015-03-23
| | | | | | | | In the future, we will have linkstamp flags be generated by the crosstool feature configuration, just like normal compile actions. -- MOS_MIGRATED_REVID=89131127
* remove ActionMetadata#getInputCountGravatar Michajlo Matijkiw2015-03-23
| | | | | | | | | | | | Removing ActionMetadata#getInputCount instead of relying on all implementations of ActionMetadata keeping getInputCount and getInputs in sync. getInputCount is only used by a few tests and has no applications in the main code at the moment, so it is trivial to remove before we may come to rely on it more or its semantics get more complicated. -- MOS_MIGRATED_REVID=89130009
* Make rules referencing paths outside of the execution root an error.Gravatar Manuel Klimek2015-03-23
| | | | | | | RELNOTES: Referencing a path outside the execution root is now an error. -- MOS_MIGRATED_REVID=89129910
* Automated [] rollback of [].Gravatar Googler2015-03-23
| | | | | | | | | | | | | | | | | *** Reason for rollback *** This new default behavior is undesirable in many situations. *** Original change description *** Change the default value for test_output to "errors". This might be controversial, but I have many times seen users run their tests, and then select the failure log path in their terminal and then cat the log to their screen so they can search for their errors. Every time, I've pointed out, "you can add test_output=errors to your .blazerc," they've thought it was great. Sometimes they say, "Why isn't that just the default?" *** -- MOS_MIGRATED_REVID=89128948
* Don't print out action cache if it has more than 1000 entries. This prevents ↵Gravatar Janak Ramakrishnan2015-03-23
| | | | | | | IDE OOMing when a large action cache is in scope during debugging. -- MOS_MIGRATED_REVID=89127817
* Use a more restricted type bound on ↵Gravatar Nathan Harmata2015-03-23
| | | | | | | | | SkyFunctionException#validateExceptionType. In practice, this function is only called with subtypes of Exception. Also, this changes emphasizes that the type of an error wrapped in SkyFunctionExceptions must be a subtype of Exception. Similarly, restrict SchedulerException to only wrapping Exceptions. This is true in practice, but was missed in an earlier change. -- MOS_MIGRATED_REVID=89127540