aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools
Commit message (Collapse)AuthorAge
* experimental UI: honor --show_timestampsGravatar Klaus Aehlig2016-06-29
| | | | | | | | | | | In the experimental UI, also support the --show_timestamps option which asks that for each event a timestamp be added to the the output. Fixes #1436. -- Change-Id: I8f9db958525edfbca12ed2c1f1396f25f865b897 Reviewed-on: https://bazel-review.googlesource.com/#/c/3916 MOS_MIGRATED_REVID=126165328
* For --aspects parameter, ignore top-level targets that are not rules.Gravatar Dmitry Lomov2016-06-29
| | | | | -- MOS_MIGRATED_REVID=126161513
* Add java_plugin.generates_apiGravatar Liam Miller-Cushon2016-06-29
| | | | | | | | | | | | | | This attribute marks annotation processors that generate API code. If a rule uses an API-generating annotation processor, other rules depending on it can refer to the generated code only if their compilation actions are scheduled after the generating rule. In the future, annotation processors will only be considered by header compilation if they set generates_api=1. -- MOS_MIGRATED_REVID=126152384
* Minor documentation and visibility tweaks to InMemoryNodeEntry and ↵Gravatar Janak Ramakrishnan2016-06-29
| | | | | | | InvalidatedNodeEntry. -- MOS_MIGRATED_REVID=126139179
* Canonicalize some TransitiveTraversalValue objects -- those corresponding to ↵Gravatar Janak Ramakrishnan2016-06-29
| | | | | | | | | error-free built-in rules, and to non-rules. This should save memory, as well as CPU for built-in rules, since we don't have to make sets out of their providers more than once. Also fix a bug in the equality check where we weren't comparing the canHaveAnyProvider field properly. -- MOS_MIGRATED_REVID=126121351
* Collect logic related to extra Proguard outputs in one place.Gravatar Googler2016-06-29
| | | | | -- MOS_MIGRATED_REVID=126120891
* xcode_config throws an error if two aliases are assigned to different ↵Gravatar Chris Parsons2016-06-29
| | | | | | | | | versions, even if no --xcode_version is specified. it also avoids throwing an exception if an xcode_version is aliased to its proper name, to be a bit more lenient. -- MOS_MIGRATED_REVID=126120071
* Filter out non-headers from module maps generated by objc_ rules.Gravatar Dmitry Shevchenko2016-06-29
| | | | | -- MOS_MIGRATED_REVID=126104957
* Rename FileOutErr.get{Output,Error}File to get{Output,Error}Path, because ↵Gravatar Philipp Wollermann2016-06-29
| | | | | | | they actually return a Path and not a File. -- MOS_MIGRATED_REVID=126102820
* Use a mutable map when collecting environment variables for ↵Gravatar Chris Parsons2016-06-29
| | | | | | | repository_ctx.execute, so that it allows overriding current environment variables -- MOS_MIGRATED_REVID=126089693
* Fix is_windows functionGravatar Yun Peng2016-06-29
| | | | | | | -- Change-Id: I88c67ba382288f0a908aba97571564434eaae2d0 Reviewed-on: https://bazel-review.googlesource.com/#/c/3917 MOS_MIGRATED_REVID=126085117
* Reorganize Skylark Reference documentation.Gravatar Dmitry Lomov2016-06-29
| | | | | -- MOS_MIGRATED_REVID=126081020
* Truncate the log line for transformed query expressions larger than 1000 chars.Gravatar Nathan Harmata2016-06-29
| | | | | -- MOS_MIGRATED_REVID=126079533
* Expose versions of Package.Builder#addRule and RuleClass#createRule that ↵Gravatar Nathan Harmata2016-06-29
| | | | | | | don't perform internal sanity checks. -- MOS_MIGRATED_REVID=126073693
* Make "bazel info server_pid" work on Windows.Gravatar Lukacs Berki2016-06-29
| | | | | | | | | This is the first actual use of Windows JNI! Also a cleanup of ProcessUtils. Injecting a mock implementation was never used. -- MOS_MIGRATED_REVID=126068832
* Add bitcode support to experimental_objc_library.Gravatar Cal Peyser2016-06-29
| | | | | -- MOS_MIGRATED_REVID=126068553
* experimental UI: also during loading produce a short progress barGravatar Klaus Aehlig2016-06-28
| | | | | | | | | | | | When writing the experimental state tracker is asked to produce a progress bar, it can be requested to have a one-line version. This one is used, e.g., if curses are not available and therefore it cannot be erased. Also honor that request, if reporting about loading progress. -- Change-Id: Ice3045fc86280e420b789a94b03427ff578f4a11 Reviewed-on: https://bazel-review.googlesource.com/#/c/3912 MOS_MIGRATED_REVID=126057511
* Get rid of boolean field in InMemoryNodeEntry. After adding the ↵Gravatar Janak Ramakrishnan2016-06-28
| | | | | | | lastEvaluated/lastChanged version fields, we lost memory alignment, so this boolean was costing us 8 bytes per instance. -- MOS_MIGRATED_REVID=125998857
* Fix threadpool leak in SkyQueryEnvironmentGravatar Mark Schaller2016-06-27
| | | | | | | | Shutdown the SkyQueryEnvironment's threadpool after query evaluation is complete and the environment is ready for disposal. -- MOS_MIGRATED_REVID=125975317
* Update java_plugin.processor_class documentation on pluginsGravatar Liam Miller-Cushon2016-06-27
| | | | | | | | Error Prone plugins have new documentation at: http://errorprone.info/docs/plugins -- MOS_MIGRATED_REVID=125973715
* Short-circuit visitation of empty nested sets, reinstating the spirit of ↵Gravatar Eric Fellheimer2016-06-27
| | | | | | | commit 7c991c333999f3027d31da6af700f575924066cd. -- MOS_MIGRATED_REVID=125969403
* Polish the command-line reference.Gravatar Ulf Adams2016-06-27
| | | | | | | | | | | - change options to print --foo=value - allow option to specify what "value" should be - update the documentation for the startup options - add some indentation to the descriptions - add some spacing between flag texts -- MOS_MIGRATED_REVID=125960618
* Add SkyQuery-specific allrdeps implementation to allow batch getReverseDepsGravatar Googler2016-06-27
| | | | | | | with maximum limit -- MOS_MIGRATED_REVID=125959807
* Fixed java_stub_template.txt after disabling runfiles on WindowsGravatar Yun Peng2016-06-27
| | | | | | | -- Change-Id: Ia5def69207f6f69809ff09cda67910844749e63e Reviewed-on: https://bazel-review.googlesource.com/#/c/3907 MOS_MIGRATED_REVID=125957512
* Unhide --experimental_ui_actions_shownGravatar Klaus Aehlig2016-06-27
| | | | | | | -- Change-Id: I1b8acc9dbd73ede3952a51f3f67b32e1b7e536a2 Reviewed-on: https://bazel-review.googlesource.com/#/c/3900 MOS_MIGRATED_REVID=125957281
* Add skeleton code for a JNI .DLL on Windows.Gravatar Lukacs T. Berki2016-06-27
| | | | | | | | | Tested by hacking in a call to a JNI method into BatchMain.java . -- Change-Id: I77b0731fa6b81f8cbc80cf2a31d427764fad6ad1 Reviewed-on: https://bazel-review.googlesource.com/#/c/3908/ MOS_MIGRATED_REVID=125955521
* experimental UI: honor --progress_in_terminal_titleGravatar Klaus Aehlig2016-06-27
| | | | | | | | | | Make the experimental UI honor the --progress_in_terminal_title options which requests that the terminal title be set to a description of the current progress. -- Change-Id: I8ebded9ebb7e9f821344165fca6b5f6b9b254c68 Reviewed-on: https://bazel-review.googlesource.com/#/c/3904 MOS_MIGRATED_REVID=125953773
* Move LoggingTerminalWriter out of testGravatar Klaus Aehlig2016-06-27
| | | | | | | | | ...so that it can be used by the main code base. -- Change-Id: Ibf59d74ab1b0cca9bd9406bb76ee6e71189653bf Reviewed-on: https://bazel-review.googlesource.com/#/c/3903 MOS_MIGRATED_REVID=125950656
* experimental UI: Avoid empty linesGravatar Klaus Aehlig2016-06-27
| | | | | | | | | | ...to save a bit of horizontal space in the scroll-back buffer. The color-coding already gives enough navigation hints. -- Change-Id: Id0e5decc6bd495a99ec839c096700406d8d1bab9 Reviewed-on: https://bazel-review.googlesource.com/#/c/3902 MOS_MIGRATED_REVID=125943242
* experimental UI: mention that we track the _running_ actionsGravatar Klaus Aehlig2016-06-27
| | | | | | | | | | | | The experimental UI shows the oldest still running actions as well as the total number of running actions. However, just presenting them as "X actions" is confusing for some users; so be more explicit and mention them as "X actions running". -- Change-Id: I26b8450690dc8b233271596d3c85e9c0924f7333 Reviewed-on: https://bazel-review.googlesource.com/#/c/3901 MOS_MIGRATED_REVID=125941605
* Use Thread#isInterrupted() instead of Thread#interrupted() followed by ↵Gravatar Lukacs Berki2016-06-27
| | | | | | | Thread#interrupt() . -- MOS_MIGRATED_REVID=125933542
* Update build encyclopedia documentation to make clear that entitlements are ↵Gravatar Googler2016-06-27
| | | | | | | not supported on the Simulator out of the box yet. -- MOS_MIGRATED_REVID=125814847
* make StdRedirect available in the runfiles.Gravatar Googler2016-06-27
| | | | | -- MOS_MIGRATED_REVID=125804148
* Fix some GC churn issues when dealing with Labels:Gravatar Eric Fellheimer2016-06-27
| | | | | | | | - reduce use of #substring(), which must copy the sub-region of the string - specialize hashCode() implementation so that we don't need to push objects into an array. -- MOS_MIGRATED_REVID=125798978
* --Gravatar Carmi Grushko2016-06-27
| | | | MOS_MIGRATED_REVID=125790153
* Provide clearer messaging when a build fails because a rule'sGravatar Greg Estren2016-06-27
| | | | | | | | | | | | | | | | | | supported environments get refined away by incompatible select paths. This is a fix of TODO: https://github.com/bazelbuild/bazel/blob/master/src/main/java/com/google/devtools/build/lib/analysis/constraints/ConstraintSemantics.java#L597 Old message: ERROR: /workspace/foo/BUILD:3:1: in cc_binary rule //foo:main: all environments have been refined out of the following groups: //buildenv:environment_group New message: ERROR: /workspace/foo/BUILD:3:1: in cc_binary rule //foo:main: the current command-line flags disqualify all supported environments because of incompatible select() paths: environment: //buildenv:gce removed by: //util/lib:some_dep_with_select (/workspace/util/lib/BUILD:12:1) -- MOS_MIGRATED_REVID=125788804
* experimental UI: flush buffersGravatar Klaus Aehlig2016-06-24
| | | | | | | | | At the end of the build (or when realizing that there will be no build phase), the experimental UI drops into full streaming mode. When doing so, do not forget to flush all buffered incomplete lines for stdout and stderr. -- MOS_MIGRATED_REVID=125770854
* Set the default value of PRODUCT_NAME to "Bazel" and add a test to guaranteeGravatar Luis Fernando Pino Duque2016-06-24
| | | | | | | Bazel is using the right value. -- MOS_MIGRATED_REVID=125764994
* Do not try to read from the stdout/stderr streams of destroyed processes.Gravatar Lukacs Berki2016-06-24
| | | | | | | | | According to https://bugs.openjdk.java.net/browse/JDK-4311711 , the behavior is undefined and it reproducibly results in hangs on Windows. This makes Ctrl-C on be able to interrupt Bazel during the execution phase, too. There are no guarantees about actually killing the child processes, though: Process.destroy() apparently leaves some child processes running. Unfortunately, Java doesn't offer a solution to this, so we'll have to resort to native code in some way. -- MOS_MIGRATED_REVID=125758911
* Enable non_arc_srcs for experimental_objc_library. Allow build variables to ↵Gravatar Cal Peyser2016-06-24
| | | | | | | | | be passed to CcLibraryHelper for an individual source rather than the entire build. -- MOS_MIGRATED_REVID=125738742
* Fix interning in PathFragment.create(char, bool, String[])Gravatar Michajlo Matijkiw2016-06-24
| | | | | -- MOS_MIGRATED_REVID=125721556
* Roll forward commit 53c8f94cfb2ac7d41c8815e40e3d9d834789142bGravatar Liam Miller-Cushon2016-06-24
| | | | | | | | | If addDirectJars and addCompileTimeClassPathEntries are called multiple times on JavaTargetAttributes, the direct deps should always appear before transitive deps on the classpath. -- MOS_MIGRATED_REVID=125719132
* --Gravatar Carmi Grushko2016-06-24
| | | | MOS_MIGRATED_REVID=125712280
* Clarify documentation of type() - behavior might change in the future.Gravatar Laurent Le Brun2016-06-24
| | | | | | | Also, update difference with Python that was dropped from commit 1c88f9cfafcd7f8856066a0ca4531ca2fc92c5bd -- MOS_MIGRATED_REVID=125711726
* Fix Label and FileType doc locationsGravatar Kristina Chodorow2016-06-24
| | | | | | | | | Moves the constructors out of Globals and under the correct types. Fixes #945. -- MOS_MIGRATED_REVID=125708868
* Rollback of commit dc3dad6a905be2ae76d3b1213d7154bf112d1220.Gravatar Sergio Campama2016-06-24
| | | | | | | | | | | | | *** Reason for rollback *** Needs more design as it would fail on some edge cases *** Original change description *** Support for the compatibility generation of pbobjc.h files by the PB2 library. Previously it was gated by the use_objc_header_names attribute. Now, if the flag isn't set, it will generate both the pb and pbobjc ones, simplifying switching between libraries. -- MOS_MIGRATED_REVID=125705664
* Improve documentation for type()Gravatar Laurent Le Brun2016-06-24
| | | | | -- MOS_MIGRATED_REVID=125683322
* Don't treat *OutsidePackageRootsException as normal IOExceptions in ↵Gravatar Janak Ramakrishnan2016-06-24
| | | | | | | PackageFunction, leading to InconsistentFilesystemExceptions being the root cause of a NoSuchPackageException. They are persistent and should be treated as the real root cause of the NoSuchPackageException. -- MOS_MIGRATED_REVID=125683253
* Rollback of commit 0de6a93fcc4fd6304936165b07963c4d722c44be.Gravatar Philipp Wollermann2016-06-23
| | | | | | | | | | | *** Reason for rollback *** This breaks the Bazel build because "putMappedXmlValue" does not exist. See: http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=linux-x86_64/616/console -- MOS_MIGRATED_REVID=125671091
* Fix expansion rendering in help html output.Gravatar Ulf Adams2016-06-23
| | | | | -- MOS_MIGRATED_REVID=125665042