| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
This prevented the //src/tools/generate_workspace target from building.
The "Working with external dependencies" section of the Bazel docs mention this
tool several times so we must keep it building.
--
MOS_MIGRATED_REVID=105592123
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most (all?) messages for this exception are complete description of the failure (e.g. "failed to do X", "could not do X"). With the previous wording the user got something like:
ERROR: [...] Writing file for rule '[...]' failedfailed to create file '[...]'
Now:
ERROR: [...] Writing file for rule '[...]' failed (failed to create file '[...]')
--
MOS_MIGRATED_REVID=105591532
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105591091
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105585492
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Broke bazel on mac
*** Original change description ***
Add a //src:bazel-notools target that is the same as the Bazel binary except without the embedded tools.
Its use requires the addition of a local_workspace(name = "bazel_tools", path=...) to the WORKSPACE file. It is useful if you don't care about the set of embedded tools (because you provide them to Bazel in another way anyway) but you do care about the size of the Bazel binary (it's 16 MB compared to 56 MB with the tools).
--
MOS_MIGRATED_REVID=105553886
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105552023
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105539869
|
|
|
|
|
|
|
|
|
| |
since root causes are associated with top-level targets and labels, and the filter is for all top-level targets and labels.
I noticed this when a huge --noanalyze build spent most of its time in filtering here. The passed-in "collection" was a list, which meant that we could have sped it up by using a set, but why not just get rid of it all.
--
MOS_MIGRATED_REVID=105536485
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Spock is a popular unit testing framework for Java and Groovy applications,
see https://code.google.com/p/spock/ for details. This build rule is just a
wrapper around java and groovy libraries and tests that makes it convenient
to define a spock-based test using a single BUILD target containing the test
specs and any supporting Groovy and Java code.
--
Change-Id: Ia70346a87762f89d587310cf9578daa9d7d9f34a
Reviewed-on: https://bazel-review.googlesource.com/#/c/2010/
MOS_MIGRATED_REVID=105529540
|
|
|
|
|
|
|
|
|
| |
former uses the latter). This way we parse BUILD files exactly once.
This is part of a series of changes with the net result being that we open, read, and parse each BUILD file exactly once.
--
MOS_MIGRATED_REVID=105528075
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and direct resources from libraries.
This slightly increases the complexity of resource propagation. The initial algorithm was to simply merge all transitive ResourceContainers together with any new ResourceContainer and propagate them via the AndroidResourcesProvider. The new algorithm is encapsulated inside a new ResourceDependencies class which works as follows:
1. Collect resources from the deps into transitive and direct NestedSets
2. If a rule provides a ResourceContainer, merge the transitive and direct into a new transitive set
3. Export the provider
This results having a rule without resources "forward" the merged sets of transitive and direct resources to the next rule.
--
MOS_MIGRATED_REVID=105515074
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105512492
|
|
|
|
|
|
|
| |
because it breaks some internal tests.
--
MOS_MIGRATED_REVID=105511798
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105511114
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105504785
|
|
|
|
|
|
|
|
|
| |
without the embedded tools.
Its use requires the addition of a local_workspace(name = "bazel_tools", path=...) to the WORKSPACE file. It is useful if you don't care about the set of embedded tools (because you provide them to Bazel in another way anyway) but you do care about the size of the Bazel binary (it's 16 MB compared to 56 MB with the tools).
--
MOS_MIGRATED_REVID=105499508
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105499267
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105498175
|
|
|
|
|
|
|
| |
Ideally, PrepareDepsOfPatternFunction and maybe even RecursivePkgFunction would also be changed to take a PackageIdentifier instead of RootedPath because the less places we store the set of roots, the better, but I've done enough refactoring in the past weeks to not be thrilled by the idea of doing more.
--
MOS_MIGRATED_REVID=105486561
|
|
|
|
|
|
|
|
|
| |
and mainGroup in xcodeproj.
RELNOTES: Adds --override_workspace_root blaze flag to hand-set workspace_root and mainGroup in xcodeproj.
--
MOS_MIGRATED_REVID=105484952
|
|
|
|
|
|
|
| |
Eliminate side-effect in command_line_srcs and hide the internal class.
--
MOS_MIGRATED_REVID=105480701
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105461876
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105439722
|
|
|
|
|
|
|
| |
No need for a specific ordering.
--
MOS_MIGRATED_REVID=105438232
|
|
|
|
|
|
|
|
|
|
|
| |
It used to not change the symlink to point to the new one. The failure
modes were different when the old file existed vs not, so there are
tests for both.
--
Change-Id: I6328c56a90254c5da78ccf827d377900bde06e90
Reviewed-on: https://bazel-review.googlesource.com/#/c/2131/
MOS_MIGRATED_REVID=105432042
|
|
|
|
|
|
|
|
|
| |
deprecated bundling functionality of objc_binary.
This is to be coordinated with updating the example app (linked to within the tutorial)
--
MOS_MIGRATED_REVID=105430949
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105417011
|
|
|
|
|
|
|
| |
preparation for eventually implementing recursive target patterns for remote repositories.
--
MOS_MIGRATED_REVID=105412566
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change affects only lists, because it is the only mutable type.
The change is also temporary. We will later make the list immutable (when
it comes from a different context) and we will be able to remove the copy.
This fixes a critical bug where values could be mutated from a BUILD file
and affect other BUILD files.
--
MOS_MIGRATED_REVID=105400506
|
|
|
|
|
|
|
|
| |
This is currently not hooked up, and we're passing (potentially) massive
numbers of targets around.
--
MOS_MIGRATED_REVID=105395404
|
|
|
|
|
|
|
| |
No need for this, remove to cut out some cruft/room for accidents.
--
MOS_MIGRATED_REVID=105378202
|
|
|
|
|
|
|
|
|
| |
Uses an AtomicLong to count remaining tasks. Only obtains the
zeroRemainingTasks lock when remaining tasks have gone to zero or
the codepath needs to wait on that condition.
--
MOS_MIGRATED_REVID=105348523
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Baseline: 22616ae
+ 1ef338f: Rollback of "Propagates cc_library linkopts attribute
to dependent objc_libraries.": breaks certain
objc_binary build targets.
+ 5fb1073: Reintroduce an inconsistency check (albeit, in a weaker
form) removed by a previous change that was trying to
optimize away a filesystem call.
+ 6d00468b2eb976866cfb814d562e0d53a580a46f: Add IdlClass to the embedded default android tools
repository and rearrange BuildJar's JarHelper so that
it too can be embedded.
+ a5199039934a2e399a7201adc0d74e2f2d2b0ff3: Fixes Android integration tests by wiring up idlclass
rules in integration environment.
Incompatible changes:
- Bazel requires JDK 8 to run.
- Attribute "copts" is removed from j2objc_library.
New features:
- a cc_binary rule may list '.s' and '.asm' files in the srcs
- Support for build with libsass.
- labels in "linkopts" may match any label in either "deps" or
"srcs" to be considered valid.
- Maven servers that require username & password authentication are
now supported (see maven_server documentation).
Important changes:
- Support empty plist files
- The <compatible-screens> section of the AndroidManifest.xml will
not be overwritten if it already contains a <screen> tag for each
of the densities specified on the android_binary rule.
- Add Jsonnet rules to Bazel
- Remove deprecated xcode_options flag.
- Workspace names are now restricted to being in their base
directory
(that is, the names cannot contain up-level references or /./).
- j2objc_library on Bazel now transpiles transitive proto_library
dependencies. (Note that java_* rules in Bazel do not yet support
protos; currently they ignore proto dependencies.)
- new_http_archive can specify a root directory.
- Adds support for dylibs on devices for Xcode 7.
- [d] d_docs rules now depend on a d_binary, a d_library or
d_source_library.
- [docker] docker_build now set the permission to 0555 to files
added to the layer, use `mode = "0644"` to use the legacy behavior.
- android_binary now has a main_dex_proguard_specs attribute to
specify which classes should be in the main dex.
- [rust] Add rust_docs rule for generating rustdoc.
Change-Id: Id42f6cbeed9531c7023b754e6213782487650c44
|
|
|
|
|
|
|
|
|
|
| |
Removes unnecessary final keyword on private methods, inlines the
un-overridden protected method getWorkQueue, and restructures internal
constructors to be flatter (i.e. every constructor implementation calls
at most one other constructor).
--
MOS_MIGRATED_REVID=105344413
|
|
|
|
|
|
|
|
| |
Re-adds the missing execution phase statistics which got lost in the
recent ProfileCommand refactoring.
--
MOS_MIGRATED_REVID=105340677
|
|
|
|
|
|
|
| |
Previously, only ThreadPoolExecutor implementations were allowed.
--
MOS_MIGRATED_REVID=105340237
|
|
|
|
|
|
|
|
|
| |
result.
This is a step in the right direction towards the goal of opening and reading each BUILD file exactly once.
--
MOS_MIGRATED_REVID=105338761
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Broke bazel build.
*** Original change description ***
Update iossim for Xcode 7 support.
As of Xcode 7, supportedDeviceTypesByName was replaced by supportedDeviceTypesByAlias.
This is from latest chromium build.
Downstream hash is 9dd179a339c0457f8754069e0774b38f69c258a8.
The latest merge was to upstream ef05b7da00844c0d500c4a7f20d4095dab56e7fe
***
Also includes the following changes:
Size the Lexer tokenization to minimize internal resizing. This value is chosen empirically.
--
Fixes toolchain selection in the generated Android NDK crosstools by making
each target_cpu and compiler field unique.
Note that there are some problems with the clang compilers (e.g. can't find ld), which I'll fix in a subsequent change.
--
Update iossim for Xcode 7 support.
As of Xcode 7, supportedDeviceTypesByName was replaced by supportedDeviceTypesByAlias.
This is from latest chromium build.
Downstream hash is 9dd179a339c0457f8754069e0774b38f69c258a8.
The latest merge was to upstream ef05b7da00844c0d500c4a7f20d4095dab56e7fe
--
MOS_MIGRATED_REVID=105337154
|
|
|
|
|
|
|
|
|
| |
names. A shell script build phase is added
to copy the imported libraries to BUILT_PRODUCT_DIR with unique names before linking.
--
MOS_MIGRATED_REVID=105324431
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
ERROR: No toolchain found for cpu 'x84'.
After:
ERROR: No toolchain found for cpu 'x84'. Valid cpus are: [
armeabi,
armeabi-v7a,
armeabi-v7a-hard,
armeabi-thumb,
armeabi-v7a-thumb,
armeabi-v7a-hard-thumb,
arm64-v8a,
mips,
mips64,
x86,
x86_64,
].
--
MOS_MIGRATED_REVID=105324190
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
legible by putting each flag combination on its own line.
E.g. from this:
ERROR: No toolchain found for --cpu='foo' --compiler='bar' --glibc='baz'. Valid toolchains are: [ --cpu='armeabi-v7a' --compiler='compiler' --glibc='armeabi-v7a', --cpu='armeabi-v7a' --compiler='compiler' --glibc='armeabi-v7a', --cpu='local' --compiler='compiler' --glibc='local', --cpu='darwin' --compiler='compiler' --glibc='macosx', --cpu='freebsd' --compiler='compiler' --glibc='local', --cpu='k8' --compiler='windows_mingw' --glibc='local', --cpu='k8' --compiler='windows_msys64_mingw64' --glibc='local', --cpu='k8' --compiler='windows_clang' --glibc='local',].
to this:
ERROR: No toolchain found for --cpu='foo' --compiler='bar' --glibc='baz'. Valid toolchains are: [
--cpu='armeabi-v7a' --compiler='compiler' --glibc='armeabi-v7a',
--cpu='armeabi-v7a' --compiler='compiler' --glibc='armeabi-v7a',
--cpu='local' --compiler='compiler' --glibc='local',
--cpu='darwin' --compiler='compiler' --glibc='macosx',
--cpu='freebsd' --compiler='compiler' --glibc='local',
--cpu='k8' --compiler='windows_mingw' --glibc='local',
--cpu='k8' --compiler='windows_msys64_mingw64' --glibc='local',
--cpu='k8' --compiler='windows_clang' --glibc='local',
].
(notice there is a duplicate toolchain)
--
MOS_MIGRATED_REVID=105313547
|
|
|
|
|
|
|
| |
referenced via "//external:android/xyz_v7"
--
MOS_MIGRATED_REVID=105313228
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105312426
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105312124
|
|
|
|
|
|
|
|
|
| |
passing external variables to Jsonnet via --var and --code_var.
RELNOTES: [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to allow passing external variables to Jsonnet via --var and --code_var.
--
MOS_MIGRATED_REVID=105305323
|
|
|
|
|
|
|
| |
RELNOTES: [jsonnet] Update to Jsonnet 0.8.1.
--
MOS_MIGRATED_REVID=105303487
|
|
|
|
|
|
|
| |
properly.
--
MOS_MIGRATED_REVID=105301992
|
|
|
|
|
|
|
| |
--
Change-Id: I81b4e688b8cf57b2e4a3078f3460c323acd65097
Reviewed-on: https://bazel-review.googlesource.com/#/c/2130
MOS_MIGRATED_REVID=105301546
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105301167
|
|
|
|
|
|
|
|
|
|
| |
I was hitting argument length restrictions when trying to run rules
which take 2 GCC installs and a Clang install as inputs.
--
Change-Id: Iee27bb6fb50fe94bff4b2500bbcfa9381b05d63d
Reviewed-on: https://bazel-review.googlesource.com/#/c/2090
MOS_MIGRATED_REVID=105300670
|