aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Add a custom converter to --crosstool_top so that select() works.Gravatar Lukacs Berki2015-10-08
| | | | | -- MOS_MIGRATED_REVID=104845397
* Delete old java based tools for ibtool, actool, momc, etc.Gravatar Dave MacLachlan2015-10-07
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=104826820
* Add a mapping and relevant function calls in ObjcProvider to provide a way ↵Gravatar Rumou Duan2015-10-07
| | | | | | | | | to construct and export a J2ObjC-code-and-dep-only view of the ObjcProvider, which is then used to create the compile action for J2ObjC-generated code at the binary level. This greatly reduces the number of input artifacts for such actions. Also export header search paths at the edges (J2ObjcAsepct and J2ObjcProtoAspect) instead of in j2objc_library. This change removes some unnecessary header search paths. -- MOS_MIGRATED_REVID=104821185
* Move several commands over to using xcrun instead of hardcoding tooling ↵Gravatar Dave MacLachlan2015-10-07
| | | | | | | locations. -- MOS_MIGRATED_REVID=104797906
* Make Skyframe tests resilient to root causes not being stored.Gravatar Janak Ramakrishnan2015-10-07
| | | | | -- MOS_MIGRATED_REVID=104791799
* Fix new_http_archive's strip_prefix for zipsGravatar Kamal Marhubi2015-10-07
| | | | | | | | | | | | | | | | The removal of the prefix was incorrectly applied to the zip entry instead of the destination. Fixes https://github.com/bazelbuild/bazel/issues/221 Tested: - Added a copy of the existing integration test with zip archive - bash compile.sh all -- Change-Id: I5d5f75f66a17eb6f146afafb1f347a781490e616 Reviewed-on: https://bazel-review.googlesource.com/#/c/2084/ MOS_MIGRATED_REVID=104774296
* Collect .o files compiled from C(++), and skip the rest for the LTO backend ↵Gravatar Han-Wen Nienhuys2015-10-07
| | | | | | | | | | step. This should make ThinLTO work with .o files that are not generated by compiling C++ in a cc_library() -- MOS_MIGRATED_REVID=104764111
* Rules created by Skylark Macros now store the workspace-relative path of the ↵Gravatar Florian Weikert2015-10-07
| | | | | | | respective macro in the attribute "generator_location". -- MOS_MIGRATED_REVID=104757928
* Add a feature to require explicitly passing module maps.Gravatar Manuel Klimek2015-10-07
| | | | | | | | | | | | | | | | | | | | | | Currently, module maps contain both "use <module>" entries that specify which modules the current module map depends on, and "extern module" entries that provide paths where to load the dependent module maps from. This change adds a feature "module_map_without_extern_module", which instructs blaze to not write the "extern module" entries into the module map. Instead, the crosstool needs to add -fmodule-file flags for each dependent module file where needed for the compile via the new build variable "dependent_module_map_files". Note that the feature is phrased negatively ("_without_") in order to simplify the roll-out of this feature: as long as crosstools do not specify any features, they still want the old behavior. We cannot make the feature positive and add it to the legacy configuration, as we currently cannot remove features that have already been set in the crosstool file. -- MOS_MIGRATED_REVID=104757413
* Partially revert []: move the tools/defaults package back to the main ↵Gravatar Lukacs Berki2015-10-07
| | | | | | | | | repository. This is necessary because we copy labels from the command line into tools/defaults/BUILD and currently there is no syntax to make a label in a remote repository refer to one in the main repository. -- MOS_MIGRATED_REVID=104755206
* sandbox: Improve MountMap to always return entries sorted by path depth and ↵Gravatar Philipp Wollermann2015-10-06
| | | | | | | lexicographical order. This prevents certain edge cases in the sandbox, where a mounted child directory could be hidden by a later mount of a parent directory over its parent. -- MOS_MIGRATED_REVID=104749937
* Ensure that the LinuxSandboxedStrategy tests actually test the correct strategy.Gravatar Philipp Wollermann2015-10-06
| | | | | -- MOS_MIGRATED_REVID=104749361
* Fix fallout from the previous CL renaming the tools directory.Gravatar Lukacs Berki2015-10-06
| | | | | -- MOS_MIGRATED_REVID=104749314
* Implement the prefix stripping for Java resources.Gravatar Lukacs Berki2015-10-06
| | | | | | | | | This CL sure works, but it leaves a few call sites for JavaSemantics#getJavaResourcePath() which make me uncomfortable. RELNOTES: Java rules now support a resource_strip_prefix attribute that allows the removal of path prefixes from Java resources. -- MOS_MIGRATED_REVID=104748537
* Embed a tools directory into the Bazel binary.Gravatar Lukacs Berki2015-10-06
| | | | | | | This is currently unused deadweight, but will be used pretty soon to access the tools directory instead the menagerie of various odd mechanism we currently use. -- MOS_MIGRATED_REVID=104737151
* Rollback of commit ae5f442e9cf3ef6578e70104af7cb2a2288b9fb8.Gravatar Kristina Chodorow2015-10-06
| | | | | | | | | | | | | *** Reason for rollback *** This is causing segfaults. *** Original change description *** Remove copy ctor and operator= from BlazeStartupOptions -- MOS_MIGRATED_REVID=104726824
* In FilesystemValueChecker, use 200 threads and don't waste threads on ↵Gravatar Nathan Harmata2015-10-06
| | | | | | | skipped keys. This yields some noticeable improvements for the wall times of null builds with even a small set of files to be checked for changes. -- MOS_MIGRATED_REVID=104717653
* Log how much time we spend manually checking files and directory listings ↵Gravatar Nathan Harmata2015-10-06
| | | | | | | for changes (also log how many nodes we checked & scanned - note that we currently "scan" the entire Skyframe graph since it's not segregated by type). -- MOS_MIGRATED_REVID=104713225
* Pass IOS_SDK_VERSION_OVERRIDE to environment for darwin actionsGravatar Chris Parsons2015-10-06
| | | | | -- MOS_MIGRATED_REVID=104708978
* Remove copy ctor and operator= from BlazeStartupOptionsGravatar Kristina Chodorow2015-10-06
| | | | | -- MOS_MIGRATED_REVID=104688018
* Adds support for selecting the different STL implementations in the Android NDK.Gravatar Alex Humesky2015-10-06
| | | | | | | The android_ndk_repository rule will default to the gnu-libstdcpp toolchain. Other STL impls can be selected with, for example, --android_crosstool_top=@androidndk//:toolchain-libcpp or --android_crosstool_top=@androidndk//:toolchain-stlport. -- MOS_MIGRATED_REVID=104685576
* Remove vestigial serialization bits from ErrorInfoGravatar Michajlo Matijkiw2015-10-06
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=104674937
* Remove extraneous check in DependencyResolver.Gravatar Michael Staib2015-10-06
| | | | | | | | At this point in the method we already know that aspect != null, because we're in the else-branch of an if (aspect == null). -- MOS_MIGRATED_REVID=104674784
* Add prerequisite dependencies to make ios_test work build on bazel.Gravatar Chris Parsons2015-10-06
| | | | | -- MOS_MIGRATED_REVID=104673050
* Allow Java libraries to export and propagate proguard_specs.Gravatar Michael Staib2015-10-06
| | | | | | | | | | | | | | | It may be the case that a library used by Java clients is also used by Android clients, but when used for the latter, it requires a particular Proguard configuration. This change modifies Java library rules to accept Proguard specs and pass them up to Android rules. Note that this does not cause Proguard to be used on normal Java binaries. RELNOTES[NEW]: java_library now supports the proguard_specs attribute for passing Proguard configuration up to Android (not Java) binaries. -- MOS_MIGRATED_REVID=104661799
* Remove --treat_srcjars_as_srcs_for_strict_depsGravatar Liam Miller-Cushon2015-10-06
| | | | | -- MOS_MIGRATED_REVID=104661596
* Add debugging info in case of unexpected crash.Gravatar Janak Ramakrishnan2015-10-06
| | | | | -- MOS_MIGRATED_REVID=104658639
* Add basic integration tests for Objective-C / iOS.Gravatar Chris Parsons2015-10-06
| | | | | -- MOS_MIGRATED_REVID=104658547
* Progress reporting test: attempt to deflake.Gravatar Laszlo Csomor2015-10-05
| | | | | -- MOS_MIGRATED_REVID=104657014
* Refactor SkylarkStatistics to reduce size.Gravatar Klaas Boesche2015-10-05
| | | | | | | | | Does not save all Tasks anymore and generates TasksStatistics on the fly. Adds an ArrayList implementation for primitive longs to efficiently save a lot of task duration data. Necessary when loading lots of profile files. -- MOS_MIGRATED_REVID=104656311
* Optionally limits the length of the output of Printer.printList() (default = ↵Gravatar Florian Weikert2015-10-05
| | | | | | | no). -- MOS_MIGRATED_REVID=104655508
* Move the special rule creation method for deserialization to the only usage ↵Gravatar Miguel Alcon Pinto2015-10-05
| | | | | | | (PackageDeserialization). -- MOS_MIGRATED_REVID=104654412
* Make CriticalPathStatistics output optional.Gravatar Klaas Boesche2015-10-05
| | | | | | | | Does not change the default output, but allows reuse of PhaseText without outputting those statistics. -- MOS_MIGRATED_REVID=104653246
* Add a Constants.TOOLS_PREFIX constant that will serve to redirect the Bazel ↵Gravatar Lukacs Berki2015-10-05
| | | | | | | | | | | tools repository. This is a no-op refactoring CL. The actual switch will be made once everything passes with the new setup. As a side cleanup, change the awkward realAndroidSdk() / realAndroidCrosstoolTop() mechanism to a converter. -- MOS_MIGRATED_REVID=104649067
* Add options for reducing the size of the HTML output: --[no]chart for ↵Gravatar Klaas Boesche2015-10-05
| | | | | | | omitting the Gantt-style charts of all tasks and --[no]histograms to omit Skylark histograms which require adding huge amounts of data to the output. Especially necessary when combining data from multiple profile files. -- MOS_MIGRATED_REVID=104646190
* Fix up actool, ibtool etc so that they can handle empty output.Gravatar Dave MacLachlan2015-10-05
| | | | | -- MOS_MIGRATED_REVID=104581383
* Add IdlClass to the embedded default android tools repository and rearrangeGravatar Alex Humesky2015-10-05
| | | | | | | BuildJar's JarHelper so that it too can be embedded. -- MOS_MIGRATED_REVID=104539260
* Replace EvaluableGraph#createIfAbsent with the potentially more efficient ↵Gravatar Nathan Harmata2015-10-05
| | | | | | | EvaluableGraph#createIfAbsentBatch. -- MOS_MIGRATED_REVID=104534858
* Remove getSplitTransitionTable - this method is never used.Gravatar Greg Estren2015-10-05
| | | | | -- MOS_MIGRATED_REVID=104533375
* Pre-populate the SkyFunctionEnvironment with the node's previously declared ↵Gravatar Nathan Harmata2015-10-05
| | | | | | | deps. -- MOS_MIGRATED_REVID=104531377
* Allow extractIncludes method to throw an ExecException.Gravatar Janak Ramakrishnan2015-10-05
| | | | | -- MOS_MIGRATED_REVID=104529103
* Add imported static libraries to the list of libraries to link, instead of ↵Gravatar Rumou Duan2015-10-05
| | | | | | | specifying them as linker flags, and also add their associated library search paths. This makes sure the link order for libraries is consistent with Bazel build. -- MOS_MIGRATED_REVID=104524532
* Rollback of commit d7b64bd03100300b79cd33d04904ce9b0e6a5332.Gravatar Janak Ramakrishnan2015-10-05
| | | | | | | | | *** Reason for rollback *** Some rules write the toString representation of lists of files to disk and then read it back again. This breaks that. -- MOS_MIGRATED_REVID=104524336
* Add external_integration_test back into CIGravatar Kristina Chodorow2015-10-02
| | | | | -- MOS_MIGRATED_REVID=104507504
* Add --task_tree and --task_tree_threshold options.Gravatar Klaas Boesche2015-10-02
| | | | | | | | Options allow displaying some tasks in more detail, e.g. for inspecting what exactly a Skylark user-defined function calls and how long that takes. -- MOS_MIGRATED_REVID=104505599
* Fix Java 7 test suiteGravatar Damien Martin-Guillerez2015-10-02
| | | | | | | | | | | | | - Prevent test from JavaBuilder to be run (mark them as JDK8 only). - Hack to replace the JavaBuilder target so that test that needs JavaBuilder will depends on the pre-built binary version. Tested: bash -c 'export JAVA_VERSION=1.7; source scripts/ci/build.sh; bazel_build' (and verified that there is no build failure). We might still have failing tests (worker and runfiles) but the failure seems like flakiness. -- MOS_MIGRATED_REVID=104504123
* Fix strip_prefixGravatar Kristina Chodorow2015-10-02
| | | | | | | Fixes #221. -- MOS_MIGRATED_REVID=104499510
* Fix coverage not being calculated for android_tests using binary_under_test.Gravatar Andrew Pellegrini2015-10-02
| | | | | -- MOS_MIGRATED_REVID=104498435
* Trim temporary directory root from entry paths when creating resources ↵Gravatar Andrew Pellegrini2015-10-02
| | | | | | | srcjar to match standard jar format. -- MOS_MIGRATED_REVID=104498213
* Replace strong interning with weak interning for better GC.Gravatar Miguel Alcon Pinto2015-10-02
| | | | | -- MOS_MIGRATED_REVID=104494833