| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
This works because we resolve the FileValue for every directory found during the traversal, therefore, symlink cycles and symlink structures giving rise to infinite directory trees are handled correctly (that is to say, the same way as they are handled during globbing)
Fixes #274.
--
MOS_MIGRATED_REVID=105290852
|
|
|
|
|
|
|
|
|
| |
error from SkylarkImportResult dep.
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=105253634
|
|
|
|
|
|
|
|
|
| |
helper classes do call that method to see if the stream has more data.
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=105253425
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Original CL uncovered a depot issue which was fixed in []. I verified it was the only such issue (see []).
*** Original change description ***
Rollback of commit f87a414a6bf50613a2c419e53a96f76154f44ae3.
*** Reason for rollback ***
Rolling back until [] is submitted and we have verified that there are no other breakages
*** Original change description ***
Handle the case of infinite symlink expansion where a path in a symlink chain is a symlink to an ancestor of a path in the chain.
--
MOS_MIGRATED_REVID=105251788
|
|
|
|
|
|
|
| |
#testAddingInflightNodes, which also gives some concurrency coverage.
--
MOS_MIGRATED_REVID=105238900
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105235919
|
|
|
|
|
|
|
| |
Makes it consistent with the rest of the file.
--
MOS_MIGRATED_REVID=105233324
|
|
|
|
|
|
|
| |
not be locked to iOS SDK.
--
MOS_MIGRATED_REVID=105231425
|
|
|
|
|
|
|
| |
AndroidResourceProcessingAction.
--
MOS_MIGRATED_REVID=105218303
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the cycle values (were supposed to) share a common abstract
base class, however usage was inconsistent. Instead refactor to eliminate
the specialized value classes, remove the abstract class, and share a
common empty placeholder value, which should be useful for future/other
current empty values.
--
MOS_MIGRATED_REVID=105217399
|
|
|
|
|
|
|
| |
--
Change-Id: Icd13926ff293c0db36d7731e0d961eb42bbaca6d
Reviewed-on: https://bazel-review.googlesource.com/#/c/2122/1
MOS_MIGRATED_REVID=105217047
|
|
|
|
|
|
|
| |
--
Change-Id: Idece9ef559e2553960da2a0459cb6b69544e3bd0
Reviewed-on: https://bazel-review.googlesource.com/#/c/2061/1
MOS_MIGRATED_REVID=105214947
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105214382
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now prints:
//foo:bar (cached) PASSED in 0.1s
instead of:
//foo:bar (1/0 cached) PASSED
Fixes #218.
--
MOS_MIGRATED_REVID=105210302
|
|
|
|
|
|
|
|
|
|
|
| |
@bazel_tools repository.
The fix is to always compile tools when the Bazel binary is compiled and add the bootstrap arguments to bootstrap_test. This stil litters the git client with output files in random places, which is a bit difficult to fix, since //src:bazel expects these files to be there so that it can embed them into the output binary.
I didn't notice this issue because tools/jdk/*_deploy.jar is in the .gitignore file, thus, when "git status" reported nothing, I asumed I ran the build in a clean client.
--
MOS_MIGRATED_REVID=105206124
|
|
|
|
|
|
|
| |
Fixes #490.
--
MOS_MIGRATED_REVID=105205371
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105204997
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added a flag which allows the user to specify the android compiler.
This commit also disconnects the android compiler from the main
--compiler flag. Changing the --compiler flag won't change the
compiler used by the android rules.
--
Change-Id: I788d3a353a1cc304e1c015b9dd283258e6e172d4
Reviewed-on: https://bazel-review.googlesource.com/2112
MOS_MIGRATED_REVID=105203751
|
|
|
|
|
|
|
| |
This requires changing all "//tools/language:target" implicit dependencies to "@tools//tools/language:target".
--
MOS_MIGRATED_REVID=105193805
|
|
|
|
|
|
|
|
| |
Fixes the illegal option error here:
http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.7,PLATFORM_NAME=darwin-x86_64/162/console
--
MOS_MIGRATED_REVID=105189685
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=105175791
|
|
|
|
|
|
|
| |
anyway. Also batch retrievals of children when building events.
--
MOS_MIGRATED_REVID=105174435
|
|
|
|
|
|
|
|
| |
This supersedes bin/gen files on Android SDK. The fields are removed
entirely since the proto isn't public yet.
--
MOS_MIGRATED_REVID=105130701
|
|
|
|
|
|
|
|
| |
Now in the android_manifest_merge rule, the newly introduced <use-permission-sdk-23> tag
is not merged.
--
MOS_MIGRATED_REVID=105104945
|
|
|
|
|
|
|
| |
error bubbling.
--
MOS_MIGRATED_REVID=105102597
|
|
|
|
|
|
|
|
|
|
|
| |
not all done during invalidation, repeated adding/removing means that we are consolidating more often, negating the benefit of delayed removals. To work around this, delay adds as well until we consolidate and verify the integrity of our data.
Since there is no well-defined point that a consolidation should trigger for a done node, we delay until our pending list is as large as the done list. We can tweak this if necessary for a memory/performance tradeoff.
The alternative to this that I could think of is giving up our strong integrity checks, which I'm not a fan of.
--
MOS_MIGRATED_REVID=105095886
|
|
|
|
|
|
|
|
|
|
| |
We don't have any strong guarantees around the stability of SkyKey#toString(),
which we rely on to canonicalize cycles. We can reasonably expect
PackageIdentifier#toString() to be stable enough though. We also hide away the
cycle detection details from external code in this change.
--
MOS_MIGRATED_REVID=105093095
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Rolling back until [] is submitted and we have verified that there are no other breakages
*** Original change description ***
Handle the case of infinite symlink expansion where a path in a symlink chain is a symlink to an ancestor of a path in the chain.
--
MOS_MIGRATED_REVID=105080445
|