| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
characters (such as '.' or '\w') will no longer match other characters.
--
MOS_MIGRATED_REVID=96603729
|
|
|
|
|
|
|
|
|
|
|
|
| |
--objc_enable_binary_stripping are specified:
1. Symbol strippings. A new strip action is registered that uses Darwin tool /usr/bin/strip to remove the symbol table of the linked binary.
2. Dead-code strippings, which uses linker flag "--dead_strip" to remove unreachable code in binary link action.
RELNOTES: Add a flag "objc_enable_binary_stripping" to enable symbol and dead code strippings on linked binaries generated by ObjC rules.
--
MOS_MIGRATED_REVID=96587585
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is important to build packages of bazel-built code, especially
python.
Simple example usage:
def _runfiles_test_impl(ctx):
runfiles_provider = provider(ctx.attr.src, 'analysis.RunfilesProvider')
runfiles = runfiles_provider.default_runfiles.artifacts
commands = []
for f in runfiles:
commands += [
'mkdir -p $(dirname %s/%s)' % (ctx.outputs.outdir.path, f.short_path),
'cp %s %s/%s' % (f.path, ctx.outputs.outdir.path, f.short_path),
]
ctx.action(
outputs = [ ctx.outputs.outdir ],
inputs = list(runfiles),
command = ' && '.join(commands)
)
'''A simple rule which copies all the runfiles from src into outdir.'''
runfiles_buildtest = rule(
implementation = _runfiles_test_impl,
attrs = {
'src': attr.label(allow_files=False, mandatory=True),
'outdir': attr.output(mandatory=True),
},
)
--
Change-Id: I8fbd4c6ea462685142cf199dfe3348bc4436cdcb
Reviewed-on: https://bazel-review.googlesource.com/1530
MOS_MIGRATED_REVID=96576360
|
|
|
|
|
|
|
| |
Fixes #241
--
MOS_MIGRATED_REVID=96573740
|
|
|
|
|
|
|
| |
Also adds tests for it.
--
MOS_MIGRATED_REVID=96572991
|
|
|
|
|
|
|
| |
java_library's instead of having a single "java_library(name = "everything", srcs = glob("**"))" target.
--
MOS_MIGRATED_REVID=96565633
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks ios_test targets.
*** Original change description ***
Add two binary size optimizations when --compilation_mode=opt is specified:
1. Symbol strippings. A new strip action is registered that uses Darwin tool /usr/bin/strip to remove the symbol table of the linked binary.
2. Dead-code strippings, which uses linker flag "--dead_strip" to remove unreachable code in binary link action.
RELNOTES: Perform symbol and dead code strippings on linked binaries generated by ObjC rules.
--
MOS_MIGRATED_REVID=96551473
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96439703
|
|
|
|
|
|
|
| |
No need for it to be otherwise.
--
MOS_MIGRATED_REVID=96437024
|
|
|
|
|
|
|
|
|
| |
make sense.
We could convert the target pattern requests to be batched as well, but there should generally be a small number of those, so I didn't think it was worth it.
--
MOS_MIGRATED_REVID=96436553
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96433497
|
|
|
|
|
|
|
|
| |
Similar to previous approach, except diff-awareness agnostic. Log
SkyKeys as is for simplicity- this is all for human consumption anyway.
--
MOS_MIGRATED_REVID=96428248
|
|
|
|
|
|
|
| |
This has the effect of suppressing the -o option.
--
MOS_MIGRATED_REVID=96418661
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96417471
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96414434
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96407941
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cc_library "srcs". The underlying problem is that Bazel
determines whether or not to generate a .so by the contents
of "srcs", but this happens in the loading phase before
configurations are known. So, when "srcs" is configurable,
it conservatively assumes a .so needs to be generated.
In cc_library analysis, when the final values for "srcs" is
properly bound, the .so may not actually be needed after all.
This cl fixes the discrepancy by registering a FailAction for
the .so under those circumstances - we don't actually need the
.so anywhere but we still have to ensure it's registered with
an owning action.
--
MOS_MIGRATED_REVID=96405079
|
|
|
|
|
|
|
|
|
| |
Now that we are using the error-prone javac, there is no need
to impose Java 8. However, because some of our tests are targetting
Java 8, developer should still use a JDK 8 to tests.
--
MOS_MIGRATED_REVID=96400914
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96400739
|
|
|
|
|
|
|
|
| |
Removing them would break people that have their tools folder checked in
their workspace.
--
MOS_MIGRATED_REVID=96392423
|
|
|
|
|
|
|
| |
than <em> for file names on C++ Basics page.
--
MOS_MIGRATED_REVID=96390710
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove the subinclude function (subinclude calls should be removed by
preprocessor).
- Restrict visibility where it makes sense
#codehealth
--
MOS_MIGRATED_REVID=96389259
|
|
|
|
|
|
|
| |
Add Bootstrap styles to all tables on Test Encyclopedia for bazel.io.
--
MOS_MIGRATED_REVID=96388455
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96384950
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96365813
|
|
|
|
|
|
|
| |
getReverseDeps(Target) from the QueryEnvironment interface, since they're no longer needed by any query functions, and also WalkableGraph#get{Direct,Reverse}Deps(SkyKey).
--
MOS_MIGRATED_REVID=96361760
|
|
|
|
|
|
|
| |
ConfiguredTargets because of a configurations change.
--
MOS_MIGRATED_REVID=96361754
|
|
|
|
|
|
|
| |
shutdown operations.
--
MOS_MIGRATED_REVID=96351438
|
|
|
|
|
|
|
| |
alternative include scanning implementations possible.
--
MOS_MIGRATED_REVID=96337469
|
|
|
|
|
|
|
| |
"structured_resources" on ObjC rules.
--
MOS_MIGRATED_REVID=96332700
|
|
|
|
|
|
|
|
|
| |
by default.
RELNOTES:none
--
MOS_MIGRATED_REVID=96332527
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96324830
|
|
|
|
|
|
|
|
|
| |
stdin,stdout,stderr.
A full example of its usage is in RunTests.sh.
--
MOS_MIGRATED_REVID=96319787
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
[]
*** Original change description ***
Implement smart negation for target pattern sequences
This change uses the types of target patterns, and the order they
appear in the sequence, to construct a more efficiently processable
sequence of target pattern keys. Redundant patterns are eliminated and
negated TargetsBelowDirectory patterns are excluded from higher-up
positive patterns.
--
MOS_MIGRATED_REVID=96317483
|
|
|
|
|
|
|
| |
Also, some cleanup in the code - #codehealth
--
MOS_MIGRATED_REVID=96315466
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96312993
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96302792
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96301836
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96301465
|
|
|
|
|
|
|
| |
StandaloneContextConsumer.
--
MOS_MIGRATED_REVID=96300473
|
|
|
|
|
|
|
| |
of empty, unused methods in child classes.
--
MOS_MIGRATED_REVID=96299366
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Todo:
* Implement rust_bench_test for running benchmarks
* Enable rust_test to depend solely on a rust_library (since many projects
intermix #[test] methods in lib source).
* Improve error checking and handling and prevent rust_binary from directly
depending on cc_library.
* Implement rust_doc for generating rustdoc.
--
MOS_MIGRATED_REVID=96297772
|
|
|
|
|
|
|
|
|
|
|
| |
createPackage was hard to read (both the definition and the call site) and
did nothing useful (just call another function). The name was also confusing:
it's not the standard way to create a package, since it's used only for tests.
#codehealth
--
MOS_MIGRATED_REVID=96288514
|
|
|
|
|
|
|
| |
The idea is that an android_sdk_repository rule would by default bind @external:android/sdk to itself, thus avoiding an unnecessary roundtrip through //tools/android:sdk . If we then also eventually bind that external label to something, we can avoid having the //tools/android:sdk rule altogether.
--
MOS_MIGRATED_REVID=96285812
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96245678
|
|
|
|
|
|
|
|
|
| |
This has been replaced by actoolzip and ibtoolzip.
Also add some documentation as to how the build process for
the tools work.
--
MOS_MIGRATED_REVID=96239107
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96214911
|
|
|
|
|
|
|
|
|
|
| |
1. Symbol strippings. A new strip action is registered that uses Darwin tool /usr/bin/strip to remove the symbol table of the linked binary.
2. Dead-code strippings, which uses linker flag "--dead_strip" to remove unreachable code in binary link action.
RELNOTES: Perform symbol and dead code strippings on linked binaries generated by ObjC rules.
--
MOS_MIGRATED_REVID=96211910
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96211360
|
|
|
|
|
|
|
|
|
| |
Write a label as Label("//x:x") instead of merely "//x:x", so it can be read
and evaluated back, as per the Python convention. However, the OutputFormatter
for BUILD files still needs to output "//x:x".
--
MOS_MIGRATED_REVID=96209979
|