| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
--
PiperOrigin-RevId: 145569440
MOS_MIGRATED_REVID=145569440
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 145538761
MOS_MIGRATED_REVID=145538761
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 145524911
MOS_MIGRATED_REVID=145524911
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For example for this library:
```
bazel run //src/tools/generate_workspace -- --artifact=com.wix:wix-embedded-mysql:2.1.3
```
I get this exception:
```
Exception in thread "main" java.lang.ClassCastException: sun.net.www.protocol.ftp.FtpURLConnection cannot be cast to java.net.HttpURLConnection
at com.google.devtools.build.workspace.maven.DefaultModelResolver.pomFileExists(DefaultModelResolver.java:143)
at com.google.devtools.build.workspace.maven.DefaultModelResolver.getModelSource(DefaultModelResolver.java:124)
at com.google.devtools.build.workspace.maven.DefaultModelResolver.resolveModel(DefaultModelResolver.java:96)
at com.google.devtools.build.workspace.maven.Resolver.resolveEffectiveModel(Resolver.java:172)
at com.google.devtools.build.workspace.maven.Resolver.resolveArtifact(Resolver.java:137)
at com.google.devtools.build.workspace.GenerateWorkspace.generateFromArtifacts(GenerateWorkspace.java:123)
at com.google.devtools.build.workspace.GenerateWorkspace.main(GenerateWorkspace.java:64)
```
The cause is the dependency's pom is resolved as `file://${basedir}/src/test/lib/org/apache/httpcomponents/httpclient/4.2.5/httpclient-4.2.5.pom`, which can't be tested with HTTP HEAD request, obviously.
This patch is workaround, until there will be some better handling of such cases.
Closes #2348.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2348
PiperOrigin-RevId: 145523022
MOS_MIGRATED_REVID=145523022
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 145030082
MOS_MIGRATED_REVID=145030082
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 144965845
MOS_MIGRATED_REVID=144965845
|
|
|
|
|
|
|
|
| |
strict_proto_deps, then strictness is enforced.
--
PiperOrigin-RevId: 144836042
MOS_MIGRATED_REVID=144836042
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 144741831
MOS_MIGRATED_REVID=144741831
|
|
|
|
|
|
|
|
| |
AndroidResourceMergingAction.
--
PiperOrigin-RevId: 144726723
MOS_MIGRATED_REVID=144726723
|
|
|
|
|
|
|
|
| |
to ParsedAndroidData. This improves reuse.
--
PiperOrigin-RevId: 144369566
MOS_MIGRATED_REVID=144369566
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 144360540
MOS_MIGRATED_REVID=144360540
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 144342246
MOS_MIGRATED_REVID=144342246
|
|
|
|
|
|
|
|
|
|
|
| |
New method to deserialize parsed resources.
Remove unthrown exceptions.
RELNOTES:None
--
PiperOrigin-RevId: 144221111
MOS_MIGRATED_REVID=144221111
|
|
|
|
|
|
|
|
| |
RELNOTES:None
--
PiperOrigin-RevId: 144218174
MOS_MIGRATED_REVID=144218174
|
|
|
|
|
|
|
|
|
| |
being bundled instead of copying them into the directory structure
first.
--
PiperOrigin-RevId: 144133387
MOS_MIGRATED_REVID=144133387
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 143823562
MOS_MIGRATED_REVID=143823562
|
|
|
|
|
|
|
|
| |
RELNOTES: singlejar can now create jar files larger than 4GB.
--
PiperOrigin-RevId: 143588105
MOS_MIGRATED_REVID=143588105
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 142573704
MOS_MIGRATED_REVID=142573704
|
|
|
|
|
|
|
|
|
| |
Closes #2139.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2139
PiperOrigin-RevId: 142570236
MOS_MIGRATED_REVID=142570236
|
|
|
|
|
|
|
|
|
|
| |
This is needed to support both shrinking and splitting at the same time,
which will become the default for any android_binary which has splits
defined on it once shrinking becomes default (if it hasn't already).
--
PiperOrigin-RevId: 142497302
MOS_MIGRATED_REVID=142497302
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 142484589
MOS_MIGRATED_REVID=142484589
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Rolling forward, intentionally breaking loading phase (and therefore `bazel fetch`) for android_binary in Bazel if no android_sdk_repository is set up.
Will not submit until Tensorflow's use case is cleaned up in https://github.com/tensorflow/tensorflow/pull/6225.
--
PiperOrigin-RevId: 142068703
MOS_MIGRATED_REVID=142068703
|
|
|
|
|
|
|
|
| |
xcode/SDK pair is unavailble.
--
PiperOrigin-RevId: 141554441
MOS_MIGRATED_REVID=141554441
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This way we can remove the dependency on blaze_util (which is Bazel's
client specific) from singlejar.
This work was made possible by commit 49970e0136d0: ("Bazel client:
platform-specific {Read,Write}File").
--
Change-Id: I6e95fb9119a271e4d48cbe2eefc1d5354ee188aa
Reviewed-on: https://cr.bazel.build/7650
PiperOrigin-RevId: 141294165
MOS_MIGRATED_REVID=141294165
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 141145286
MOS_MIGRATED_REVID=141145286
|
|
|
|
|
|
| |
--
PiperOrigin-RevId: 141116980
MOS_MIGRATED_REVID=141116980
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Just put the R class in the unnamed package.
If we disable the RClassGenerator and use the
old code path, we would have constructed a cmdline
flag set to "null" for aapt, and aapt would write
"package null;" which also wouldn't work...
This may allow you to build an android_library
but it may be hard to build an android_binary
because ultimately AAPT will reject an empty
"package" attribute in the AndroidManifest.xml
when you try to build the APK, so you'd need
to stamp that differently.
--
PiperOrigin-RevId: 140945125
MOS_MIGRATED_REVID=140945125
|
|
|
|
|
|
|
|
|
| |
overwrites.
Record the sources are overwritten during merging.
--
MOS_MIGRATED_REVID=140654137
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=140380336
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move blaze::ReadFile and blaze::WriteFile to
file.h and file_platform.h (thus into the
blaze_util namespace), and update references.
This allows us to implement these methods in a
platform-specific way.
Also move UnlinkPath.
See https://github.com/bazelbuild/bazel/issues/2107
--
MOS_MIGRATED_REVID=140328273
|
|
|
|
|
|
|
|
|
|
| |
an ActionFileInputCache for SHA1 digests used with remote execution.
I missed an important test failure -- turned out we have a remote execution
test that does not live under lib/remote.
--
MOS_MIGRATED_REVID=140135277
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=140064545
|
|
|
|
|
|
|
| |
allowing them to be removed from the public.xml file as well. This handles inline resources which have no explicit declaration and are deleted as part of their parent resource.
--
MOS_MIGRATED_REVID=140056329
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=140044141
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We can now compile blaze_util_windows.cc with
MSVC, yay! (when building //src:bazel
--cpu=x64_windows_msvc -k).
There are a lot of #ifdef's and TODOs so this
is a modest victory for now.
In this change:
- change blaze::MakeDirectories to return bool
instead of int, since that's how it was used
anyway, and to expect the permission mask as
unsigned int instead of mode_t, since the
former is good enough and compatible with
mode_t on POSIX while mode_t is not defined on
Windows
- move blaze::MakeDirectories into
blaze_util_<platform>
- implement envvar-handling in
blaze_util_<platform> and use it everywhere
See https://github.com/bazelbuild/bazel/issues/2107
--
MOS_MIGRATED_REVID=139887503
|
|
|
|
|
|
|
| |
that's OK)
--
MOS_MIGRATED_REVID=139774407
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
--
MOS_MIGRATED_REVID=139640949
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=139613925
|
|
|
|
|
|
|
| |
array resource types.
--
MOS_MIGRATED_REVID=139357164
|
|
|
|
|
|
|
| |
that don't implement it.
--
MOS_MIGRATED_REVID=138126904
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=137955061
|
|
|
|
|
|
|
|
| |
The DataSource object will then be used to track which values have been
overwritten and avoid incorrect merge warnings.
--
MOS_MIGRATED_REVID=137159260
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=136400800
|
|
|
|
|
|
|
|
|
|
|
| |
This supports genrules that output srcjars that
are then inputs to java_libraries.
Also add support to produce a source jar with
the contents of the gen jar.
--
MOS_MIGRATED_REVID=136099457
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
With this approach, the R.class winds up in the filtered jar because its origin isn't among the "normal" Java sources. I'll have to be a little smarter, but start with rolling this back.
*** Original change description ***
Support srcjar files in filtered gen jar.
If a java_library has any srcjar files in its sources
attribute, the output of these would be discarded.
To make it more robust, invert the jar filter to
keep everything *except* source artifact java files.
Previously, we would build a manifest containing all
the generated java files and use that to filter.
This should also be ever so slightly faster since
we can skip an action.
--
MOS_MIGRATED_REVID=135406849
|
|
|
|
|
|
|
|
|
|
|
| |
Older android_ide_common does not handle BCP 47,
so we update the code to handle that and remove
most of the workarounds. This also pulls in a
fix for 3-letter locales, unblocks resource
shrinking whitelisting, etc.
--
MOS_MIGRATED_REVID=135396457
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a java_library has any srcjar files in its sources
attribute, the output of these would be discarded.
To make it more robust, invert the jar filter to
keep everything *except* source artifact java files.
Previously, we would build a manifest containing all
the generated java files and use that to filter.
This should also be ever so slightly faster since
we can skip an action.
--
MOS_MIGRATED_REVID=135351129
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135331287
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=135310637
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fixed breakage in shell tools with an old bazel binary.
Rollback of commit deeeb31f8ba0f196fbc9ca2a177d59d57ea50b32.
*** Reason for rollback ***
Breaks builds with current blaze
*** Original change description ***
Add a way to select non-default Xcode toolchain
* Adds a flag --xcode_toolchain which sets TOOLCHAINS env variable for xcrun.
* Updates swift_library to work with this flag when selecting Swift runtime
location.
* By default the flag has a null value and is not set in env.
--
MOS_MIGRATED_REVID=135238820
|