aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools
Commit message (Collapse)AuthorAge
* Move library R generation to a separate action, ensuring the merging happensGravatar Googler2017-03-20
| | | | | | | | off the java critical path. -- PiperOrigin-RevId: 150460041 MOS_MIGRATED_REVID=150460041
* Enable docker on local version of local remote build serverGravatar Googler2017-03-20
| | | | | | | | | | Allow the local version of local remote build server to pick up the temporary Docker override flags and start a command from within a docker container. -- PiperOrigin-RevId: 150456019 MOS_MIGRATED_REVID=150456019
* Refactor benchmark for enabling CppCodeGenerator.Gravatar Yue Gan2017-03-20
| | | | | | -- PiperOrigin-RevId: 150440499 MOS_MIGRATED_REVID=150440499
* Add CppCodeGenerator for bencharmk without enabling it. It will be enabled ↵Gravatar Yue Gan2017-03-20
| | | | | | | | in a following change. -- PiperOrigin-RevId: 150434910 MOS_MIGRATED_REVID=150434910
* Add a flag (--only_desugar_javac9_for_lint) to disable desugaring lambda ↵Gravatar Chengnian Sun2017-03-17
| | | | | | | | | | expressions for Android Lint. RELNOTES: n/a -- PiperOrigin-RevId: 150378522 MOS_MIGRATED_REVID=150378522
* Uniquify bridge methods generated during lambda desugaringGravatar Kevin Bierhoff2017-03-16
| | | | | | -- PiperOrigin-RevId: 150236330 MOS_MIGRATED_REVID=150236330
* Breaking up is hard to do: AndroidResourceProcessorGravatar Googler2017-03-16
| | | | | | | | | | | * Extract merging methods to a static class * Extract output methods to a static class * Extract manifest processing methods to a class * Move ExecutorCloserService to the top level -- PiperOrigin-RevId: 150219121 MOS_MIGRATED_REVID=150219121
* A quick fix for benchmark: clean the first removed result, and add "--expunge".Gravatar Yue Gan2017-03-16
| | | | | | -- PiperOrigin-RevId: 150179734 MOS_MIGRATED_REVID=150179734
* Allow to have several inputs and outputsGravatar Googler2017-03-15
| | | | | | | | RELNOTES: Allow to have several inputs and outputs -- PiperOrigin-RevId: 150176100 MOS_MIGRATED_REVID=150176100
* Fix bug that all full clean targets are cleaned.Gravatar Yue Gan2017-03-14
| | | | | | | | Only the first target should be cleaned or later incremental build is not incremental. -- PiperOrigin-RevId: 150096210 MOS_MIGRATED_REVID=150096210
* Speed-up the search for desugared classes in case of many lambdas by ↵Gravatar Googler2017-03-14
| | | | | | | | limiting the search to the directory where we expect the file. -- PiperOrigin-RevId: 150049563 MOS_MIGRATED_REVID=150049563
* Global cleanup change.Gravatar Liam Miller-Cushon2017-03-14
| | | | | | -- PiperOrigin-RevId: 150020373 MOS_MIGRATED_REVID=150020373
* Clean up android desugar tool's flags a bitGravatar Kevin Bierhoff2017-03-14
| | | | | | -- PiperOrigin-RevId: 150019741 MOS_MIGRATED_REVID=150019741
* Add <resources> attribute processing to the Android resource processing ↵Gravatar Andrew Pellegrini2017-03-14
| | | | | | | | toolchain. -- PiperOrigin-RevId: 149963021 MOS_MIGRATED_REVID=149963021
* Split AndroidDataDeserializer out of AndroidDataSerializer, as the two classesGravatar Googler2017-03-14
| | | | | | | | do different (if similar) things and had no common code whatsoever. -- PiperOrigin-RevId: 149942714 MOS_MIGRATED_REVID=149942714
* Change how desugar finds desugared classes to have it working on WindowsGravatar Googler2017-03-10
| | | | | | | | RELNOTES: Change how desugar finds desugared classes to have it working on Windows -- PiperOrigin-RevId: 149738279 MOS_MIGRATED_REVID=149738279
* Remove bootclasspath fallback in Android desugaring toolGravatar Googler2017-03-10
| | | | | | -- PiperOrigin-RevId: 149694683 MOS_MIGRATED_REVID=149694683
* Introduce swift-stdlib-tool replacementGravatar Dmitry Shevchenko2017-03-10
| | | | | | | | | | * swift-stdlib-tool is a utility that, given a binary, walks its dynamic library deps graph and picks everything that is used by Swift runtime. This tool is being removed from Xcode 8.3, hence the replacement. * The new tool has a different command line interface, but keeps backwards compatibility with native Bazel code through changes in the wrapper script. The wrapper script is still needed to handle xcrun ENV stuff. -- PiperOrigin-RevId: 149691879 MOS_MIGRATED_REVID=149691879
* Global cleanup change.Gravatar Googler2017-03-09
| | | | | | -- PiperOrigin-RevId: 149652245 MOS_MIGRATED_REVID=149652245
* Add an --copy_bridges_from_classpath argumentGravatar Googler2017-03-09
| | | | | | | | | | This argument allows to copy bridges from interfaces that are on the classpath to the desugared classes. RELNOTES: Add an --copy_bridges_from_classpath argument to android desugaring tool -- PiperOrigin-RevId: 149631699 MOS_MIGRATED_REVID=149631699
* Singlejar: Windows-aware jar tool pathGravatar Laszlo Csomor2017-03-09
| | | | | | | | See https://github.com/bazelbuild/bazel/issues/2107 -- PiperOrigin-RevId: 149626394 MOS_MIGRATED_REVID=149626394
* Desugar calls to Objects.requireNonNull(Object o) to o.getClass()Gravatar Googler2017-03-09
| | | | | | | | | | | | Only requireNonNull(Object o) is desugared. The following two overloaded versions are NOT desugared. requireNonNUll(Object o, String msg) requireNonNull(Object o, Supplier msg) RELNOTES: desugar calls to Objects.requireNonNull(Object o) with o.getClass() for android -- PiperOrigin-RevId: 149579668 MOS_MIGRATED_REVID=149579668
* Merging remote_cache and remote_worker into a single binary. Gravatar Ola Rozenfeld2017-03-09
| | | | | | | | | | | | | | | It can still be used as only a cache server, or only a worker with a wrapper of Hazelcast, so no functionality is lost, but it is now simpler to use in local testing / prototyping. Changed README files appropriately. TESTED=locally -- Change-Id: I3fdff9d434ce8cae5a6a700df0cb9f5bc364b60c Reviewed-on: https://cr.bazel.build/9253 PiperOrigin-RevId: 149569790 MOS_MIGRATED_REVID=149569790
* AndroidResourceProcessor: sort files before writing zipsGravatar Googler2017-03-07
| | | | | | | | | | | | walkFileTree can be non-determinisitic, so the zip entries can be listed in a different order: "A file tree is walked depth first, but you cannot make any assumptions about the iteration order that subdirectories are visited." -- PiperOrigin-RevId: 149345145 MOS_MIGRATED_REVID=149345145
* Apply ChartRangeFilter to charts to improve the UI with large dataset.Gravatar Yue Gan2017-03-06
| | | | | | -- PiperOrigin-RevId: 149299229 MOS_MIGRATED_REVID=149299229
* Avoid factory methods when desugaring stateless lambdas for AndroidGravatar Googler2017-03-06
| | | | | | | | RELNOTES: Avoid factory methods when desugaring stateless lambdas for Android -- PiperOrigin-RevId: 149131637 MOS_MIGRATED_REVID=149131637
* Some little tweaks to benchmark/README.md.Gravatar Philipp Wollermann2017-03-03
| | | | | | -- PiperOrigin-RevId: 149094351 MOS_MIGRATED_REVID=149094351
* Global cleanup change.Gravatar Googler2017-03-03
| | | | | | -- PiperOrigin-RevId: 149089903 MOS_MIGRATED_REVID=149089903
* Global cleanup change.Gravatar Googler2017-03-03
| | | | | | -- PiperOrigin-RevId: 149085169 MOS_MIGRATED_REVID=149085169
* error out when encountering classes missed by incremental dexingGravatar Googler2017-03-03
| | | | | | -- PiperOrigin-RevId: 149047031 MOS_MIGRATED_REVID=149047031
* Fix JarFilterTest on Windows Gravatar Yun Peng2017-03-03
| | | | | | | | | | fixed https://github.com/bazelbuild/bazel/issues/1946 -- Change-Id: Id91c973fb63093024125148a83ecf5948e8f729e Reviewed-on: https://cr.bazel.build/9170 PiperOrigin-RevId: 149020118 MOS_MIGRATED_REVID=149020118
* Add notes above charts.Gravatar Yue Gan2017-03-03
| | | | | | -- PiperOrigin-RevId: 149008255 MOS_MIGRATED_REVID=149008255
* Bazel client: simplify {Read,Write}File semanticsGravatar Laszlo Csomor2017-03-01
| | | | | | | | | | | | | | | | Introduce a platform-specific file handle type (HANDLE on Windows, int on Linux/Darwin/FreeBSD) so we can get rid of the read_func and write_func functions, since they are always the same everywhere. Also include file_platform.h in file.h, since they are logically the same file (file_platform.h is just the platform-specific part of file.h). -- PiperOrigin-RevId: 148892736 MOS_MIGRATED_REVID=148892736
* Always update bazel repo: try pull first, and recreate if failed.Gravatar Yue Gan2017-02-28
| | | | | | -- PiperOrigin-RevId: 148751928 MOS_MIGRATED_REVID=148751928
* Move UnixFileSystem to lib.unix, WindowsFileSystem to lib.windowsGravatar Ulf Adams2017-02-28
| | | | | | -- PiperOrigin-RevId: 148749485 MOS_MIGRATED_REVID=148749485
* Remove the deprecated com.google.devtools.build.lib.vfs.FileSystems classGravatar Ulf Adams2017-02-27
| | | | | | -- PiperOrigin-RevId: 148625618 MOS_MIGRATED_REVID=148625618
* More stable naming scheme for lambda classes in desugared android codeGravatar Googler2017-02-27
| | | | | | | | RELNOTES: More stable naming scheme for lambda classes in desugared android code -- PiperOrigin-RevId: 148506830 MOS_MIGRATED_REVID=148506830
* Use datetime as horizontal axis.Gravatar Yue Gan2017-02-27
| | | | | | | | Add axis titles. -- PiperOrigin-RevId: 148457998 MOS_MIGRATED_REVID=148457998
* Remove the first result in benchmark, since it's slower than others.Gravatar Yue Gan2017-02-24
| | | | | | | | And a little refactor. -- PiperOrigin-RevId: 148446876 MOS_MIGRATED_REVID=148446876
* Add is_external support to PackageManifestParser.Gravatar Googler2017-02-24
| | | | | | -- PiperOrigin-RevId: 148375330 MOS_MIGRATED_REVID=148375330
* Add commit link to githubGravatar Yue Gan2017-02-24
| | | | | | -- PiperOrigin-RevId: 148345988 MOS_MIGRATED_REVID=148345988
* Fix BUILD file mistakes in code generator.Gravatar Yue Gan2017-02-23
| | | | | | -- PiperOrigin-RevId: 148320212 MOS_MIGRATED_REVID=148320212
* roll-forward of "Delete temporary directory on exit"Gravatar Colin Cross2017-02-23
| | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Bazel build is fixed by making fields referenced from inner class final. Clean reapply of commit 9a05f3bc58f9845bf41f9f8031e97b09e5348855 with "Path directory" arguments changed to "final Path directory". *** Original change description *** Revert "Delete temporary directory on exit" This reverts commit 9a05f3bc58f9845bf41f9f8031e97b09e5348855. This change breaks Bazel: http://ci.bazel.io/job/bazel-tests/555/BAZEL_VERSION=HEAD,PLATFORM_NAME=windows-x86_64/console Fixes #2552 -- PiperOrigin-RevId: 148293996 MOS_MIGRATED_REVID=148293996
* Add a flag to enable desugaring java.* classes by rewriting package namesGravatar Colin Cross2017-02-23
| | | | | | | | java.* and sun.* classes cannot be desugared directly because there are hard coded restrictions in the JVM that prevent using loading or using reflection on them. Add a --core_library flag that rewrites package names to have a __desugar__ prefix when reading them, and strips the prefix when writing them back out. -- PiperOrigin-RevId: 148273386 MOS_MIGRATED_REVID=148273386
* change incremental dexing fallback in DexFileMerger to behave exactly as if ↵Gravatar Googler2017-02-23
| | | | | | | | | | classes were converted to dex. -- PiperOrigin-RevId: 148255629 MOS_MIGRATED_REVID=148255629
* Remove mobile-install stub app targets from BUILD files.Gravatar Adam Michael2017-02-23
| | | | | | | | | | | These targets are unneeded and do not build without an android_sdk_repository set up. This issue was identified in https://github.com/bazelbuild/bazel/issues/2559. -- PiperOrigin-RevId: 148251416 MOS_MIGRATED_REVID=148251416
* Disable cache for /file_list.Gravatar Yue Gan2017-02-21
| | | | | | -- PiperOrigin-RevId: 148083461 MOS_MIGRATED_REVID=148083461
* Revert "Delete temporary directory on exit" Gravatar Irina Iancu2017-02-20
| | | | | | | | | | | | | | | | This reverts commit 9a05f3bc58f9845bf41f9f8031e97b09e5348855. This change breaks Bazel: http://ci.bazel.io/job/bazel-tests/555/BAZEL_VERSION=HEAD,PLATFORM_NAME=windows-x86_64/console Fixes #2552 -- Change-Id: Ib177c7bddaeec98af60d44f030782589f38e8923 Reviewed-on: https://cr.bazel.build/9010 PiperOrigin-RevId: 148007731 MOS_MIGRATED_REVID=148007731
* Delete temporary directory on exitGravatar Colin Cross2017-02-20
| | | | | | | | Tell the JVM to clean up the temporary directory when it exits. -- PiperOrigin-RevId: 147888296 MOS_MIGRATED_REVID=147888296
* Support desugaring lambdas in interfaces with default methodsGravatar Colin Cross2017-02-17
| | | | | | | | Support a --min_sdk_version command line argument in order to compile targeting platform version N or newer. Setting the version to >=24 disables Java7Compatibility, uses lookup.findSpecial to support Java 8 uses of invokespecial, and sets the ACC_PUBLIC flags on exposed interface lambda methods. -- PiperOrigin-RevId: 147796071 MOS_MIGRATED_REVID=147796071