aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
...
* Fix the compilation of blaze_startup_options.cc on old Ubuntu systems.Gravatar Ulf Adams2015-04-10
| | | | | | | | | | | Ubuntu LTS has a gcc version that generates broken code for certain newer C++ constructs. Change the code to avoid those constructs. Fixes #68. -- Change-Id: 4a0420a6c996d0e7785e5cdf39bbd0602472449f MOS_MIGRATED_REVID=90739507
* Minor cleanups in TopLevelArtifactHelper.Gravatar Eric Fellheimer2015-04-10
| | | | | -- MOS_MIGRATED_REVID=90737433
* objc: Preserve existing version strings if no value is specified to ↵Gravatar Daniel Wagner-Hall2015-04-09
| | | | | | | --embed_label -- MOS_MIGRATED_REVID=90723863
* py_binary correctly forwards argumentsGravatar Kevin Watts2015-04-09
| | | | | | -- Change-Id: b2b38d09285950c8ef745dbf2cbd281e09e7a11e MOS_MIGRATED_REVID=90721856
* Allow relative paths for the scratch* methods; resolve relative to workspace.Gravatar Ulf Adams2015-04-09
| | | | | | | | | This allows removing most /[]/ prefixes from all output file names in all tests that inherit from FoundationTestCase; that, in turn, allows us to switch the workspace root to a neutral name, such as /workspace/. -- MOS_MIGRATED_REVID=90720852
* Add support for $(location) with //external labelsGravatar Kristina Chodorow2015-04-09
| | | | | | | Fixes https://github.com/google/bazel/issues/90. -- MOS_MIGRATED_REVID=90717991
* Use injected action context when include scanning, not hard-coded ↵Gravatar Janak Ramakrishnan2015-04-09
| | | | | | | CppCompilationActionContext, which can be overridden by some modules. -- MOS_MIGRATED_REVID=90716346
* Clean up some FakeCppCompileAction code. In particular FakeCppCompileAction ↵Gravatar Janak Ramakrishnan2015-04-09
| | | | | | | was ignoring the actionContext, which it shouldn't have been. -- MOS_MIGRATED_REVID=90714138
* Add more debugging to help track down crash.Gravatar Janak Ramakrishnan2015-04-09
| | | | | | | Note that we probably want to change the discardMetadata signature to no longer take an argument, since we have per-action metadata handling. However, I'd like to know that that's the source of the crash, if it is, which is why I'm not removing the argument right now. -- MOS_MIGRATED_REVID=90712991
* Enable extranal contributions to lib/webstatusserver/**/*Gravatar Laszlo Csomor2015-04-09
| | | | | -- MOS_MIGRATED_REVID=90710759
* Skylark: Update doc for setsGravatar Laurent Le Brun2015-04-09
| | | | | -- MOS_MIGRATED_REVID=90707320
* Cleanup: Create hash buffer reusing Md5Digest's length constant.Gravatar Thiago Farina2015-04-09
| | | | | | -- Change-Id: I67fa2a289cf82a4aee6b724429c1a1719c5649b4 MOS_MIGRATED_REVID=90707308
* Remove implicit outputs tag from py_binary docsGravatar Kristina Chodorow2015-04-09
| | | | | | | See how it renders at http://bazel.io/docs/build-encyclopedia.html#py_binary. -- MOS_MIGRATED_REVID=90706688
* Enable external contribution on SingleJarGravatar Damien Martin-Guillerez2015-04-09
| | | | | -- MOS_MIGRATED_REVID=90699667
* Use variable to refer to main groupGravatar Daniel Wagner-Hall2015-04-09
| | | | | | | We currently hard-code this in two places, but should only do so in one -- MOS_MIGRATED_REVID=90698681
* Add logging of blaze_cpu flag usage. Before we can remove this flag we need ↵Gravatar Marian Lobur2015-04-09
| | | | | | | to be sure that no one uses it. -- MOS_MIGRATED_REVID=90693216
* Add debug logging to help find mysterious crash experienced by users.Gravatar Janak Ramakrishnan2015-04-09
| | | | | | | Some care was taken to make sure that we only log when a file is missing *after* the action is executed, when its failure to be present should force a build failure anyway, in order to avoid a source of memory pressure. -- MOS_MIGRATED_REVID=90682557
* Add native dependencies constant to Constants.java.Gravatar Michael Staib2015-04-09
| | | | | -- MOS_MIGRATED_REVID=90649566
* Remove BuilderUtils#rethrowCause(...)'s vestigial bitsGravatar Michajlo Matijkiw2015-04-08
| | | | | | | | | | | | | | Rethrowing cause made sense a while ago, but now the only usages of this method have a direct handle on the exception they want dealt with and wrap the input with "new Exception(...)". Instead just pass the exception along directly. Also modified the comment in the unexpected case- the class referenced does not exist anymore, from what I can tell, and thus the comment was misleading. -- MOS_MIGRATED_REVID=90623740
* Skylark: The new_file functions don't need a root argument anymore.Gravatar Laurent Le Brun2015-04-08
| | | | | -- MOS_MIGRATED_REVID=90618694
* Skylark: Expose output_to_genfiles rule attributeGravatar Laurent Le Brun2015-04-08
| | | | | -- MOS_MIGRATED_REVID=90616271
* Cleanup: Change is IsSharedLibrary() to take a const-reference parameter.Gravatar Thiago Farina2015-04-08
| | | | | | | | This should avoid making unnecessary string copies. -- Change-Id: I655f348ddeb3df47264a899a10d36086d2c2b596 MOS_MIGRATED_REVID=90614260
* Remove reference to LinuxThreads, which should be thoroughly dead byGravatar Han-Wen Nienhuys2015-04-08
| | | | | | | now. -- MOS_MIGRATED_REVID=90610846
* Automated [] rollback of [].Gravatar Kristina Chodorow2015-04-08
| | | | | | | | | | | | | *** Reason for rollback *** This does not allow bazel help to be run from outside of a workspace *** Original change description *** Improve error message if WORKSPACE file is not found -- MOS_MIGRATED_REVID=90608117
* 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
* Remove stale comment.Gravatar Nathan Harmata2015-04-08
| | | | | -- MOS_MIGRATED_REVID=90574562
* Added rule label to CppDebugPackageProvider to allow consumers to report ↵Gravatar Googler2015-04-08
| | | | | | | better errors. -- MOS_MIGRATED_REVID=90543663
* objc protos: Pass up dep on C++ runtime if depending on C++ APIGravatar Daniel Wagner-Hall2015-04-08
| | | | | -- MOS_MIGRATED_REVID=90543040
* Fix build failure when using older crosstool that doesn't have stdc-predef.h.Gravatar Janak Ramakrishnan2015-04-08
| | | | | | | | | We used to unconditionally add this file, but that doesn't make sense for crosstools that don't have it. Long-term, we need to get the name of this file from the CROSSTOOL file. I was unable to test this because getting all of an older crosstool's dependencies into a test was too hard. But I manually verified that it works. -- MOS_MIGRATED_REVID=90533610
* Automated [] rollback of [].Gravatar Han-Wen Nienhuys2015-04-08
| | | | | | | | | | | | | *** Reason for rollback *** Broke bazel compile.sh build on Linux. *** Original change description *** Switch to @AutoValue for RuleDefintion.Metadata now that it is available. -- MOS_MIGRATED_REVID=90529098
* Fix TODO in recursive directory creationGravatar Kristina Chodorow2015-04-08
| | | | | -- MOS_MIGRATED_REVID=90517845
* Switch to @AutoValue for RuleDefintion.Metadata now that it is available.Gravatar Googler2015-04-08
| | | | | -- MOS_MIGRATED_REVID=90516252
* Cleanup: Refactor the test of TEST_TMPDIR env variable.Gravatar Thiago Farina2015-04-08
| | | | | | | | | | No need to keep a separate variable at the top of the file, it is simpler to just check the return value of getenv() directly in the call site. -- Change-Id: I896836206ccbf20743ef9679b10cec0cb7406122 MOS_MIGRATED_REVID=90505777
* Rework LineNumberTable for python-preprocessed files to use binary search ↵Gravatar Eric Fellheimer2015-04-08
| | | | | | | instead of linear search to find line numbers and paths. -- MOS_MIGRATED_REVID=90504135
* unittest.bash fix: support undefined TEST_WARNINGS_OUTPUT_FILEGravatar Damien Martin-Guillerez2015-04-08
| | | | | | | | Bazel tests set -u and that prevented selection of test to run in a test suite with --test_arg. -- MOS_MIGRATED_REVID=90497934
* Use AutoValue for FunctionSignatureGravatar Francois-Rene Rideau2015-04-08
| | | | | | | | | | | | | | * Use AutoValue in Bazel. Only FunctionSignature uses AutoValue for now. * Take advantage of AutoValue's .hashCode() and .equals() methods to intern function signatures, thus saving space. In the future, this will allow for better caching of optimizations for all function calls and struct accesses, base on pairs of FunctionSignature and CallerSignature or list of names and field name. -- MOS_MIGRATED_REVID=90482300
* Add Google auto to bazelGravatar Francois-Rene Rideau2015-04-08
| | | | | | | | Add the Google auto generators for Java, for the sake of using AutoValue. Include dependencies apache commons collections and apache velocity. -- MOS_MIGRATED_REVID=90482044
* objc: Pass --embed_label to iOS application Info.plist filesGravatar Daniel Wagner-Hall2015-04-08
| | | | | -- MOS_MIGRATED_REVID=90455131
* Pull compilation support out of ObjcActionsBuilderGravatar Daniel Wagner-Hall2015-04-08
| | | | | -- MOS_MIGRATED_REVID=90441648
* Mostly-automated roll-forward to return ActionInput objects from the ↵Gravatar Janak Ramakrishnan2015-04-06
| | | | | | | | | | | ActionInputFileCache when given a digest to do a reverse lookup so that metadata can be more easily retrieved. Discovered inputs are no longer ever put into SingleBuildFileCache, so it is safe to roll this forward now Because of code changes (meant to ensure the safety of this change), there were conflicts that had to be manually resolved. -- MOS_MIGRATED_REVID=90425783
* Delete useless line.Gravatar Janak Ramakrishnan2015-04-06
| | | | | -- MOS_MIGRATED_REVID=90418160
* Clean up SkyFunction interface method docsGravatar Mark Schaller2015-04-06
| | | | | | | Specifies function return values. Replaces old "builder" terminology. Removes bad advice. -- MOS_MIGRATED_REVID=90417023
* Split FileAndMetadataCache into two classes, since most of the shared ↵Gravatar Janak Ramakrishnan2015-04-06
| | | | | | | functionality is gone. -- MOS_MIGRATED_REVID=90289916
* Create the extra action info in a separate FileWriteAction instead of in the ↵Gravatar Janak Ramakrishnan2015-04-06
| | | | | | | | | ExtraAction itself. This makes ExtraAction simpler to understand (IMO). It's also a prerequisite for some simplifications we're making in core. -- MOS_MIGRATED_REVID=90288551
* Introduce KeyedLocker#lockBatch, which does what it sounds like it does.Gravatar Nathan Harmata2015-04-06
| | | | | -- MOS_MIGRATED_REVID=90282858
* Automated [] rollback of [].Gravatar Googler2015-04-06
| | | | | | | | | | | | | | | *** Reason for rollback *** New ZipCombiner creates malformed output ZIP files when input ZIP files contain more than 65535 entries, the maximum amount for non-64-bit ZIP files. *** Original change description *** Rewrite of ZipCombiner to improve performance and maintainability. Added devtools/build/zip to allow reading and writing of ZIP files without requiring decompressing file data to manipulate them. ZipCombiner API has some changes. ZipCombiner#addZip takes a File instead of InputStream. ZipCombiner#addFile takes a ZipFileEntry instead of DirectoryEntryInfo -- MOS_MIGRATED_REVID=90279976
* Add test dependencyGravatar Kristina Chodorow2015-04-03
| | | | | | | This was making Bazel's bootstrap_test fail. -- MOS_MIGRATED_REVID=90270050
* Some minor improvements to KeyedLocker:Gravatar Nathan Harmata2015-04-03
| | | | | | | | | | | (i) Change the semantics of KeyedLocker.AutoUnlocker#close such that it can be called at most once per AutoUnlocker instance. (ii) Change KeyedLocker.AutoUnlocker#close to throw a IllegalUnlockException (RuntimeException) on error, rather than leave the behavior intentionally underspecified. (iii) explicitly mention in AutoLocker#lock that a thread can call lock(k) multiple times before unlocking. Combined with (i), this implies that KeyedLocker#lock implementations will want to return fresh AutoUnlocker instances. These semantics are bit nicer to use anyway, but I also want them because I will soon be introducing KeyedLocker#lockBatch, and it's much easier to specify that given the above. -- MOS_MIGRATED_REVID=90259645
* Description redacted.Gravatar Nathan Harmata2015-04-03
| | | | | -- MOS_MIGRATED_REVID=90255287
* Skylark: Implicit outputs can refer to labels.Gravatar Laurent Le Brun2015-04-03
| | | | | | | Fixes #91. -- MOS_MIGRATED_REVID=90185784