| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 193048262
|
|
|
|
|
|
|
|
| |
RELNOTES:
`FileType` is deprecated and will be removed soon.
Try the `--incompatible_disallow_filetype` flag to ensure your code
is forward-compatible.
PiperOrigin-RevId: 192758063
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 192754490
|
|
|
|
|
|
|
| |
a point about Android Instrumentation Tests.
RELNOTES: None.
PiperOrigin-RevId: 192707296
|
|
|
|
|
|
| |
RELNOTES: Args objects (ctx.actions.args()) have new methods add_all() and add_joined() for building command lines using depsets.
RELNOTES[INC]: Added flag --incompatible_disallow_old_style_args_add to help migrate from args.add() to args.add_all() / args.add_joined() where appropriate.
PiperOrigin-RevId: 192633763
|
|
|
|
|
|
| |
Closes #5008.
PiperOrigin-RevId: 192629969
|
|
|
|
|
|
|
| |
Closes #4988.
Change-Id: I23c705917a9582aef70ba4947bb28b4a228e8833
PiperOrigin-RevId: 192622600
|
|
|
|
|
|
| |
RELNOTES:
Removed flag `--incompatible_disallow_toplevel_if_statement`.
PiperOrigin-RevId: 192621765
|
|
|
|
|
|
|
| |
Language type for code blocks should be "python", not "skylark".
RELNOTES: None
PiperOrigin-RevId: 192608419
|
|
|
|
|
|
|
| |
Now there isn't any known issue with Bazel working with VS 2017.
RELNOTES: None
PiperOrigin-RevId: 192596171
|
|
|
|
|
|
|
| |
This document is targeted at intermediate/advanced Android + Bazel users, so it assumes that the user has a grasp of android_* rules, external dependency management and Android testing.
RELNOTES: None.
PiperOrigin-RevId: 192550803
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 192479130
|
|
|
|
|
|
|
|
| |
RELNOTES:
The `/` operator is deprecated in favor of `//` (floor integer division).
Try the `--incompatible_disallow_slash_operator` flag to ensure your code
is forward-compatible.
PiperOrigin-RevId: 192430310
|
|
|
|
|
|
|
|
| |
if some test runs forever.
Correct code snippet labels.
RELNOTES: Add "--detach" to tap_presubmit command.
PiperOrigin-RevId: 192314988
|
|
|
|
|
|
|
|
|
|
| |
Update documentation of repository rules to reflect the recent
change that label arguments are prefetched.
Related to #4533.
Change-Id: I765b3d030ca3e6bf0cca7e18f4bfcc17d1d5aea3
PiperOrigin-RevId: 192258022
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also include the test target in the test log for easier debugging of tests.
Fixes #4960.
Change-Id: Ic79bf21e8eeba765b607755c1d290ee4e910d01f
Closes #4972.
Sample output:
```
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //src/test/shell/bazel:bazel_example_test
-----------------------------------------------------------------------------
```
Change-Id: I433cd9251a564b269da5566bb8401151ae4c99b7
PiperOrigin-RevId: 191891278
|
|
|
|
| |
PiperOrigin-RevId: 191717115
|
|
|
|
|
|
|
| |
limiting/misleading. Added supported host OSes to "multi-platform" paragraph.
RELNOTES: Removed the statement of "What does Bazel support?" as it's limiting/misleading. Added supported host OSes to "multi-platform" paragraph.
PiperOrigin-RevId: 190793121
|
|
|
|
|
|
| |
minus some minor specific features.
PiperOrigin-RevId: 190784717
|
|
|
|
| |
PiperOrigin-RevId: 190673642
|
|
|
|
|
|
|
| |
Also add tests for leading "+" in int(<string>) form.
RELNOTES: None
PiperOrigin-RevId: 190507678
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 190470599
|
|
|
|
|
|
|
|
|
| |
'rbuildfiles': this query function takes a comma-separated list of strings, which it interprets as paths.
Also fix an issue with the documented semantics of 'rbuildfiles': it only returns BUILD file targets, not bzl file targets.
RELNOTES: None
PiperOrigin-RevId: 190257359
|
|
|
|
| |
PiperOrigin-RevId: 190256860
|
|
|
|
|
|
|
|
| |
RELNOTES[INC]: The --incompatible_disallow_uncalled_set_constructor flag is no
longer available, the `set` constructor` is completely removed from Skylark.
Use `depset` instead.
PiperOrigin-RevId: 190053331
|
|
|
|
|
|
|
|
| |
RELNOTES[INC]: The flag --incompatible_show_all_print_messages is removed.
Messages generated by `print` statements from any package will be displayed as
DEBUG messages.
PiperOrigin-RevId: 190043451
|
|
|
|
|
|
|
|
|
|
| |
Now we are using the native launcher to run binary for Java and Python,
so the outputs of these targets have changed.
Closes #4898.
Change-Id: Id2ea33d7c02b5608215b5cd4173ed917df0cb217
PiperOrigin-RevId: 190037369
|
|
|
|
|
|
|
|
|
| |
This makes legacy providers a subsection so it can be referenced from linter error messages.
It also adds some prose explaining the exact correspondence between legacy provider field keys and modern providers.
RELNOTES: None
PiperOrigin-RevId: 189980562
|
|
|
|
|
|
|
|
|
|
| |
```
ERROR: Query expressions involving 'buildfiles' or 'loadfiles' cannot be used with --output=location
```
Closes #4835.
PiperOrigin-RevId: 189888124
|
|
|
|
|
|
|
|
|
|
| |
- Changes in the int() function.
- Changes in the string interpolation operator.
Fixes #4862
RELNOTES: None.
PiperOrigin-RevId: 189626007
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 189617545
|
|
|
|
|
|
|
|
|
| |
Prefer "Extension" over "Skylark" when referring specifically to Bazel's use of Skylark.
Follow-up to https://github.com/bazelbuild/bazel/commit/3ef60b7cdcf8826102ec42a77183645ab0cafcf7.
RELNOTES: None
PiperOrigin-RevId: 189602396
|
|
|
|
|
|
|
|
|
| |
Rewrite/add to the contents of this section.
Also updated the page titles / navbar entries of Skylark documentation to make them more uniform (title case, avoid redundancy).
RELNOTES: None
PiperOrigin-RevId: 189503729
|
|
|
|
| |
PiperOrigin-RevId: 189201051
|
|
|
|
| |
PiperOrigin-RevId: 189196060
|
|
|
|
|
|
|
| |
the link, expecting to be redirected to a new page, but it's just an anchor link on the same page. The page is short enough to not need a ToC.
RELNOTES: None.
PiperOrigin-RevId: 189042068
|
|
|
|
|
|
|
| |
It is no longer meaningful since the vfs doesn't have an internal path tree to dump.
RELNOTES: Remove support for blaze dump --vfs. It is no longer meaningful.
PiperOrigin-RevId: 188739379
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 188730878
|
|
|
|
|
| |
RELNOTES: None.
PiperOrigin-RevId: 188711261
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 188625855
|
|
|
|
|
|
|
| |
See changes in https://github.com/bazelbuild/examples/pull/56
RELNOTES: None
PiperOrigin-RevId: 188601311
|
|
|
|
|
|
| |
Closes #4693.
PiperOrigin-RevId: 188488139
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I wasn't able to build a simple 'hello-world' example with an identical structure. I encountered several problems:
1) bazel forces to declare a license for code within the 'third_party' sub-directory. This not at all obvious to noobs.
2) bazel complains about a missing input file 'some_lib.h' without the leading 'include' in hdrs and the build fails.
3) compilation throws "No such file or directory" when trying to include 'some_lib.h' with the trailing 'include' in copts.
I think this is particularly important for converting legacy projects (not necessarily third party) that use cmake, autoconf, etc...
Closes #4697.
PiperOrigin-RevId: 188471650
|
|
|
|
| |
PiperOrigin-RevId: 188362796
|
|
|
|
|
|
| |
Closes #4689.
PiperOrigin-RevId: 188169719
|
|
|
|
|
|
| |
Closes #4640.
PiperOrigin-RevId: 188022228
|
|
|
|
|
| |
RELNOTES: None
PiperOrigin-RevId: 188019651
|
|
|
|
|
|
|
|
| |
The user manual filename has been renamed from `bazel-user-manual.html` to `user-manual.html`.
Closes #4662.
PiperOrigin-RevId: 187877241
|
|
|
|
|
|
| |
Closes #4743.
PiperOrigin-RevId: 187869648
|
|
|
|
|
|
|
|
| |
Fixes #4740
Closes #4768.
PiperOrigin-RevId: 187868625
|