aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com
Commit message (Collapse)AuthorAge
* 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
* 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
* Switch to @AutoValue for RuleDefintion.Metadata now that it is available.Gravatar Googler2015-04-08
| | | | | -- MOS_MIGRATED_REVID=90516252
* 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
* 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
* 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
* 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
* Skylark: Implicit outputs can refer to labels.Gravatar Laurent Le Brun2015-04-03
| | | | | | | Fixes #91. -- MOS_MIGRATED_REVID=90185784
* Automated [] rollback of [].Gravatar Han-Wen Nienhuys2015-04-03
| | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks bazel for /usr/bin/gcc. It needs -B to find ld, because we don't supply a $PATH. *** Original change description *** Remove unnecessary -B flag from linker command line. This should fix working with GCC cross compilers installed into /usr/bin/ next to the host ld. -- MOS_MIGRATED_REVID=90173200
* Remove unnecessary -B flag from linker command line.Gravatar Han-Wen Nienhuys2015-04-03
| | | | | | | | This should fix working with GCC cross compilers installed into /usr/bin/ next to the host ld. -- MOS_MIGRATED_REVID=90167821
* Skylark: Remove superfluous error message.Gravatar Laurent Le Brun2015-04-03
| | | | | -- MOS_MIGRATED_REVID=90157406
* Description redacted.Gravatar Googler2015-04-03
| | | | | -- MOS_MIGRATED_REVID=90157149
* Skylark: Remove obsolete function ctx.var().Gravatar Laurent Le Brun2015-04-03
| | | | | | | Use ctx.var dict instead. -- MOS_MIGRATED_REVID=90155461
* Make rule.getLabels deterministic.Gravatar Laurent Le Brun2015-04-02
| | | | | | | HashMultimap provides no guarantee on the iteration order. -- MOS_MIGRATED_REVID=90153110
* Skylark: Add function 'int'Gravatar Laurent Le Brun2015-04-02
| | | | | -- MOS_MIGRATED_REVID=90151316
* Parser: Make error recovery more conservative.Gravatar Laurent Le Brun2015-04-02
| | | | | | | | Reduce the number of error message after a parse error. Recover only when we have confidence we are in good state. -- MOS_MIGRATED_REVID=90147322
* Remove direct store of Target from NoSuchTargetException. Instead, just note ↵Gravatar Eric Fellheimer2015-04-02
| | | | | | | the fact that a valid Target exists, and instead request it directly from its Package. -- MOS_MIGRATED_REVID=90107670
* Thread-safety annotations for the various skyframe graph interfaces.Gravatar Nathan Harmata2015-04-02
| | | | | -- MOS_MIGRATED_REVID=90103351
* Add maven repository metadata jar to third_partyGravatar Kristina Chodorow2015-04-02
| | | | | | | See https://github.com/google/bazel/issues/88. -- MOS_MIGRATED_REVID=90089965
* Clean up an unnecessary field in NoSuchTargetException.Gravatar Eric Fellheimer2015-04-02
| | | | | -- MOS_MIGRATED_REVID=90081310
* --instrumentation_filter now works with Objective C.Gravatar Googler2015-04-01
| | | | | | | | | | | | Added "-Tests$" to the default instrumentation_filter, this is the typical pattern for Objective C. All sources are included in ObjcCommon.SOURCE. Sources from targets which match the current instrumentation_filter are included in ObjcCommon.INSTRUMENTED_SOURCE. GCNOs are added to ObjcCommon.GCNO iff the source they originate from is included in from a target which matches the instrumentation_filter. RELNOTES: --instrumentation_filter now works with Objective C coverage. -- MOS_MIGRATED_REVID=90076465
* Skylark parser: Improve error messages, never display "$error$".Gravatar Laurent Le Brun2015-04-01
| | | | | -- MOS_MIGRATED_REVID=90075856
* Skylark: Mark command_helper as experimental.Gravatar Laurent Le Brun2015-04-01
| | | | | | | | This class is poorly documented and the API is not well thought. We cannot remove it now (because it is used) though. -- MOS_MIGRATED_REVID=90070889
* Skylark: Improve documentation for configuration transitions.Gravatar Laurent Le Brun2015-04-01
| | | | | -- MOS_MIGRATED_REVID=90061800
* Skylark: Mark ctx.target(s) as deprecated (use ctx.attr instead).Gravatar Laurent Le Brun2015-04-01
| | | | | -- MOS_MIGRATED_REVID=90061261
* Skylark: Make ctx.attr.<attr_name> return Targets instead of Labels.Gravatar Laurent Le Brun2015-04-01
| | | | | | | | | Careful, this is a breaking change. To get the Label value as before, use ctx.attr.<labelattr>.label. The goal is to remove ctx.targets and simplify access to label attributes. -- MOS_MIGRATED_REVID=90056829
* optionally error on files outside of known rootsGravatar Michajlo Matijkiw2015-04-01
| | | | | | | | | | | | The goal of this change is to provide a means for disallowing files outside of declared, known locations in order to better enforce the hermeticy and in turn reproducability of builds. Previously when encountering these files (typically via external symlinks) we would add a dependency on build_id, now we can optionally fail the build. -- MOS_MIGRATED_REVID=90015665
* Debug BuiltinFunctionGravatar Francois-Rene Rideau2015-04-01
| | | | | -- MOS_MIGRATED_REVID=90004683
* Reorder arguments to BuiltinFunction-sGravatar Francois-Rene Rideau2015-03-31
| | | | | | | | | | By popular demand from other implementers, reorder BuiltinFunction arguments so that mandatory named-only arguments come befor optional named-only arguments rather than after. This will make Skylark internals slightly clearer and less surprising, at the cost of eschewing a tiny optimization. -- MOS_MIGRATED_REVID=89978554
* Skylark: 'in' works on sets.Gravatar Laurent Le Brun2015-03-31
| | | | | -- MOS_MIGRATED_REVID=89977206
* Supply the correct command name to ProjectFileSupport.Gravatar Googler2015-03-31
| | | | | -- MOS_MIGRATED_REVID=89973895
* Always define OS_IOS in iOS builds.Gravatar Peter Schmitt2015-03-31
| | | | | | | RELNOTES: Always define OS_IOS in iOS builds. -- MOS_MIGRATED_REVID=89969990
* Unconditionally include gcc's stdc-predef.h if it is available.Gravatar Janak Ramakrishnan2015-03-31
| | | | | -- MOS_MIGRATED_REVID=89964638