| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
This is a prerequisite for the next javac update, and mirrors the
approach used for other javac-based tests in Bazel (e.g.
BazelJavaCompilerTest).
PiperOrigin-RevId: 152779250
|
|
|
|
| |
Change-Id: If256f5fdf59862b6f2efe4fff1fbeccd2e87c414
|
|
|
|
| |
Change-Id: I0455ef5f9f81f1443fd3cfa63a26f67f4f37529a
|
|
|
|
| |
PiperOrigin-RevId: 151461345
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 151453214
MOS_MIGRATED_REVID=151453214
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 151383588
MOS_MIGRATED_REVID=151383588
|
|
|
|
| |
Change-Id: Ifc30d7a2f1cd698f563342e41be9f59989af871b
|
|
|
|
|
|
|
| |
Adding third party dependencies required to call OnePlatform
endpoints with proper auth.
Change-Id: Iebafdd846999de2937bfa5f086871b69adae2057
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create dedicated files for the long-path-aware
Windows implementations of open/access/mkdir.
This commit updates many BUT NOT ALL usages of
<io.h> functions in protobuf's code base. Reason
being is that there are no Bazel build rules for
the unittest files that include <io.h>, so I
decided to leave those alone.
Thanks to this commit I can now build Bazel with
MSVC without needing a short --output_user_base.
Fixes https://github.com/bazelbuild/bazel/issues/2634
See https://github.com/bazelbuild/bazel/issues/2107
See https://github.com/google/protobuf/issues/2891
Change-Id: I374726452300854a36e4628bb22cb7bbb12f3bad
|
|
|
|
|
|
|
| |
Fixes https://github.com/bazelbuild/bazel/issues/2634
Fixes https://github.com/google/protobuf/issues/2891
Change-Id: I5b82954cbced4e0d3fcd7ac6f168cca34e57f731
|
|
|
|
|
|
|
| |
Release notes:
https://groups.google.com/d/topic/error-prone-announce/sXXuFyDDY1c/discussion
Change-Id: Ib43648dced8afc1f2e5abf3dffe6dd80305de854
|
|
|
|
| |
Change-Id: I0af97cbe6cc8386d0b1ab9a0c6f3c108f05f800d
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a missing header inclusion to string_win32.c
which was resulting in an implicit function
declaration with the wrong, but compatible type,
causing a char* being converted to int, converted
to char*, corrupting the upper 32 bits, leading to
a segfault.
Fixes https://github.com/bazelbuild/bazel/issues/2672
Change-Id: I805737c93c248f792b2c0f54fe15ab9a261575d2
|
|
|
|
| |
Change-Id: I9d16ab783e4d91f7a515103c4b6191c169f73570
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Fixed all errors.
*** Original change description ***
Automated [] rollback of commit 69a127b8f4e353ecb163688ed3271fb47e0f385d.
--
PiperOrigin-RevId: 149092038
MOS_MIGRATED_REVID=149092038
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
[] has detected that 500 or more targets failed to build at commit 69a127b8f4e353ecb163688ed3271fb47e0f385d, each of which successfully built at the prior CL that affected them.
[] double-checked that //javatests/com/google/apphosting/tests/usercode:Security_StubTest
built at 148995024. The verification run was:
[]
but the same target failed to build at 148995025. The [] link for this run is available here: []
To see all targets that ran, along with their final status, visit: []
Questions? Comments? See the URL.
go/autorollback
*** Original change description ***
ijar: use bazel's file utilities
This change not only implements ijar for Windows
(with MSVC), but also fixes a bug in
mapped_file_windows (path conversion didn't make
the input path absolute, so we could not build
java code with the MSYS-less bazel).
Fixes https://github.com/bazelbuild/bazel/issues/2157
--
PiperOrigin-RevId: 148998092
MOS_MIGRATED_REVID=148998092
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change not only implements ijar for Windows
(with MSVC), but also fixes a bug in
mapped_file_windows (path conversion didn't make
the input path absolute, so we could not build
java code with the MSYS-less bazel).
Fixes https://github.com/bazelbuild/bazel/issues/2157
--
PiperOrigin-RevId: 148995025
MOS_MIGRATED_REVID=148995025
|
|
|
|
|
|
| |
Fixes #2591
Change-Id: I7038b71811c54d5ece1c0993052abdffc9d0de96
|
|
|
|
|
|
|
|
| |
--
Change-Id: I6ce9c6afe14dfaff8a60ae90ee1504684d9cc61c
Reviewed-on: https://cr.bazel.build/9117
PiperOrigin-RevId: 148891361
MOS_MIGRATED_REVID=148891361
|
|
|
|
|
|
|
|
| |
See https://github.com/bazelbuild/bazel/issues/2157
--
PiperOrigin-RevId: 148887981
MOS_MIGRATED_REVID=148887981
|
|
|
|
|
| |
PiperOrigin-RevId: 148768294
MOS_MIGRATED_REVID=148768294
|
|
|
|
| |
Change-Id: I4fee049a92201fc8995e7aaa860f123101016480
|
|
|
|
| |
Change-Id: I89875f8233092e2704142fc306f9ec60da739b5f
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 2346f5a01561f695a2b2ba7655359d5020105077.
It breaks bazel build in freebsd[1]. The solution is to patch
https://svnweb.freebsd.org/ports/head/devel/protobuf/files/. I
rolled-back this since the other builds will not automatically start if
Bazel is broken.
[1] http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=freebsd-11/1312/
Change-Id: I7e939a4293d799ab6dd67f93d219d1efdf4cd901
|
|
|
|
|
|
|
| |
with some backports from HEAD
(:java_toolchain, internal_gen_well_known_protos_java)
Change-Id: I54be8809f411ec8cb02203b478f699e1fccb5f62
|
|
|
|
|
|
| |
https://github.com/google/error-prone-javac/archive/9-dev-r3297-3.zip
Change-Id: I78b073c8db4a525d19b73650ed8d3a12b10ff86a
|
|
|
|
|
|
| |
Also, rename rules in third_party/protobuf/3.0.0/BUILD to match upstream protobuf.
Change-Id: I343982e752722ebb2461fb08e722558cea2f06b9
|
|
|
|
| |
Change-Id: I79bf7970b67b40dfd597410d3fb85c6d3a0b0557
|
|
|
|
|
|
|
|
| |
start with 'style/' instead of the more strict '@style/'. AAPT will handle either format, so the resource shrinker should as well to prevent build failures that only occur when shrinking.
--
PiperOrigin-RevId: 147849301
MOS_MIGRATED_REVID=147849301
|
|
|
|
|
|
| |
This reverts commit 61824642c376c524843d2863606ffc29cee2f74e.
Broke all our java compilation
|
|
|
|
|
|
|
| |
This reverts commit efe4a6d889d6a6f563a1d492530f13351ce4eef7.
This commit broke several downstream project with a bug in the Java
compiler, see http://ci.bazel.io/job/intellij-clion/78/BAZEL_VERSION=HEAD,PLATFORM_NAME=linux-x86_64/console
|
|
|
|
|
|
| |
https://github.com/google/error-prone-javac/archive/9-dev-r3297-3.zip
Change-Id: I173e50f92f93009270c84ba90916e2696501f4de
|
|
|
|
| |
Change-Id: I2933d50b365df01a95d0e733e50a9ec06ecd1c05
|
|
|
|
|
|
|
|
|
| |
1. Removed "protobuf" which used to point at the Java proto runtime.
2. Added "protobuf" that points at the C++ proto runtime (protobuf_clib also currently points there)
3. Added "protobuf_java_util" which points at Java proto utils (protobuf-util also currently points there)
4. Removed some aliases which aren't used in Bazel.
Change-Id: If23a9797af8d87fd6df89bf9bad361288f2e0565
|
|
|
|
|
|
| |
to match the name in the upstream protobuf project.
Change-Id: I0ac9612c2151f9b96aca1904b192b5b525d021a2
|
|
|
|
|
|
|
|
| |
Gradle version in that it removes values resources instead of only minifying them.
--
PiperOrigin-RevId: 146124871
MOS_MIGRATED_REVID=146124871
|
|
|
|
|
|
|
|
|
| |
This is in preparation for placing it in a local repository of its own.
The goal is to make proto_library depend on @com_google_protobuf//:protoc by default instead of //third_party/protobuf:protoc.
This, in turn, will allow easier set-up for proto_library: just download a protobuf distro and point at it from their WORKSPACE.
Change-Id: I1b1ec61a414a765843553c84a179a6768956180a
|
|
|
|
|
|
|
|
| |
if other resources from that file were still used. Now the file will only be removed if the corresponding whole file resource is unused (e.g. res/layout/main.xml will be removed only if the resource layout/main is unused). Remove fix that treated id declarations as usages that was a workaround for the above problem.
--
PiperOrigin-RevId: 145301178
MOS_MIGRATED_REVID=145301178
|
|
|
|
|
|
| |
Fixes #2230.
Change-Id: I1b7977bfc14da072c750faf97daaeabfd69fdd2c
|
|
|
|
|
|
| |
Fixes #2254.
Change-Id: Ia411fa321fdac9d6acdaac60a8463b92ee1ae407
|
| |
|
|
|
|
|
|
|
|
|
|
| |
behavior in the extended class owned by ResourceUsageAnalyzer. This makes the fix available to both Blaze and Bazel, since Bazel uses the AOSP released version of the com.tools.android.lint library, which contains ResourceUsageModel, instead of the source version available in [].
This change is based on the upstream patch [] and will be removed when the patch is included in the packaged version released with Bazel.
--
PiperOrigin-RevId: 144355049
MOS_MIGRATED_REVID=144355049
|
|
|
|
|
|
|
|
|
|
| |
This is needed to open source the java 8 desugaring tool for android
builds.
https://github.com/bazelbuild/bazel/issues/2222
Change-Id: I6025ab921636782cea65ff4443eb6ea790b32794
RELNOTES: None
|
|
|
|
|
|
|
|
|
|
|
| |
We may not assume that those are pulled in by other
header files; in fact, they are not on FreeBSD stable/11.
--
Change-Id: Ic976cc71968aab0a1c3d6652fe8d8f1c4afa480b
Reviewed-on: https://cr.bazel.build/8145
PiperOrigin-RevId: 143970238
MOS_MIGRATED_REVID=143970238
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
public Gradle source. This version includes:
- support for tools attributes (whitelist)
- analysis of non-xml text files for resource references
- better obfuscation handling
- bug fixes
NEW: switching to 'strict' resource usage analysis as default.
https://android.googlesource.com/platform/tools/base/+/gradle_2.0.0/build-system/gradle-core/src/main/groovy/com/android/build/gradle/tasks/ResourceUsageAnalyzer.java
--
PiperOrigin-RevId: 143700078
MOS_MIGRATED_REVID=143700078
|
|
|
|
| |
Change-Id: I671f5399da726588c2a0e566f66de8aabf387294
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Causing unexpected significant increases in apk size.
*** Original change description ***
Update depot version of ResourceUsageAnalyzer.java from the public Gradle source. This version includes:
- support for tools attributes (whitelist)
- analysis of non-xml text files for resource references
- better obfuscation handling
- bug fixes
https://android.googlesource.com/platform/tools/base/+/gradle_2.0.0/build-system/gradle-core/src/main/groovy/com/android/build/gradle/tasks/ResourceUsageAnalyzer.java
--
PiperOrigin-RevId: 142780988
MOS_MIGRATED_REVID=142780988
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
source. This version includes:
- support for tools attributes (whitelist)
- analysis of non-xml text files for resource references
- better obfuscation handling
- bug fixes
https://android.googlesource.com/platform/tools/base/+/gradle_2.0.0/build-system/gradle-core/src/main/groovy/com/android/build/gradle/tasks/ResourceUsageAnalyzer.java
--
PiperOrigin-RevId: 142772328
MOS_MIGRATED_REVID=142772328
|
| |
|