aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Return ActionInput objects from the ActionInputFileCache when given a digest ↵Gravatar Janak Ramakrishnan2015-03-16
| | | | | | | to do a reverse lookup so that metadata can be more easily retrieved. -- MOS_MIGRATED_REVID=88733565
* Skylark: dict.keys() has sorted output.Gravatar Laurent Le Brun2015-03-16
| | | | | -- MOS_MIGRATED_REVID=88730682
* Allow ios_application in xctest_app attribute.Gravatar Peter Schmitt2015-03-16
| | | | | | | RELNOTES: Allow ios_application in xctest_app attribute. -- MOS_MIGRATED_REVID=88730548
* Skylark: Allow list slicesGravatar Laurent Le Brun2015-03-16
| | | | | -- MOS_MIGRATED_REVID=88727892
* Skylark: Allow traling comma in load statementsGravatar Laurent Le Brun2015-03-16
| | | | | -- MOS_MIGRATED_REVID=88726457
* Automated [] rollback of [].Gravatar Ulf Adams2015-03-16
| | | | | | | | | | | | | | | | | *** Reason for rollback *** Broke one of our integration tests. *** Original change description *** Declare dependencies on discovered inputs before execution instead of after. As a side effect, we no longer restart ActionExecutionFunction after the action has executed unless the action ran locally (and therefore didn't discover its inputs beforehand). This also means that we no longer need to store an out-of-Skyframe cache for discovered includes except when checking the action cache. Since my suspicion is that the out-of-Skyframe cache will have a minimal performance impact once it is just... *** -- MOS_MIGRATED_REVID=88724988
* Add a feature to put each header into it's own submodule. This will be requiredGravatar Googler2015-03-16
| | | | | | | | | | | | | | | | | | to keep the existing behavior when turning on C++ modules. The problem is that a #include of a header gets internally translated into an import of the header's (sub)module. Now, if all headers of a cc_library are in the same module, this means, a single import of one of them makes the symbols of all of them accessible. While this isn't inherently problematic, it breaks the similarity between a modules and non-modules build. This behavior is hidden behind a feature for now as I have just committed necessary changes to Clang, which will need to be release to stable, before we can flip everything. Also, don't put a header as both normal and private header if it is present in both. (Or don't output two submodules with the new implementation). -- MOS_MIGRATED_REVID=88723759
* Add missing "implicit output" section for Bazel's java_test.Gravatar Laszlo Csomor2015-03-16
| | | | | | | | | Also some cosmetic changes in the BE template: remove strikethrough style when mouse hovers over text marked as describing something deprecated, to make it easier to read. -- MOS_MIGRATED_REVID=88723528
* Document Bazel's cc_binary, cc_library and cc_test rule.Gravatar Laszlo Csomor2015-03-16
| | | | | -- MOS_MIGRATED_REVID=88721967
* Move some test helper classes into /util packages and open source them.Gravatar Ulf Adams2015-03-16
| | | | | | | Specifically, move AnalysisTestCase and SkyframeExecutorTestUtil. -- MOS_MIGRATED_REVID=88715957
* Add missing ${SYNOPSIS} tags to some Bazel rule classes.Gravatar Laszlo Csomor2015-03-16
| | | | | | | Also fix a typo (add missing < ). -- MOS_MIGRATED_REVID=88715707
* Skylark: Static checks allows None value everywhere.Gravatar Laurent Le Brun2015-03-16
| | | | | -- MOS_MIGRATED_REVID=88713932
* Simplify BuildConfiguration to make it cheaper to create more instances.Gravatar Ulf Adams2015-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | We want to make it so configured targets can only see the configuration fragments they have declared, which requires creating a customized configuration for every configured target. Therefore, this change moves the directories to a separate object, so configurations that have the same output directories can share it. Also change getBinFragment and getGenfilesFragment to call the corresponding Root.getExecPath() on the fly. However, these are called _very_ often, so at the same time change Root to cache the exec path. Instead of keeping a map of all executables, only keep the shell executable, which is the only value that was actually used anywhere. Remove the cache key, but keep the short cache key. The cache key was only used to check for duplicate cache keys in the BuildConfigurationCollection, which is no longer necessary as we don't use the cache key for anything else anymore. We should instead check for output directory conflicts, but we can't do that quite yet (I'm working on it). Also update the documentation in a couple of places. -- MOS_MIGRATED_REVID=88712178
* RELNOTES[INC]: genquery target locations are now relative to the workspace ↵Gravatar Damien Martin-Guillerez2015-03-16
| | | | | | | | | root when used with protobuf or XML outputs. genquery was non-deterministic accross machines / workspace location without that setting. -- MOS_MIGRATED_REVID=88711033
* remove support for supplying relative root for runfilesGravatar Michajlo Matijkiw2015-03-16
| | | | | | | | | | SourceManifestAction.Builder#setTopLevel is the only way the relative roots was capable of being supplied. Its documentation states "Most likely, you don't need this". As it is unused removing the extra code and interpreting as "you don't need this". -- MOS_MIGRATED_REVID=88574913
* Rename roadmap, fix some links.Gravatar Han-Wen Nienhuys2015-03-16
| | | | | -- MOS_MIGRATED_REVID=88569464
* Skylark - new cookbook example (attribute declaration)Gravatar Laurent Le Brun2015-03-16
| | | | | -- MOS_MIGRATED_REVID=88567040
* Make README be a table of contents to our docs.Gravatar Han-Wen Nienhuys2015-03-16
| | | | | | | Move installation instructions to docs/install.md -- MOS_MIGRATED_REVID=88559019
* Adding a developer documentation entry pointGravatar Damien Martin-Guillerez2015-03-16
| | | | | | | | | This documentation explains how to set-ups an Eclipse IDE, how to build and tests Bazel and the first part of the documentation. It also update the FAQ accordingly. -- MOS_MIGRATED_REVID=88556053
* Split ios_application configurations based on --ios_multi_cpus.Gravatar Peter Schmitt2015-03-16
| | | | | | | | | | | | | | | | | | Using the new flag works only on ios_application and ios_extension targets, resulting in their output binaries being "universal" with all given architectures included. Internally this is achieved by splitting the "binary" dependency (and its transitive dependencies) of ios_{application,extension} to be built in one of the architectures using split transitions. The results are then combined. Since an ios_application may depend on ios_extension, we transition back to the top-level configuration when encoutering such a dependency using the newly introduced TOP_LEVEL transition and then split configurations again. RELNOTES: --ios_multi_cpus allows building fat ios_applications. -- MOS_MIGRATED_REVID=88555540
* Rename documentation file.Gravatar Han-Wen Nienhuys2015-03-16
| | | | | -- MOS_MIGRATED_REVID=88553236
* Added Apache license header to bootstrap_test.shGravatar Damien Martin-Guillerez2015-03-16
| | | | | -- MOS_MIGRATED_REVID=88553154
* Removed base_workspace_test.shGravatar Damien Martin-Guillerez2015-03-16
| | | | | | | | This test does not make sense anymore, we should replace it with specific integration tests. -- MOS_MIGRATED_REVID=88552337
* Rolling-back giving a name to the Bazel workspaceGravatar Damien Martin-Guillerez2015-03-16
| | | | | | | | | | | | | | | | Reason: there was no real reason for this, the bazel workspace link IS always bazel-bazel. --- Give a name to the Bazel workspace This way the name of the workspace will always be bazel whichever the name of the directory you are cloning in. Especially, the bazel worskpace link will always be bazel-bazel which is consistent with .gitignore. -- MOS_MIGRATED_REVID=88549106
* Added script to generate an Eclipse project for BazelGravatar Damien Martin-Guillerez2015-03-16
| | | | | | | | | | Now a developer can work on the Java sources by generating an Eclipse project with scripts/eclipse/setup.sh. The xcode tooling are also imported compared to the previously checked-in project resulting in a bunch of errors. -- MOS_MIGRATED_REVID=88548129
* Delete PackageCacheBackedTargetPatternResolver. There is no PackageCache.Gravatar Janak Ramakrishnan2015-03-16
| | | | | -- MOS_MIGRATED_REVID=88547886
* Give a name to the Bazel workspaceGravatar Damien Martin-Guillerez2015-03-16
| | | | | | | | | | This way the name of the workspace will always be bazel whichever the name of the directory you are cloning in. Especially, the bazel worskpace link will always be bazel-bazel which is consistent with .gitignore. -- MOS_MIGRATED_REVID=88546915
* Skylark: Fix typing of structsGravatar Laurent Le Brun2015-03-16
| | | | | -- MOS_MIGRATED_REVID=88546692
* RELNOTES: Allow users to set the simulated device, SDK, and environment from ↵Gravatar Googler2015-03-13
| | | | | | | the command line when running an objc_binary or ios_application. -- MOS_MIGRATED_REVID=88544811
* Reorganize docs.Gravatar Han-Wen Nienhuys2015-03-13
| | | | | -- MOS_MIGRATED_REVID=88542684
* Update README.mdGravatar Damien Martin-Guillerez2015-03-13
| | | | | | | | | Now the README.md mark OS X support as non-experimental and remove the part for --cpu=darwin that is no more needed. Also completed a bit about dependency on java 8. -- MOS_MIGRATED_REVID=88540116
* Prettify our documentation: add fallback font + nicer css.Gravatar Laszlo Csomor2015-03-13
| | | | | -- MOS_MIGRATED_REVID=88538944
* Add a copy of the Skyframe description from Lukacs as a markdown doc.Gravatar Ulf Adams2015-03-13
| | | | | | | | Original: https://docs.google.com/document/d/1ILDRaWSJZudqcU2KLGGln-Cp3Wem4pi5acif7bQyL3c/edit# -- MOS_MIGRATED_REVID=88537088
* Add documentation body for Bazel java_test, sh_binary, sh_test, test_suite.Gravatar Laszlo Csomor2015-03-13
| | | | | -- MOS_MIGRATED_REVID=88535323
* Fix Build Encyclopedia docgen: allow overriding rule definitions.Gravatar Laszlo Csomor2015-03-13
| | | | | | | | This is important if a base rule definition is available but the specific rule class wants to override it. -- MOS_MIGRATED_REVID=88533474
* Declare dependencies on discovered inputs before execution instead of after.Gravatar Janak Ramakrishnan2015-03-13
| | | | | | | | | | | As a side effect, we no longer restart ActionExecutionFunction after the action has executed unless the action ran locally (and therefore didn't discover its inputs beforehand). This also means that we no longer need to store an out-of-Skyframe cache for discovered includes except when checking the action cache. Since my suspicion is that the out-of-Skyframe cache will have a minimal performance impact once it is just being used for the action cache, I may delete it in a follow-up cl. After this change, we will overapproximate the set of includes because we depend on all includes, rather than just the ones that the action was found to depend on after execution. This is a prerequisite for Skyframe-native include scanning in that Skyframe-native include scanning will need to add at least as many Skyframe nodes and edges. If we end up punting on it, then we may want to revert this change. But for now I think it's worth having. I'll run some more numbers to see what the actual performance impact is. -- MOS_MIGRATED_REVID=88492955
* Implement ConditionalExpressionGravatar Francois-Rene Rideau2015-03-13
| | | | | | | Also add tests. -- MOS_MIGRATED_REVID=88474801
* add baseline functionality for not saving unused artifactsGravatar Michajlo Matijkiw2015-03-13
| | | | | | | | | | | | | | | | | | | We define unused artifacts as those that aren't consumed by any action. This can be because an action produced more outputs than a dependent action needed, or because it's a top level artifact and we don't care about its contents, just that it was built without issue. Actions may prevent outputs from being discarded by declaring them as mandatory. This is particularly useful for test outputs. The motivation behind this change is to reduce storage overhead for things we can do without. It is worth noting this change doesn't cover all cases. In particular it has difficulty identifying *_binary artifacts as orphaned. This is due to the insertion of a virtual runfiles artifact which depends upon the rule's outputs. -- MOS_MIGRATED_REVID=88467504
* BazelExtraActionRule is documented.Gravatar Googler2015-03-13
| | | | | -- MOS_MIGRATED_REVID=88449349
* Fine-tune the Bazel docs stylesheet.Gravatar Laszlo Csomor2015-03-13
| | | | | | | | <strong></strong> parts didn't appear strong enough. Also some other fine-tuning. -- MOS_MIGRATED_REVID=88447554
* BazelActionListenerRule is documented.Gravatar Googler2015-03-13
| | | | | -- MOS_MIGRATED_REVID=88444163
* Add an Objective C example.Gravatar Peter Schmitt2015-03-13
| | | | | -- MOS_MIGRATED_REVID=88441991
* Use VFS_READLINK rather than VFS_LINK, to avoid confusion with theGravatar Han-Wen Nienhuys2015-03-13
| | | | | | | link system call. -- MOS_MIGRATED_REVID=88441395
* Skylark: DictionaryLiteral is immutable (like every dict).Gravatar Laurent Le Brun2015-03-13
| | | | | -- MOS_MIGRATED_REVID=88440711
* Description redacted.Gravatar Laszlo Csomor2015-03-13
| | | | | -- MOS_MIGRATED_REVID=88438910
* Skylark: Make ctx.var a dictionary.Gravatar Laurent Le Brun2015-03-13
| | | | | | | | ctx.var(x) is kept for compatibility and should be removed after next release. -- MOS_MIGRATED_REVID=88438195
* Attribute synopsis's are cleaned up. The BE generator prints a warning in ↵Gravatar Googler2015-03-13
| | | | | | | case of a missing synopsis (except for deprecated attributes). -- MOS_MIGRATED_REVID=88436777
* Simplify Attribute builder now that all rules specify allowed file types.Gravatar Ulf Adams2015-03-13
| | | | | -- MOS_MIGRATED_REVID=88436595
* Mention output directories explicitly in Bazel .gitignore.Gravatar Han-Wen Nienhuys2015-03-13
| | | | | -- MOS_MIGRATED_REVID=88435956
* Bazel sh_* rules are documented and cleared up.Gravatar Googler2015-03-13
| | | | | | | | - Unused attribute bash_version is removed from all sh_* rules. - ShTest.java is deleted. Shell binary and test rules have the same implementation. -- MOS_MIGRATED_REVID=88434794