| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Label attribute defaults to null (Java) or None (Skylark).
When we pass the attribute map to the compute output function, null values
were filtered. Put None in the map for consistency with other attributes.
--
MOS_MIGRATED_REVID=96207976
|
|
|
|
|
|
|
| |
Zip files are unzipped when the server starts up, regardless of whether they've already been unzipped (issue #251). They actually aren't overwritten when the WORKSPACE file changes, as external/ is assumed to be immutable (issue #236).
--
MOS_MIGRATED_REVID=96206900
|
|
|
|
|
|
|
| |
incremental_install tool for the mobile-install command.
--
MOS_MIGRATED_REVID=96205931
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96204583
|
|
|
|
|
|
|
|
|
| |
TransitiveTargetFunction only prints an error message if the package names
match, so it was just exiting with "loading failed" when there was an error
with external dependencies.
--
MOS_MIGRATED_REVID=96204337
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96204334
|
|
|
|
|
|
|
|
|
| |
actually work. This is a temporary measure until these targets are integrated into android_sdk .
Also make handling invalid tools/android/jack packages in JackCompilationHelper a bit more robust.
--
MOS_MIGRATED_REVID=96202009
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96200982
|
|
|
|
|
|
|
| |
e.g. attr.string(values = ["opt1", "opt2"])
--
MOS_MIGRATED_REVID=96187591
|
|
|
|
|
|
|
|
| |
Refactor the implementation of format.
Add %r. Improve some error messages.
--
MOS_MIGRATED_REVID=96154542
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96149626
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Swift sources whitelisted
* Swift compilation and module merging actions
* Swift stdlib copying into IPA action
* Special case for signing embedded swift stdlib dylibs during bundle signing
* Works with mixed ObjC/Swift sources
* Doesn't support working with dependencies from Swift code.
* Requires Xcode 6.3.1 for swift compiler and tooling.
--
MOS_MIGRATED_REVID=96141887
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96128887
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96122155
|
|
|
|
|
|
|
|
|
| |
getReverseDeps, and migrate DepsFunction and RdepsFunction to use them.
This makes our (unordered) results potentially dependent on the iteration order of hash sets, but what do we care?
--
MOS_MIGRATED_REVID=96117626
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96106406
|
|
|
|
|
|
|
| |
Note that java_library rules in the transitive closure of Android rules explicitly need to specify -source 7 -target 7 in javacopts for now.
--
MOS_MIGRATED_REVID=96103389
|
|
|
|
|
|
|
| |
This still doesn't work (pending the open sourcing of resources_processor and aar_generator), thus, it is not mentioned in the documentation yet.
--
MOS_MIGRATED_REVID=96102496
|
|
|
|
|
|
|
| |
Note that despite the rule being present, Android support is still not functional: two tools (//tools/android:{aar_generator,resources_processor} are still missing (and are a-coming!)
--
MOS_MIGRATED_REVID=96099045
|
|
|
|
|
|
|
| |
Location was not set.
--
MOS_MIGRATED_REVID=96096088
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=96095253
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to //tools/android: .
This is useful because we can then eventually implement an android_tools_repository() rule that lets Bazel download the Android tools from somewhere instead of requiring it to be in every workspace with Android tools.
The number of tools here is somewhat scary, therefore, I'm considering creating an android_tools rule which would have an attribute for each of these things.
Some non-trivial things about this CL:
- The labels to load are removed from AndroidConfiguration because they would resolve to e.g. //external:dx_jar, which labels just don't exist and I don't want to add dummy //external:labels not prefixed with android_
- RedirectChaser is taught how to chase redirect through bind() rules because the Android SDK is now found by //external:android_sdk -> //tools/android:sdk -> @androidsdk//:sdk . Ideally, it would be ///external:android_sdk -> @androidsdk//:sdk, but I figured I'd not fix that in this CL.
--
MOS_MIGRATED_REVID=96080553
|
|
|
|
|
|
|
| |
strings can compare equal as Patterns.
--
MOS_MIGRATED_REVID=96041927
|
|
|
|
|
|
|
| |
file.
--
MOS_MIGRATED_REVID=96039514
|
|
|
|
|
|
|
| |
be used to express the direct dependencies for resource processing.
--
MOS_MIGRATED_REVID=96037997
|
|
|
|
|
|
|
| |
argument from the ApkBuilder invocation, because it turns out that ApkBuilder doesn't support it.
--
MOS_MIGRATED_REVID=96035676
|
|
|
|
|
|
|
| |
counting.
--
MOS_MIGRATED_REVID=96024804
|
|
|
|
|
|
|
| |
number table.
--
MOS_MIGRATED_REVID=96010987
|
|
|
|
|
|
|
| |
outdated keys from the cache actually removed the correct one, so the cache never got cleaned up.
--
MOS_MIGRATED_REVID=95986001
|
|
|
|
|
|
|
|
|
|
|
| |
resource, then passing it to the parser as a string instead of putting it into embedded_binaries then passing a Path to it to the parser.
This makes the upcoming default WORKSPACE rules for Android much more palatable. In particular, Android rules won't need to be special cased when building the Bazel binary because the contents are self-contained in BazelRuleClassProvider (and the jdk.WORKSPACE file, which is a simple Java resource)
Even better would be not to use a string, but some kind of structured data, but that's probably more effort than it's worth.
--
MOS_MIGRATED_REVID=95983199
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks targets that have the same .m file in both srcs and hdrs.
*** Original change description ***
Allow private header files in the srcs attribute of objc_* rules.
This uses CppModuleMap and CppModuleMapAction to generate clang module maps for the target and its transitive dependencies. clang enforces private header usage through these maps. Right now module maps are interpreted but modules aren't enabled.
RELNOTES: Allow private header files in the srcs attribute of objc_* rules.
--
MOS_MIGRATED_REVID=95916531
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move printing code from EvalUtils to Printer.
Rename functions in Printer:
printValue becomes str or print,
prettyPrintValue becomes repr or write,
formatString becomes format,
makeFormattable becomes strFormattable,
prettyPrintValues becomes listString.
write being self-sufficient is made the reference,
and print is the one that is a wrapper around write,
rather than the other way around, avoiding mutual recursion.
--
MOS_MIGRATED_REVID=95897834
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=95859604
|
|
|
|
|
|
|
|
| |
A convenience used to compose RunfilesSuppliers without having to
deconstruct them.
--
MOS_MIGRATED_REVID=95854609
|
|
|
|
|
|
|
|
|
|
|
|
| |
While evaluating a package value, whether the package should be in
error was checked several times for different kinds of symlink cycle
deps: subincluded target's package, subincluded target, and glob.
But each check overrode the result of previous checks. Now, the
error state is a big OR of the results of each cycle check, not just
the last one (which happened to be for globs).
--
MOS_MIGRATED_REVID=95854169
|