| 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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96572029
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96566439
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96406988
|
| |
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96405494
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96404668
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
When doing the deterministic test on Bazel, some output files
of previous compilation where still there and the result of
the compilation wouldn't be perfect.
--
MOS_MIGRATED_REVID=96396183
|
|
|
|
|
| |
Downloaded from Maven Central:
http://central.maven.org/maven2/com/google/errorprone/javac/1.9.0-dev-r2644-1/javac-1.9.0-dev-r2644-1.jar
|
|
|
|
|
|
|
|
|
|
|
|
| |
It also add the annotations artifacts as the ErrorProne plugin of
JavaBuilder now needs it.
The artifacts are dowloaded from:
https://oss.sonatype.org/content/repositories/releases/com/google/errorprone/error_prone_core/2.0.3/
https://oss.sonatype.org/content/repositories/releases/com/google/errorprone/error_prone_annotations/2.0.3/
--
MOS_MIGRATED_REVID=96392823
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Default value was wrong and semantics were not documented in enough detail.
--
MOS_MIGRATED_REVID=96312299
|
|
|
|
|
|
|
|
|
|
| |
Until the actual release process is polished, another hack in
Travis configuration to make travis green.
Tested on osx-ci branch (https://travis-ci.org/google/bazel/jobs/67353429).
--
MOS_MIGRATED_REVID=96312144
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96302792
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96301836
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96301465
|