aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com
Commit message (Collapse)AuthorAge
...
* Add "warm" starting to mobile-install.Gravatar Googler2015-08-04
| | | | | | | | | | | | | | | | | | This introduces a new way to stop applications when deploying incremental changes that saves the current app state for the next run. This allows things like the back stack, and View/Fragment/Activity saved state to be restored when the app next launches, making it easier to quickly iterate on code changes. It adds a "--start" flag to mobile-install that replaces "--start_app". --start accepts an argument describing the mode: no, cold, or warm. "no" is now the equivalent of "--nostart_app", "cold" is the equivalent of "--start_app", and "warm" is the new start mode. Note that this is only useful with incremental installs, as Android clears out any previously saved state when an APK is replaced. -- MOS_MIGRATED_REVID=99508790
* Rollback of commit 6c2303c461478c6082a29b969e49ad5adb0029aa.Gravatar Andrew Pellegrini2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99505283
* Log timing for some actions that are known to be expensive sometimes.Gravatar Miguel Alcon Pinto2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99500204
* Fix ClassCastException.Gravatar Nathan Harmata2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99487015
* Minor cosmetic changes.Gravatar Lukacs Berki2015-08-04
| | | | | -- MOS_MIGRATED_REVID=99486593
* Make range and enumerate functions available in BUILD files.Gravatar Laurent Le Brun2015-08-04
| | | | | | | It was previously allowed only in bzl files. -- MOS_MIGRATED_REVID=99484302
* Make OutputFileConfiguredTarget create artifacts that are consistent with ↵Gravatar Lukacs Berki2015-07-30
| | | | | | | | | RuleContext#internalCreateOutputArtifact(). Fixes #351. -- MOS_MIGRATED_REVID=99478770
* Skylark: In addition to using ctx.configuration.fragment(CONF), the build ↵Gravatar Florian Weikert2015-07-30
| | | | | | | configuration can now be accessed via ctx.configuration.CONF where CONF is in {cpp, jvm, java}. -- MOS_MIGRATED_REVID=99470271
* Rollback of commit 6c7ef224d700c25f14581f2a290fbc01d5232011.Gravatar Han-Wen Nienhuys2015-07-30
| | | | | | | | | *** Reason for rollback *** Various targets in nightly broken. -- MOS_MIGRATED_REVID=99466859
* Remove calls to AnalysisEnvironment.getDerivedArtifact() from Objective C rules.Gravatar Lukacs Berki2015-07-30
| | | | | -- MOS_MIGRATED_REVID=99453475
* Remove vestigial references to 32-bit/64-bit binaries.Gravatar Janak Ramakrishnan2015-07-30
| | | | | -- MOS_MIGRATED_REVID=99411524
* Log time spent on invalidation, and the number of nodes visited.Gravatar Eric Fellheimer2015-07-30
| | | | | -- MOS_MIGRATED_REVID=99411089
* FilesetEntryValue now overrides .equals and .hashCode.Gravatar Laszlo Csomor2015-07-30
| | | | | | | | | This means Skyframe's change pruning can work more efficiently. Without the overridden implementations we'd compare equal FEVs as inequal and unnecessarily re-evaluate SkyKeys that we could have verified clean. -- MOS_MIGRATED_REVID=99397188
* Move MethodLibrary from packages to syntaxGravatar Francois-Rene Rideau2015-07-30
| | | | | -- MOS_MIGRATED_REVID=99396919
* ActionExecutionValue now overrides .equals and .hashCode.Gravatar Laszlo Csomor2015-07-30
| | | | | | | | | This means Skyframe's change pruning can work more efficiently. Without the overridden implementations we'd compare equal AEVs as inequal and unnecessarily re-evaluate SkyKeys that we could have verified clean. -- MOS_MIGRATED_REVID=99396001
* Fix middleman conflicts in external repositories by appending the package pathGravatar Damien Martin-Guillerez2015-07-30
| | | | | | | Fixes #341. -- MOS_MIGRATED_REVID=99390495
* Adds TransitiveTraversalFunction that loads transitive deps of a targetGravatar Mark Schaller2015-07-30
| | | | | | | | | Unlike TransitiveTargetFunction, it does not return nested sets of the traversed targets. Used primarily for its side effects of loading the transitive targets into the graph. -- MOS_MIGRATED_REVID=99388411
* Compute copts in CcCommon lazily.Gravatar Ulf Adams2015-07-30
| | | | | -- MOS_MIGRATED_REVID=99387022
* Extract base class from TransitiveTargetFunctionGravatar Mark Schaller2015-07-30
| | | | | -- MOS_MIGRATED_REVID=99386094
* Refactor Cc* some more.Gravatar Ulf Adams2015-07-30
| | | | | | | | | - Move getTemps to CcBinary (only caller). - Change getFilesToCompile to return a nested set. - Inline CcCommon.getHeader(), which was a one-liner. -- MOS_MIGRATED_REVID=99384327
* Cleanup of TransitiveTarget and TargetMarker functionsGravatar Mark Schaller2015-07-30
| | | | | | | | | | Added more information to TargetMarkerFunction documentation. Cleaned up and rearranged some code in TransitiveTargetFunction to help with future refactoring. -- MOS_MIGRATED_REVID=99384291
* Remove some unnecessary code from CcBinary.Gravatar Ulf Adams2015-07-29
| | | | | | | | | The object files from sources are already merged into the cc compilation outputs by the CcLibraryHelper, and returned from getObjectFiles. There's no need to add them again later. -- MOS_MIGRATED_REVID=99379096
* Make Bazel always build with --fat_apk_cpu.Gravatar Lukacs Berki2015-07-29
| | | | | | | | | Also tweak the Android NDK CROSSTOOL file a bit so that it actually works. Fixes #335. -- MOS_MIGRATED_REVID=99377509
* Remove an unused method from RuleContext.Gravatar Ulf Adams2015-07-29
| | | | | -- MOS_MIGRATED_REVID=99377171
* Support coverage in experimental_ios_test.Gravatar Peter Schmitt2015-07-29
| | | | | | | | | | | Coverage depends on quite a few moving parts, several of which were changed for this test: - BuildConfiguration.getCoverageLabels() used to include gcov support, this is now replaced by the dedicated getGcovLabels() and a separate implicit attribute on TestBaseRule. This new attribute is then overridden in ExperimentalIosTest to use an xcode-compatible gcov. - Objc's TestSupport now correctly registers instrumented files and sets the necessary runfiles for collecting coverage. - ios_test's template exports gcda files for coverage computation after the test's execution. -- MOS_MIGRATED_REVID=99374435
* Remove some dead code given that cc_public_library is gone.Gravatar Ulf Adams2015-07-29
| | | | | -- MOS_MIGRATED_REVID=99373396
* Move a method from CcCommon to CcBinary that is only called from there.Gravatar Ulf Adams2015-07-29
| | | | | -- MOS_MIGRATED_REVID=99372555
* Generate a fail.sh so that using Jack/Jill fails a bit more gracefully.Gravatar Lukacs Berki2015-07-29
| | | | | -- MOS_MIGRATED_REVID=99372303
* Move shared settings between CcBinary and CcLibrary toGravatar Han-Wen Nienhuys2015-07-29
| | | | | | | CcLibraryHelper#setCommon. -- MOS_MIGRATED_REVID=99370685
* Documented the iteration order of SkylarkNestedSets.Gravatar Florian Weikert2015-07-29
| | | | | | | Also added additional tests that check for the correct behavior regarding order. -- MOS_MIGRATED_REVID=99370126
* Add the default BUILD language functions to the WORKSPACE fileGravatar Damien Martin-Guillerez2015-07-29
| | | | | | | The WORKSPACE file didn't knew how to interpret l[0] where l is a list. -- MOS_MIGRATED_REVID=99366537
* Clarify the behavior of the "type" attribute for http_archive and ↵Gravatar John Field2015-07-29
| | | | | | | new_http_archive rules. -- MOS_MIGRATED_REVID=99355182
* Remove calls to AnalysisEnvironment.getDerivedArtifact() from a few places.Gravatar Lukacs Berki2015-07-29
| | | | | -- MOS_MIGRATED_REVID=99352934
* Check that most output artifacts are under a directory determined by the ↵Gravatar Lukacs Berki2015-07-29
| | | | | | | | | repository and package of the rule being analyzed. Currently this directory is PACKAGE for rules in the main repository and external/REPOSITORY_NAME/PACKAGE for rules in other repositories. This is a plan to fix #293. Ideally, we would simply make it impossible to create artifacts not under that location, but in practice, we cannot do that because some rules do want to do this, mostly those that are already problematic due to shared actions. So the battle plan is to eliminate as many calls to AnalysisEnvironment.getDerivedArtifact() as I possibly can and audit the rest. -- MOS_MIGRATED_REVID=99351151
* Elegantly handle unbounded file symlink resolutions, e.g. 'a' -> 'b' -> ↵Gravatar Nathan Harmata2015-07-29
| | | | | | | 'a/nope'. -- MOS_MIGRATED_REVID=99337668
* Download from remote http repository only if zip file with correct hash ↵Gravatar Janak Ramakrishnan2015-07-29
| | | | | | | | | doesn't already exist. This addresses #251, but similar functionality needs to be implemented for all flavors of remote repository. -- MOS_MIGRATED_REVID=99319885
* Allow modules to specify additional nodes in the graph to be invalidated and ↵Gravatar Janak Ramakrishnan2015-07-29
| | | | | | | | | | | use this functionality to properly invalidate http download nodes if the downloaded zip file doesn't match the specified hash. This still means that the actual files downloaded may not match, but checking all such files may be too expensive. This helps with #336 but before that issue can be closed all remote repositories (git, etc.), should have similar functionality added. -- MOS_MIGRATED_REVID=99317085
* --Gravatar Googler2015-07-29
| | | | MOS_MIGRATED_REVID=99312812
* Add some useful logging of "blaze query" timing.Gravatar Eric Fellheimer2015-07-29
| | | | | -- MOS_MIGRATED_REVID=99302436
* Switches AndroidRobolectricTest to using .aars to provide transitive ↵Gravatar Andrew Pellegrini2015-07-29
| | | | | | | | | resources to the test runner instead of ResourceContainers. Update AndroidLibraryAarProvider to contain transitive closure of .aars. Provides an ~4x speed improvement in test startup time. RELNOTES: android_resources is no longer allowed as a dep for android_robolectric_test. -- MOS_MIGRATED_REVID=99296321
* Remove the extra outputs from the Java compile action.Gravatar Ulf Adams2015-07-29
| | | | | | | The srclist is never generated as far as I can tell. -- MOS_MIGRATED_REVID=99285158
* Skylark documentation fixesGravatar Laurent Le Brun2015-07-29
| | | | | -- MOS_MIGRATED_REVID=99283744
* Reduce by 3x number of calls to LexerLocation lookups in package serialization.Gravatar Eric Fellheimer2015-07-29
| | | | | -- MOS_MIGRATED_REVID=99279879
* Use "python" instead of "python2" as the default Python2 binary.Gravatar Lukacs Berki2015-07-29
| | | | | | | | | This is more in line with how most Linux distributions work. I hope. Fixes #334. -- MOS_MIGRATED_REVID=99276562
* Introduced ctx.new_file_suffix(Artifact, String) as an alias for ↵Gravatar Florian Weikert2015-07-29
| | | | | | | ctx.new_file(Artifact, String) -- MOS_MIGRATED_REVID=99259144
* Description redacted.Gravatar Rumou Duan2015-07-28
| | | | | -- MOS_MIGRATED_REVID=99234569
* Record the project file used to the master log.Gravatar Googler2015-07-28
| | | | | -- MOS_MIGRATED_REVID=99224654
* Add getter for RepositoryName#nameGravatar Michajlo Matijkiw2015-07-28
| | | | | | | | | This makes it easier to identify places where we rely on Repository#name(), as IDEs have an easier time finding occurences of this specific method vs finding occurences of toString(). -- MOS_MIGRATED_REVID=99221130
* Fix conversion from nanoseconds so that it actually targets milliseconds. ↵Gravatar Nathan Harmata2015-07-28
| | | | | | | The incorrect conversion was introduced recently. -- MOS_MIGRATED_REVID=99218016
* Some additional timing logging for discarding analysis cache, multi group ↵Gravatar Eric Fellheimer2015-07-28
| | | | | | | accounting, and artifact conflicts. -- MOS_MIGRATED_REVID=99217433