| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Fixed https://github.com/bazelbuild/bazel/issues/4723
RELNOTES:
PiperOrigin-RevId: 187589378
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks Kokoro and I accidentally submitted the change without presubmit checks.
*** Original change description ***
Make __init__.py files creation optional
Introduce a new attribute to py_binary and py_test to control whether to
create `__init__.py` or not.
Fixes https://github.com/bazelbuild/rules_python/issues/55
Closes #4470.
PiperOrigin-RevId: 185676592
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce a new attribute to py_binary and py_test to control whether to
create `__init__.py` or not.
Fixes https://github.com/bazelbuild/rules_python/issues/55
Closes #4470.
PiperOrigin-RevId: 185672243
|
|
|
|
|
|
| |
This also migrates the example to the new rules_apple ios_application rule, since the native Bazel rule is being deleted.
PiperOrigin-RevId: 168902357
|
|
|
|
|
|
|
|
| |
This example depends on Bazel's objc_binary rule, which is being deleted in
favor of the rules at https://github.com/bazelbuild/rules_apple. This specific
example has been supplanted by others in https://github.com/google/j2objc.
PiperOrigin-RevId: 168752987
|
|
|
|
|
| |
RELNOTES: The swift_library rule that is distributed with Bazel has been deleted. Users who wish to compile Swift should use the rules in https://github.com/bazelbuild/rules_apple instead.
PiperOrigin-RevId: 168032330
|
|
|
|
|
|
| |
Also serves as an example for bug #3106.
PiperOrigin-RevId: 158116940
|
|
|
|
|
|
|
| |
and fixes some of J2ObjC's implicit deps to correctly reference the embedded tools.
RELNOTES: Partially fixes external J2ObjC support.
PiperOrigin-RevId: 157503022
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Adding UNC prefix after os.path.join, so that paths will be normalized
and absolute.
2. Make example/py_native/bin.py work in python3
3. Add a shell test for building python binary with python3
4. Run all tests in batch mode
Fix https://github.com/bazelbuild/bazel/issues/2708
--
Change-Id: I8dc18c80ebba87e965fe6fef9978732e6c35b1f0
Reviewed-on: https://cr.bazel.build/9456
PiperOrigin-RevId: 150734716
MOS_MIGRATED_REVID=150734716
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* We already have native python rules, so the skylark
ones are no longer unnecessary now
* Leaving `load skylark rules` statement in the example
may be misleading for newcomers
Testing done:
* re-compile bazel
* use it to build example folder and run py target
``` shell
./compile.sh compile /usr/bin/bazel
/home/yiyu/opt/bazel/output/bazel build //examples:all
/home/yiyu/opt/bazel/output/bazel run //examples/py:bin
```
--
Change-Id: Icd82afff2b74e77c0bcc80687b04225baf28f6ad
Reviewed-on: https://cr.bazel.build/9070
PiperOrigin-RevId: 148646895
MOS_MIGRATED_REVID=148646895
|
|
|
|
|
|
|
|
| |
* Require callers to use argument labels so that the call site looks the same in Swift 2 and 3.
--
PiperOrigin-RevId: 144484042
MOS_MIGRATED_REVID=144484042
|
|
|
|
|
|
|
|
| |
Also removes some outdated comments in the README.md.
--
PiperOrigin-RevId: 142705870
MOS_MIGRATED_REVID=142705870
|
|
|
|
|
|
|
| |
--
Change-Id: I8baac367d42cf9fad770560338942f9f857e5761
Reviewed-on: https://bazel-review.googlesource.com/#/c/7135
MOS_MIGRATED_REVID=138067228
|
|
|
|
|
|
|
| |
This is needed to make Bazel CI green(er) again, because CI machines are being upgraded to macOS Sierra and Xcode 8.0.
--
MOS_MIGRATED_REVID=136825401
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126571069
|
|
|
|
|
|
|
|
|
|
|
| |
missing file to it.
We need to activate this check on presubmits
--
Change-Id: Ia95e92d3816ce92bb69bc0e2cf56e9c60b68d970
Reviewed-on: https://bazel-review.googlesource.com/#/c/3949/
MOS_MIGRATED_REVID=126404792
|
|
|
|
|
|
|
|
|
|
|
| |
run following commands to test it:
bazel build --cpu=x64_windows_msvc examples/windows/dll:hello
./bazel-bin/examples/windows/dll/hello
--
Change-Id: I096f6ff66473b1c9980b0aa36ec291f39512dd71
Reviewed-on: https://bazel-review.googlesource.com/#/c/3932
MOS_MIGRATED_REVID=126300284
|
|
|
|
|
|
|
|
|
|
| |
bazel test now works for java native example tests, but most of
Bazel's java_test still fail on Windows due to other reasons.
--
Change-Id: Ie4ab6570b294815b9e06dd9bbd0cb7a48eb6ed11
Reviewed-on: https://bazel-review.googlesource.com/#/c/3810
MOS_MIGRATED_REVID=124932604
|
|
|
|
|
|
|
| |
Discovered while discussing #1321
--
MOS_MIGRATED_REVID=123946533
|
|
|
|
|
|
|
|
| |
* Modules are now named after its full target path by default.
* module_name attribute can be used to override this logic.
--
MOS_MIGRATED_REVID=123422704
|
|
|
|
|
|
|
|
| |
Those rules were moved to, respectively, https://github.com/bazelbuild/rules_rust,
https://github.com/bazelbuild/rules_jsonnet, https://github.com/bazelbuild/rules_scala, and https://github.com/bazelbuild/rules_closure.
--
MOS_MIGRATED_REVID=121834063
|
|
|
|
|
|
|
|
|
|
| |
RELNOTES: Bazel's workspace name is now io_bazel. If you are using Bazel's
source as an external repository, then you may want to update the name you're
referring to it as or you'll begin seeing warnings about name mismatches in your
code.
--
MOS_MIGRATED_REVID=120926179
|
|
|
|
|
|
|
|
| |
* Adds a swift_library rule that produces a (.a, .swiftmodule) pair. It can handle dependencies between modules and can be used as a dependency of objc_binary.
* Does not work with Objective-C yet.
--
MOS_MIGRATED_REVID=120578875
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit 790d2f6009d47fe92cf0cd92a1473bbf0141f32e.
*** Reason for rollback ***
Broke non-Bazel projects on ci.bazel.io
Fixes #1168
*** Original change description ***
Move the runfiles for external repositories to under the x.runfiles/ directory
This also sets the Bazel workspace name to io_bazel_source.
Fixes #848.
Relevant to #1116, #1124,
RELNOTES[INC]: All repositories are now directly under the x.runfiles directory in the runfiles tree (previously, external repositories were at x.runfiles/main-repo/external/other-repo. This simplifies handling remote repository runfiles considerably, but will break existing references to external repository runfiles....
***
--
MOS_MIGRATED_REVID=120535721
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also sets the Bazel workspace name to io_bazel_source.
Fixes #848.
Relevant to #1116, #1124,
RELNOTES[INC]: All repositories are now directly under the x.runfiles directory in the runfiles tree (previously, external repositories were at x.runfiles/main-repo/external/other-repo. This simplifies handling remote repository runfiles considerably, but will break existing references to external repository runfiles.
---
Furthermore, if a Bazel project does not provide a workspace name in the WORKSPACE file, Bazel will now default to using __main__ as the workspace name (instead of "", as previously). The repository's runfiles will appear under x.runfiles/__main__/.
--
MOS_MIGRATED_REVID=120224534
|
|
|
|
|
|
|
|
|
|
|
|
| |
The immmediate reason for this change is that we also need to add gRPC support to the proto rules, and we don't want to also support gRPC in a half-baked way.
This makes the Bazel binary much smaller and avoid giving false signals that we (for now) support protobuf compilation. The protobuf rules are only for compiling Bazel itself.
RELNOTES[INC]: Bazel does not embed protocol buffer-related rules anymore.
--
MOS_MIGRATED_REVID=119516246
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117968196
|
|
|
|
|
|
|
| |
Will need to release before we can remove resources from objcbinary rules.
--
MOS_MIGRATED_REVID=116571890
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=116272974
|
|
|
|
|
|
|
| |
update instructions on how to generate.
--
MOS_MIGRATED_REVID=115175144
|
|
|
|
|
|
|
|
| |
RELNOTES[INC]: Renamed proto_java_library to java_proto_library. The former
is now deprecated and will print out a warning when used.
--
MOS_MIGRATED_REVID=115012027
|
|
|
|
|
|
|
|
|
| |
This is in preparation for another change that will add a new helper script
to the tools/build_rules directory, and such script requires a BUILD rule
of its own.
--
MOS_MIGRATED_REVID=114898083
|
|
|
|
|
|
|
| |
Python sources filegroup was broken by the addition of a new package
--
MOS_MIGRATED_REVID=114323099
|
|
|
|
|
|
|
|
|
|
|
| |
directories to PYTHONPATH.
Fixes #702
RELNOTES: Add imports attribute to native Python rules.
--
MOS_MIGRATED_REVID=114314430
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=113789897
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=113782855
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will fix some issue with loading skylark rules from @bazel_tools.
Tested with ./compile.sh all and also a project that use pkg_tar from
@bazel_tools (which is broken at HEAD).
--
Change-Id: Iffbb7134ef5fee497890c4d01b85084973d45ad0
Reviewed-on: https://bazel-review.googlesource.com/2800
MOS_MIGRATED_REVID=113508661
|
|
|
|
|
|
|
|
|
| |
instead of just objc_binary.
RELNOTES:
--
MOS_MIGRATED_REVID=112601304
|
|
|
|
|
|
|
|
|
| |
RELNOTES[NEW]: A new java test runner that support XML output and test filtering is supported.
It can be used by specifying --nolegacy_bazel_java_test or by speicifying the test_class
attribute on a java_test.
--
MOS_MIGRATED_REVID=112028955
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix conflicting .deps directory creation by rust_test rule
* Fix dependency symlinking in generated rust_doc_test scripts
Fixes #572
TESTED: bazel test //examples/rust/...
--
MOS_MIGRATED_REVID=108617330
|
|
|
|
|
|
|
|
|
| |
Adds rules for csharp_binary, csharp_library, and csharp_nunit_test.
--
Change-Id: I51e448a399c535554353b3f40bf090bb602f647f
Reviewed-on: https://bazel-review.googlesource.com/#/c/2270/
MOS_MIGRATED_REVID=107399181
|
|
|
|
|
|
|
| |
sandboxing was enabled, by adding "jni_dep.h" to "hdrs" in //examples/android/java/bazel:jni_dep.
--
MOS_MIGRATED_REVID=106408122
|
|
|
|
|
|
|
| |
RELNOTES: [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code.
--
MOS_MIGRATED_REVID=106040951
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105949508
|
|
|
|
|
|
|
|
| |
bazel test examples/go/lib:lib_test
bazel build examples/go/bin:bin
--
MOS_MIGRATED_REVID=105070940
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rust_test rule.
* Add rust_bench_test rule to run benchmark tests
* Add rust_doc_test rule to run Rust documentation tests.
* Enable rust_test and rust_bench_test to depend directly on a rust_library target.
* Rename rust_docs rule to rust_doc for consistency.
RELNOTES: [rust] Add rust_bench_test and rust_doc_test rules and improve usability of rust_test tule.
--
MOS_MIGRATED_REVID=104648497
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
Additional updates to Rust rules:
* Consolidate BUILD files for Rust distribution.
* Prevent rust_binary from depending directly on cc_library.
* Update Rust version to 1.3.0
RELNOTES: [rust] Add rust_docs rule for generating rustdoc.
--
MOS_MIGRATED_REVID=103827592
|
|
|
|
|
|
|
|
|
| |
RELNOTES[NEW]: Support for build with libsass.
--
Change-Id: I2a24212d9466e2e2a8b653027f1cc9579b4d4221
Reviewed-on: https://bazel-review.googlesource.com/#/c/1990/
MOS_MIGRATED_REVID=103740130
|
|
|
|
|
|
|
|
|
| |
d_source_library.
RELNOTES: [d] d_docs rules now depend on a d_binary, a d_library or d_source_library.
--
MOS_MIGRATED_REVID=103736167
|