aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main
Commit message (Collapse)AuthorAge
* Introduces apple_cc_toolchain.Gravatar Cal Peyser2016-03-17
| | | | | -- MOS_MIGRATED_REVID=117361388
* Make ProguardLibrary.collectLocalProguardSpecs and ↵Gravatar Carmi Grushko2016-03-17
| | | | | | | collectProguardSpecsFromAttribute work with attributes added by Aspects. -- MOS_MIGRATED_REVID=117343880
* Add content encoding detection for downloaderGravatar Kristina Chodorow2016-03-17
| | | | | -- MOS_MIGRATED_REVID=117340875
* Fixed html formatting in maven_jar descriptionGravatar David Mankin2016-03-17
| | | | | | | -- Change-Id: Ib7d2e97a62fab06e47d3c1504f47c5e30933524e Reviewed-on: https://bazel-review.googlesource.com/#/c/3073/ MOS_MIGRATED_REVID=117340155
* Add Python protobuf to Bazel third_party and move all protobuf targets intoGravatar David Chen2016-03-17
| | | | | | | //third_party/protobuf. -- MOS_MIGRATED_REVID=117336377
* Expose feature list in SkylarkRuleContext.Gravatar Dmitry Lomov2016-03-17
| | | | | -- MOS_MIGRATED_REVID=117277091
* Add APPLE_COVERAGE env variable to coverage tools.Gravatar Dmitry Shevchenko2016-03-15
| | | | | | | | | This makes it possible to isolate coverage runs for Apple platforms and perform a different set of operations. RELNOTES: -- MOS_MIGRATED_REVID=117269972
* Separate download library so it can be reused by generate_workspaceGravatar Kristina Chodorow2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117268295
* Make manual multidex incompatible with .dex sharding.Gravatar Lukacs Berki2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117262661
* Allow java_toolchain.ijar to be a fileGravatar Liam Miller-Cushon2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117260412
* Update the java_langtools flag to default to @bazel_tools//tools/jdk:langtools.Gravatar Luis Fernando Pino Duque2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117238298
* Adds bazel_version to the native module for workspace macros.Gravatar Damien Martin-Guillerez2016-03-15
| | | | | | | | | | | | | | | | | | | | | One can now invoke native.bazel_version to get the version of Bazel from the WORKSPACE file. This can be used to do version check, for instance: version.bzl: def check_version(x): if native.bazel_version < x: fail("Current Bazel version is {}, expected at least {}".format(native.bazel_version, x)) WORKSPACE: load("//:version.bzl", "check_bersion") check_version("0.2") Fixes #1014. -- MOS_MIGRATED_REVID=117231557
* fix typo: "is produce" -> "is produced"Gravatar Cal Peyser2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117202268
* Incremental dexing for sharded android_binary targetsGravatar Googler2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117186609
* Refer to CharMatcher.javaLetterOrDigit() in a comment.Gravatar Michael Zhou2016-03-15
| | | | | | | | | | | This was a leftover from the global cleanup change to replace the usages of static final fields on Guava's CharMatcher with their equivalent static factory methods. -- Change-Id: I9ee765a2545eabdd01b00e4ea924801b7a88898a Reviewed-on: https://bazel-review.googlesource.com/#/c/3060 MOS_MIGRATED_REVID=117160725
* Update header compilation to handle implicit attribute suffixesGravatar Liam Miller-Cushon2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117153381
* Description redacted.Gravatar Janak Ramakrishnan2016-03-15
| | | | | -- MOS_MIGRATED_REVID=117139503
* Roll-forward of commit 4bf0018ed1cf8616297b951dc03dbde3f0db2503 with code to ↵Gravatar Janak Ramakrishnan2016-03-15
| | | | | | | preserve order of glob matches: Parallelize fetches of symlink file values, subdirectory globs, and subdirectory package lookup values. This should improve change pruning speed when we have to check a glob. It also keeps GlobFunction closer to the contract of Skyframe, because in order to avoid quadratic restarts, it wasn't checking for missing deps between getValue calls. -- MOS_MIGRATED_REVID=117139471
* Move dump_syms from //tools/objc to //tools/osx. This will allow it to be ↵Gravatar Cal Peyser2016-03-15
| | | | | | | referenced from the crosstool without crossing package boundaries. -- MOS_MIGRATED_REVID=117137594
* Expose more documentation to Skylark.Gravatar Dmitry Lomov2016-03-14
| | | | | -- MOS_MIGRATED_REVID=117123912
* Add semantic tests for ExperimentalStateTrackerGravatar Klaus Aehlig2016-03-14
| | | | | | | | | | | | | | | | | | | | | | | Now that the experimental UI has the first properties we want to keep in the long run, add a test asserting the following semantic properties. - Whenever only one action is running, it is shown somehow in the progress bar. - Completed actions should not be shown in the progress bar. - The earliest-started still running action should be visible in the progress bar. While there, also drop the assumption in the ExperimentalStateTracker that the ExecutionProgressReceiverAvailableEvent has to come before any actions that has not been finished yet. -- Change-Id: Ica52eb12546703e4f8f9d9c64928208621d19ced Reviewed-on: https://bazel-review.googlesource.com/#/c/3048 MOS_MIGRATED_REVID=117121300
* Fix ClasspathConfiguredFragment bootclasspath collectionGravatar Liam Miller-Cushon2016-03-14
| | | | | | | | | | Previously it was only collecting custom per-rule bootclasspaths (e.g. from android_library, which uses android.jar instead of the default Java bootclasspath). This allows the java.compilation_info.boot_classpath Skylark provider to work for regular Java rules. -- MOS_MIGRATED_REVID=117031832
* Update ios_framework rule doc to emphasize the current issues.Gravatar Dmitry Shevchenko2016-03-14
| | | | | -- MOS_MIGRATED_REVID=117018073
* Add a test for getDefaultJavacOptsFromRuleGravatar Liam Miller-Cushon2016-03-14
| | | | | | | java_toolchain.jvm_opts was being used instead of javac options. -- MOS_MIGRATED_REVID=117016052
* Use repository_ctx for each usage of repository context.Gravatar Damien Martin-Guillerez2016-03-14
| | | | | | | | This will avoid confusion with the normal Skylark rule context. Also fixed indentation of cc_configure.bzl -- MOS_MIGRATED_REVID=117011107
* Add repository_ctx.name to get the name of the repositoryGravatar Damien Martin-Guillerez2016-03-14
| | | | | | | Fixes #1030. -- MOS_MIGRATED_REVID=117009021
* Makes the xctest_app attribute of ios_test only accept ios_applications. It ↵Gravatar Dave MacLachlan2016-03-14
| | | | | | | | | used to accept obc_binaries as well. RELNOTES: You can no longer use objc_binary targets for the xctest_app attribute of an ios_test rule. -- MOS_MIGRATED_REVID=117004358
* Remove infoplists from objc_options. They aren't used anymore (last case ↵Gravatar Dave MacLachlan2016-03-14
| | | | | | | removed with unknown commit) -- MOS_MIGRATED_REVID=117003728
* Removes restriction on having both a launchimage and a launchstoryboard in a ↵Gravatar Dave MacLachlan2016-03-11
| | | | | | | given application as there are cases where you want both. -- MOS_MIGRATED_REVID=116998425
* Minor documentation wording fix.Gravatar Erik Abair2016-03-11
| | | | | -- MOS_MIGRATED_REVID=116990273
* Allow android_library with android resource attributes to have deps without ↵Gravatar Googler2016-03-11
| | | | | | | | | | srcs instead of throwing an error. Implicit exporting of the deps of an android_library rule that doesn't have srcs is deprecated and will soon be removed. -- MOS_MIGRATED_REVID=116988446
* Fix style issue; convert comment to Javadoc format.Gravatar Ulf Adams2016-03-11
| | | | | | | ...so the docs show up on hover in an IDE. -- MOS_MIGRATED_REVID=116986129
* Remove unused declared function AddJVMSpecificArguments.Gravatar Nathan Harmata2016-03-11
| | | | | | | | | Kudos to @tfarina for pointing out this dead function declaration. An older commit (prior to bazel being open sourced) moved the file out of blaze_util.cc but forgot to delete the function declaration from the header file. And a subsequent change (also before bazel was open sourced) renamed/moved the implementation to a place that is now internal-only. -- MOS_MIGRATED_REVID=116980458
* Improve error when allowedFileTypesForLabels is not setGravatar Liam Miller-Cushon2016-03-11
| | | | | -- MOS_MIGRATED_REVID=116980421
* Skylark repositories: added path.readdir() to list a directoryGravatar Damien Martin-Guillerez2016-03-11
| | | | | | | | | Also added correct equals and hash for the SkylarkPath class. Fixes #1015. -- MOS_MIGRATED_REVID=116979400
* Fixed a problem with wrong test statuses when using notest_keep_going ↵Gravatar Florian Weikert2016-03-11
| | | | | | | (especially with sharding). -- MOS_MIGRATED_REVID=116975152
* Deprecate --javabuilder_jvmoptGravatar Liam Miller-Cushon2016-03-11
| | | | | | | It has been made obsolete by java_toolchain.jvm_flags. -- MOS_MIGRATED_REVID=116884961
* Expose runfiles symlink functionality in SkylarkGravatar Googler2016-03-11
| | | | | | | | | | | | | | | | | | | | | The Skylark rule context object has a runfiles method. This adds two optional parameters to that method, "symlinks" and "root_symlinks", that expose functionality from the underlying Runfiles java class. With this functionality, one can construct links in the runfiles tree where the source and destination of the link have different names and/or relative directories. This might be useful for things like AppEngine rules where a file in a subdirectory of the source tree needs to appear in the root directory of the runfiles tree. If either new parameter is used, the runfiles is subject to stricter validity checking. This checking propagates to other runfiles that depend on it. RELNOTES: Added "root_symlinks" and "symlinks" parameters to Skylark runfiles() method. -- MOS_MIGRATED_REVID=116879064
* Simplify LaunchStoryboard plist generation to make it less error prone.Gravatar Dave MacLachlan2016-03-11
| | | | | | | Simplify automatic entries creation. -- MOS_MIGRATED_REVID=116866524
* When --experimental_oom_more_eagerly is enabled, tell Bazel to exit with an ↵Gravatar Janak Ramakrishnan2016-03-10
| | | | | | | OutOfMemoryError and have the JVM send Bazel a SIGUSR2 when it detects an OOM. This should help in certain pathological cases when Bazel GC thrashes for some time after an OOM has been detected. -- MOS_MIGRATED_REVID=116819359
* cpp: some minor changes to the usage of DeleteFile() functionGravatar Thiago Farina2016-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This functions was introduced by commit bf98f39d5d69: "Add the ability to customize the bazel client's...", but at that time it didn't update EnsureCorrectRunningVersion() function, that uses unlink() function, to use DeleteFile() as well. So this patch updates EnsureCorrectRunningVersion() to make use of it now. While there is nothing wrong with the current name, it is not very much correct from the documentation point. If the path is a symlink, unlink() will just the symbolic link and the file won't be removed (affected at all). Otherwise, if it is just a normal file, it will just decrement the link count of the file and when that count reaches zero (0) then the file will longer be accessible. So while at it we renamed the function to UnlinkPath(), but could just stay as DeleteFile() if we wanted. In this process we also improved the documentation for this function to be a little more clear and removed moved it from the source file, since the header file already has it. For further reference, adhere to the documentation in http://pubs.opengroup.org/onlinepubs/009695399/functions/unlink.html. -- Change-Id: I0fc569f3324322cbc67a8fb540836c127f5c3399 Reviewed-on: https://bazel-review.googlesource.com/#/c/3061/ MOS_MIGRATED_REVID=116769254
* Ensure that errors from a mismatch between include scanning and local ↵Gravatar Janak Ramakrishnan2016-03-09
| | | | | | | execution are reported. Previously, we would not report the error unless the build was already failing and this error ended up being the root cause of the first failed top-level target. -- MOS_MIGRATED_REVID=116767915
* Update j2objc workspace to latest 1.0.1 release.Gravatar Googler2016-03-09
| | | | | | | | | Adds //third_party/java/j2objc:jre_emul.jar target, needed for a future update to j2objc_library. RELNOTES: J2ObjC updated to 1.0.1 release. -- MOS_MIGRATED_REVID=116767453
* Add full support for android_resources to AndroidStudioInfoAspect.Gravatar Googler2016-03-08
| | | | | | | | | | For backwards compatibility reasons, resources show up in both the originating rule as well as the containing rule. Implementations can check the :resources attribute to see if they should ignore their resources. -- MOS_MIGRATED_REVID=116698804
* Add placeholder documentation for Bazel's constraint system -Gravatar Greg Estren2016-03-08
| | | | | | | fully implemented but still being guinea pigged. -- MOS_MIGRATED_REVID=116694206
* Simplify configurable attributes documentation.Gravatar Greg Estren2016-03-08
| | | | | -- MOS_MIGRATED_REVID=116693888
* Do not use all_load for individual always_link deps.Gravatar Googler2016-03-08
| | | | | | | -all_load does not work like whole-archive in the Apple linker. It affects *all* arguments, before and after it. Therefore, a single always_link dependency in a cc_binary on Apple platforms turns *everything* into always_link. -- MOS_MIGRATED_REVID=116674199
* Skylark: improved documentation and error messages of getattr() and ↵Gravatar Florian Weikert2016-03-08
| | | | | | | | | hasattr() when being called with the name of an existing method. While hasattr(obj, 'existing method') continues to return true, getattr(obj, 'existing method') always throws an exception (with a more detailed message than before), regardless of whether a default value was specified or not. -- MOS_MIGRATED_REVID=116613716
* Make ipa_post_processor documentation show up.Gravatar Peter Schmitt2016-03-08
| | | | | -- MOS_MIGRATED_REVID=116595467
* Replace objc_dummy.m with objc_dummy.mm.Gravatar Googler2016-03-08
| | | | | -- MOS_MIGRATED_REVID=116593165