| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
As //tools/defaults will be deprecated soon. All usages of //tools/defaults:jdk and //tools/defaults:java_toolchain should be replaced by corresponding targets in //tools/jdk/BUILD package
RELNOTES:none
PiperOrigin-RevId: 202114489
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Convert most `COMPILER_MSVC` to `_WIN32` (as they apply to Windows platform, not MSVC compiler). Only `src/tools/singlejar/zip_headers.h` and `src/main/cpp/util/md5.h` actually need `_MSC_VER`.
`COMPILER_MSVC` in `third_party/protobuf` are not removed. They can be fixed by updating dependency to newer version.
/cc @meteorcloudy
Closes #5350.
Change-Id: Ibc131abfaf34a0cb2bd338549983ea9d28eaabfe
PiperOrigin-RevId: 200019793
|
|
|
|
|
|
|
|
|
|
|
| |
Leave functions that make file accesses in the file library, and general blaze utilities in the blaze_util file, but move the functions that boil down to string manipulation and path formatting to their own file. (With the exception of getCWD, since absolute path syntax is relevant here.)
Doing this largely to consolidate all Windows path control into a single place, so that it's easier to notice inconsistencies. For instance, ConvertPath currently makes Windows paths absolute, but not Posix paths, and MakeAbsolute relies on this behavior. In addition, JoinPath assumes Posix path syntax, which leads to some odd looking paths. These will be fixed in a followup change.
(Found these issues while working on #4502, trying to fix the windows-specific system bazelrc.)
RELNOTES: None.
PiperOrigin-RevId: 199368226
|
|
|
|
|
|
|
|
|
| |
RELNOTES: For Android projects, Bazel now supports building fonts as
resources. See
https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml
for more information on the feature.
Change-Id: I1cb25828b04e98cacc19d3c7a2e23ea764b48e92
|
|
|
|
|
|
| |
extension functions.
PiperOrigin-RevId: 198579700
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
portability bug is that sysconf() returns a long unsigned int but size_t is unsigned int (on the Pi 3) unsigned int causing a compilation failure (see below). Fixing the code to be portable, in this case, seems harmless in the common case where size_t is 64 bits AFAICT.
(I don't know your org so please feel free to reassign.)
The compilation error I received is:
ERROR: /home/hallorant/src/bazel-0.13.1/third_party/ijar/BUILD:10:1: C++ compilation of rule '//third_party/ijar:zip' failed (Exit 1): gcc failed: error executing command
(cd /tmp/bazel_TMQ6Ae45/out/execroot/io_bazel && \
exec env - \
PWD=/proc/self/cwd \
/usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/host/bin/third_party/ijar/_objs/zip/third_party/ijar/mapped_file_unix.d '-frandom-seed=bazel-out/host/bin/third_party/ijar/_objs/zip/third_party/ijar/mapped_file_unix.o' -DBLAZE_OPENSOURCE -iquote . -iquote bazel-out/host/genfiles -iquote external/bazel_tools -iquote bazel-out/host/genfiles/external/bazel_tools -isystem third_party/zlib -isystem bazel-out/host/genfiles/third_party/zlib -isystem bazel-out/host/bin/third_party/zlib -g0 -g0 -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c third_party/ijar/mapped_file_unix.cc -o bazel-out/host/bin/third_party/ijar/_objs/zip/third_party/ijar/mapped_file_unix.o)
third_party/ijar/mapped_file_unix.cc: In constructor 'devtools_ijar::MappedOutputFile::MappedOutputFile(const char*, size_t)':
third_party/ijar/mapped_file_unix.cc:114:67: error: no matching function for call to 'min(long unsigned int, unsigned int)'
std::numeric_limits<size_t>::max());
PiperOrigin-RevId: 198405201
|
|
|
|
|
|
| |
Fixes #5134, #1008
Change-Id: Ic34e26b17b2ebee75f36e9f56f8e5c2ec6205bc0
|
|
|
|
| |
Change-Id: I02b6384272de91dce3df5bbc56424338ba914e90
|
|
|
|
|
|
|
|
| |
Follow-up to bdb75bba00dbe97e9bb99db04844096f135f59ad
Change-Id: I325ed4bf4aed5703f57d1f688d0007394b5b1d53
Closes #5105.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix error reporting in the path conversion methods
of the Bazel client. Previously the error
reporting logic used GetLastErrorString in places
where it was not appropriate (i.e. it was not a
failed Windows API call that caused an error).
This cleanup prepares removing the concept of the
MSYS root from the Bazel client, since MSYS paths
are no longer supported and we want to cut Bazel's
dependency on Bash (thus MSYS) completely.
See https://github.com/bazelbuild/bazel/issues/4319
Change-Id: Ie50a20e0ee0c572592f637340a2f2948c7f53088
Closes #5072.
Change-Id: Ie50a20e0ee0c572592f637340a2f2948c7f53088
PiperOrigin-RevId: 194052665
|
|
|
|
|
|
| |
Change-Id: Iba6fa9cbee4d9801cf95463558aa7606bd0b1d78
Closes #5070.
|
|
|
|
|
|
| |
Change-Id: If88b194d33ec9a847759e9e5cf3cf2019a2a7533
Closes #5062.
|
|
|
|
|
|
|
|
| |
Follow-up to eec549fafc25d9c713d61bab228b086c0b18346b
Change-Id: I100f657ec6ba641d09d70b08a1f748de62837d10
Closes #5029.
|
|
|
|
|
|
|
|
| |
to work around grpc/grpc-java#3633.
Change-Id: I7623a3d2a26f91cd37cad3c3446c37ce6fbd0706
Closes #5017.
|
|
|
|
|
|
|
| |
Built at:
https://github.com/google/turbine/commit/822abecd8b08182f75dfb807214b531ba0708bd5
Change-Id: I55835466782515c87151cc02ae55a075bb4f1b19
|
|
|
|
|
|
|
|
|
| |
This library provides the @Generated annotation, which is not available
by default in JDK 9 (see http://openjdk.java.net/jeps/320).
This will be used to work around grpc/grpc-java#3633.
Change-Id: I7d6d9a6d6c44fe23818e093c6ecc97f557dd5a3e
|
|
|
|
|
|
|
|
|
|
|
| |
This is based on the original jarjar sources, with updates
to support JDK 9.
I added it to a different packages (third_party/jarjar vs.
third_party/java/jarjar) because Bazel uses the first 'java/'
component of the path as the resource root.
Change-Id: Icdf10b1a71edf4e59f5524c1e169000b9f090ed9
|
|
|
|
| |
Change-Id: I25249e2f44e467d5902c5314b230766687691722
|
|
|
|
|
|
|
| |
This will mean the messages will make it to the right output stream.
RELNOTES:
PiperOrigin-RevId: 191925662
|
|
|
|
| |
Change-Id: I29e007625d0a25279d8b2967f89b1014b4825bd6
|
|
|
|
|
|
| |
This is done by adding a --[no]strip_classes flag to ijar.
PiperOrigin-RevId: 191184258
|
| |
|
|
|
|
| |
PiperOrigin-RevId: 190977545
|
|
|
|
|
|
|
| |
pdie and die are pretty similar, pdie just adds the errno string or equivalent from GetLastErrorString(). Make this explicit. This makes message formatting more clear in preparation for moving these all to BAZEL_LOG.
RELNOTES: None.
PiperOrigin-RevId: 190957255
|
|
|
|
|
|
|
|
| |
This was preventing ijar and singlejar from building when included in
@bazel_tools in our repo.
Change-Id: I1553e4f3615965cb997579e7d277fb2a08f9b91b
PiperOrigin-RevId: 190840090
|
|
|
|
|
|
| |
See #3410, #4812
Change-Id: Idd4adad7d48899c3b6de635d417446b71ba44afa
|
|
|
|
| |
Change-Id: I65379afbee65d321c31a48a9e1c8afae0cb99c34
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks Bazel on Windows: https://buildkite.com/bazel/bazel-bazel/builds/1041
*** Original change description ***
Fix a warning about comparing signed and unsigned values
PiperOrigin-RevId: 190593548
|
|
|
|
| |
PiperOrigin-RevId: 190580907
|
|
|
|
|
|
|
| |
This is the convention, and tools that only read manifests may optimize
assuming that the manifest is at the beginning.
PiperOrigin-RevId: 190167351
|
|
|
|
| |
PiperOrigin-RevId: 190010996
|
| |
|
|
|
|
| |
Change-Id: I23465de72f19e8b11fafe64bb345a3ee6a4f0b97
|
|
|
|
|
|
| |
https://github.com/bazelbuild/bazel/issues/4883
Change-Id: I23257cbde6f24df2b7af27c5ce37281202651ed1
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes: #4762.
GitHub recently removed weak crypto algorithm and the older versions of
JGit/JSch were affected.
https://githubengineering.com/crypto-removal-notice
Change-Id: I985fea98c67c4374fb9ef0cd59cd0f95ed77db33
Closes #4771.
|
|
|
|
| |
PiperOrigin-RevId: 185381597
|
|
|
|
| |
PiperOrigin-RevId: 185215813
|
|
|
|
|
|
| |
codec, but whose parent classes have codecs. This is ok because the polymorphic strategy doesn't need an instance of the grandchild class: the parent class is fine, so long as it has a codec.
PiperOrigin-RevId: 185200943
|
|
|
|
| |
Change-Id: Id636879aeab94916fcaed3c067e4077215ebc6df
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a rollforward with fixes.
The values (if present) are written into the manifest with this format:
Target-Label: <label>
Injecting-Rule-Kind: <kind>
In the future, JavaBuilder will make sure of this instead of command line arguments to find owners for jars for its add_dep commands.
PiperOrigin-RevId: 185159950
|
|
|
|
|
|
|
| |
Built at:
https://github.com/google/turbine/commit/2c7d1193e10c424cd236365d373aa4227a1f5ab5
Change-Id: I4cbb9e52b56f26ba88b019b63ee8e19a5f7fad2a
|
|
|
|
| |
PiperOrigin-RevId: 185153485
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Cascade rollback to unbreak bazel tests
*** Original change description ***
Update ijar tests to verify time stamp.
***
PiperOrigin-RevId: 185147605
|
|
|
|
| |
PiperOrigin-RevId: 185009133
|
|
|
|
|
|
|
|
|
|
|
| |
The values (if present) are written into the manifest with this format:
Target-Label: <label>
Injecting-Rule-Kind: <kind>
In the future, JavaBuilder will make sure of this instead of command line arguments to find owners for jars for its add_dep commands.
PiperOrigin-RevId: 185006704
|
|
|
|
|
|
|
|
|
| |
instead of removing them, since builds that use modules need them to be
visible across compilation boundaries. Note that the module-infos don't
contain any implementation that needs to be removed, so ijar just copies
the entire file through.
PiperOrigin-RevId: 184562080
|
|
|
|
|
|
|
| |
Built at:
https://github.com/google/turbine/commit/3cf4e7afb014f87baaf3af7faf0560c683765ea3
Change-Id: Id12ce0cac902ac8a8e57cba9be653bf81f442758
|
|
|
|
| |
Fixes https://github.com/bazelbuild/bazel/issues/4285
|
|
|
|
|
|
|
|
| |
Kryo is a fast and efficient object graph serialization framework for Java.
It will be used to marshal objects for a durable, versioned, scalable
representation of the build graph.
Change-Id: I9e5e1d2b36d4edbdbcf07146c4d3b7eb8eb8b586
|