aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/util
Commit message (Collapse)AuthorAge
* Compare GroupedLists without regard to the order within a given group. Also ↵Gravatar Janak Ramakrishnan2015-11-19
| | | | | | | make sure that we don't store duplicate elements within a given group (although that is currently taken care of by the callers). -- MOS_MIGRATED_REVID=108155105
* Optimize the hash code function of Pair to minimize varargs expansion.Gravatar Eric Fellheimer2015-11-16
| | | | | -- MOS_MIGRATED_REVID=107812527
* Add combine option for multiple profile file statsGravatar Klaas Boesche2015-10-09
| | | | | | | | Add the --combine option to produce a single aggregated statistics output for multiple profile files. Outputs neither Skylark histograms nor the task chart. -- MOS_MIGRATED_REVID=105051164
* Refactor SkylarkStatistics to reduce size.Gravatar Klaas Boesche2015-10-05
| | | | | | | | | Does not save all Tasks anymore and generates TasksStatistics on the fly. Adds an ArrayList implementation for primitive longs to efficiently save a lot of task duration data. Necessary when loading lots of profile files. -- MOS_MIGRATED_REVID=104656311
* Change uses of Lists#newArrayListWithExpectedSize to ↵Gravatar Nathan Harmata2015-09-30
| | | | | | | ArrayList#ArrayList(int) when it's clear the author intended (the now deprecated) Lists#newArrayListWithCapacity. Also change uses of Lists#newArrayListWithCapacity in the affected files to ArrayList#ArrayList(int). -- MOS_MIGRATED_REVID=104217692
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Heavily refactor ProfileCommand to separate output and statistics generation ↵Gravatar Klaas Boesche2015-09-22
| | | | | | | and enable their reuse -- MOS_MIGRATED_REVID=103634406
* Code cleanupGravatar Laurent Le Brun2015-09-03
| | | | | -- MOS_MIGRATED_REVID=102239051
* Modifications and improvements to AutoProfiler to reflect how it will be ↵Gravatar Nathan Harmata2015-09-02
| | | | | | | | | | used in the codebase: -Add integration with Profiler. -Add support for merely getting the elapsed time. -- MOS_MIGRATED_REVID=102165325
* Port to FreeBSD.Gravatar Doug Rabson2015-08-26
| | | | | | | -- Change-Id: I4e65cc583e758d2f7e45209ffcb37f6a871e2ed7 Reviewed-on: https://bazel-review.git.corp.google.com/#/c/1840 MOS_MIGRATED_REVID=101462155
* FileTypeSet: now supports creating unions of a FileTypeSet and some FileTypes.Gravatar Laszlo Csomor2015-08-24
| | | | | -- MOS_MIGRATED_REVID=101348687
* Remove errant paths from crosstool test files.Gravatar Alex Humesky2015-08-20
| | | | | | | | | | | | | | | | | | | Also includes the following changes: Introduce a helper class for low-boilerplate time measurements and logging. -- Removed attribute "args" from java_test. -- Adds the arm64, mips, mips64, x86, and x86_64 toolchains in the Android NDK This adds the precited targets to the crosstools file generated by the android_ndk_repository rule. The crosstools support NDK revision r10e-rc4. RELNOTES: arm64, mips, mips64, x86, and x86_64 NDK toolchains added to android_ndk_repository in Bazel -- MOS_MIGRATED_REVID=100953441
* Add native support for linux on ARM Cpu (32 bits)Gravatar Zhong Wang2015-08-12
| | | | | | | -- Change-Id: Ia70ca1b8482e10bc1ac91799aa238f8613e5c824 Reviewed-on: https://bazel-review.googlesource.com/#/c/1801 MOS_MIGRATED_REVID=100476467
* Crash in tests if anybody tries to log remotely. Remote logging usually ↵Gravatar Janak Ramakrishnan2015-08-04
| | | | | | | indicates an error, and tests shouldn't normally have such errors. -- MOS_MIGRATED_REVID=99789434
* Disallow non-empty dotd files that do not end in a newline.Gravatar Janak Ramakrishnan2015-07-27
| | | | | | | | | | | Such files likely arise from corrupted filesystems, and an error about the file format is more useful to the user than mysterious one about undeclared inclusions coming from truncated file names. -- Change-Id: I8be4bd3cd4e1845d2904a91e99aeafc41b3b9d8c Reviewed-on: https://bazel-review.googlesource.com/1660 MOS_MIGRATED_REVID=99182205
* Fix OS detection for Windows.Gravatar Googler2015-07-23
| | | | | -- MOS_MIGRATED_REVID=98927867
* Replaced other occurrences of Objects#toStringHelper with ↵Gravatar Googler2015-07-17
| | | | | | | MoreObjects#toStringHelper -- MOS_MIGRATED_REVID=98383075
* Create a value class PatternWithEquality to wrap Pattern so that equal ↵Gravatar Janak Ramakrishnan2015-06-16
| | | | | | | strings can compare equal as Patterns. -- MOS_MIGRATED_REVID=96041927
* Improve platform and CPU detection, use the correct protoc binary for the ↵Gravatar Philipp Wollermann2015-06-12
| | | | | | | | | running system. Tested on OS X 10.10, Debian 8.1 (x86_64) and Debian 8.1 (i686). -- MOS_MIGRATED_REVID=95819163
* Add debugging for NPE in GroupedList#toSet.Gravatar Janak Ramakrishnan2015-05-15
| | | | | -- MOS_MIGRATED_REVID=93417885
* Make exception in Fingerprint.java thrown in case of "impossible" missing ↵Gravatar Janak Ramakrishnan2015-05-04
| | | | | | | MD5 error more informative so we can try to understand what's going on. -- MOS_MIGRATED_REVID=92734374
* Clean up the TestFileOutErr to be less brittle, avoiding the "brutal ↵Gravatar Eric Fellheimer2015-04-27
| | | | | | | overloading" it had been doing previously. -- MOS_MIGRATED_REVID=91979641
* Add a clear() method to FileOutErr.Gravatar Eric Fellheimer2015-04-21
| | | | | -- MOS_MIGRATED_REVID=91605508
* 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
* Revert the recent changes that made some skyframe-internal data structures ↵Gravatar Nathan Harmata2015-03-10
| | | | | | | serializable; alternative graph implementations no longer need these. -- MOS_MIGRATED_REVID=88003503
* Some cleanup changes.Gravatar Ulf Adams2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87821306
* Description redacted.Gravatar Nathan Harmata2015-02-24
| | | | | -- MOS_MIGRATED_REVID=87009938
* Add OutErr#close, and call that in test strategies.Gravatar Han-Wen Nienhuys2015-02-18
| | | | | | | | This fixes "Text file is busy" when trying to execute log files for local tests just after blaze finishes. -- MOS_MIGRATED_REVID=86597766
* Mark some skyframe-internal data structures as being Serializable.Gravatar Nathan Harmata2015-02-10
| | | | | -- MOS_MIGRATED_REVID=85945243
* Update from Google.Gravatar Han-Wen Nienhuys2015-02-25
-- MOE_MIGRATED_REVID=85702957