REPO.bazel now allows another directive, ignore_directories(). It takes a list of directories to ignore just like .bazelignore does, but with glob semantics. (#24203) Android Native mobile-install is deleted. Please use the new Starlarkified version (“mobile-install v3”) instead. See https...
Some updates: I used something like this to get jvm.out from our pipeline: $(set -x; sleep 8m; ps aux | grep bazel; kill -3 $(pgrep -f --newest 'bazel'); sleep 20; pkill -9 java) & disown. Another pipeline ran overnight, and it looks like it's not a complete deadlock, ...
We also defined another target with the namecustomers-test-resourcesto add non-Java sources (e.g., logging config files) to our test suite target as a dependency. In thecustomerspackage, we have aCustomerServiceclass that stores and retrieves customer details in a PostgreSQL database. And we...
The vendor and version information of the bundled OpenJDK can be displayed by running the command bazel info java-runtime. The binaries and source-code of the bundled OpenJDK can be downloaded from our mirror server. Security: All our binaries are signed with our public key 3D5919B448457EE0...
Here, //path/to/other:library is another target in your repo that produces TypeScript typings (for example, another ts_project rule). Be sure to set the rootDirs in your tsconfig.json as noted below, so that TypeScript can find the .d.ts files produced by that other target....
Target: A target is a definition of an action. Most targets are one of two principal kinds: rules or labels. Rule: A function that processes files as input and output, supporting chaining, where the output of one rule can serve as the input for another. Target Rule Label: An identifier...
Alternatively, if the build rule for your target contains ibazel_notify_changes in its tags attribute, then the command will stay alive and will receive a notification of the source changes on stdin.Output RunneriBazel is capable of producing and running commands from the output of Bazel ...
“If someone gives you an introduction to another person, recognize that. Knowing a system of people is work. Knowing where to find answers is work. Saying I’m going to be available and responding to emails is work. If you see a conversation where someone is getting unhelpful pushback, ...
commands: setup-bazel: description: | Setup the Bazel build system used for building Android projects steps: - run: name: Add Bazel Apt repository command: | sudo apt install curl gnupg curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg sudo mv bazel.gpg...
build:release_linux_base --copt=-Wno-error=unused-command-line-argument # Set lld as the linker. build:release_linux_base --linkopt="-fuse-ld=lld" build:release_linux_base --linkopt="-lm" # We have some invalid linker scripts in the build, # so we need to disable this che...