aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google
Commit message (Collapse)AuthorAge
* Return all mappings in one Map from Runfiles#getRunfilesInputs(...)Gravatar Michajlo Matijkiw2015-05-08
| | | | | | | | | We wind up combining them anyway in the manifest file and it seems that this is consistent with how we read them back. Return them all at once to avoid tedious duplication in handling of them. -- MOS_MIGRATED_REVID=93058482
* Add plugin support to experimental_ios_testGravatar Daniel Wagner-Hall2015-05-08
| | | | | -- MOS_MIGRATED_REVID=93051778
* Skylark: int() function accepts bools and ints too.Gravatar Laurent Le Brun2015-05-07
| | | | | -- MOS_MIGRATED_REVID=93026026
* Expose PythonSourcesProvider to Skylark.Gravatar Laurent Le Brun2015-05-07
| | | | | -- MOS_MIGRATED_REVID=93025992
* Allow Bazel to have C/C++ include files with any extension.Gravatar Lukacs Berki2015-05-07
| | | | | | | Fixes #164. -- MOS_MIGRATED_REVID=93025634
* Add a mechanism for configuration fragments to add arbitrary rules to the ↵Gravatar Lukacs Berki2015-05-07
| | | | | | | defaults package. -- MOS_MIGRATED_REVID=93023029
* Update command that builds storyboards to pass correct optionsGravatar David Santiago2015-05-07
| | | | | | | | | | | | The command used to compile storyboards for iOS targets was leaving off the --target-device options, which would result in an empty compiled storyboard. This commit updates the command constructed so that it does pass those options and builds non-empty storyboards. -- Change-Id: Ief6aed6f61099fa19ec7846d2321b40f8fce1ab2 MOS_MIGRATED_REVID=93016471
* Fix link params collection for java_import.Gravatar Ulf Adams2015-05-07
| | | | | -- MOS_MIGRATED_REVID=93014182
* Description redacted.Gravatar Googler2015-05-07
| | | | | -- MOS_MIGRATED_REVID=92949679
* Clean up some overly permissive permissions in FileStateValue.Gravatar Janak Ramakrishnan2015-05-07
| | | | | -- MOS_MIGRATED_REVID=92944321
* Fix filegroup paths to work with external repositoriesGravatar Liam Miller-Cushon2015-05-07
| | | | | | | | getPackageFragment() only returns the relative path within a repository, getPathFragment() is needed to return the external path. -- MOS_MIGRATED_REVID=92941601
* Normalize path fragment before saving it in package identifier.Gravatar Janak Ramakrishnan2015-05-07
| | | | | -- MOS_MIGRATED_REVID=92934993
* Expose information from JavaRuntimeClasspathProvider to SkylarkGravatar Laurent Le Brun2015-05-07
| | | | | | | It's undocumented, but it can be used for experimentation. -- MOS_MIGRATED_REVID=92928896
* Combine pathTo{Digest,Bytes} in SingleBuildFileCacheGravatar Michajlo Matijkiw2015-05-07
| | | | | | | | | | | | Instead of updating the file size cache as a side effect of updating the digest cache we combine them into one cache to make it harder for them to fall out of sync (mainly by way of programmer error). This should also have a smaller memory footprint. Also fixes a bug around cached exceptions. -- MOS_MIGRATED_REVID=92928216
* Track BUILD file changes on new_ repositoriesGravatar Kristina Chodorow2015-05-07
| | | | | | | | I noticed, while writing http://bazel.io/docs/cpp.html#including-external-libraries-an-example, that the BUILD file didn't get reparsed when it changed. This fixes that. -- MOS_MIGRATED_REVID=92921670
* Description redacted.Gravatar Ulf Adams2015-05-07
| | | | | -- MOS_MIGRATED_REVID=92920724
* Defer injection of top-level context until we are just about to do the ↵Gravatar Eric Fellheimer2015-05-06
| | | | | | | | | execution phase. Commands which do not perform execution would otherwise over-invalidate nodes. -- MOS_MIGRATED_REVID=92864280
* Simplify link params collection a little bit.Gravatar Ulf Adams2015-05-05
| | | | | -- MOS_MIGRATED_REVID=92843582
* Unconditionally disallow path fragments with up-level referencesGravatar Janak2015-05-05
| | | | | | | | | | when resolving source artifacts. Fixes #152. -- Change-Id: I16e711b77374ecdf07a014935fca39acadaa2081 MOS_MIGRATED_REVID=92838655
* Minor update to source manifest action.Gravatar Eric Fellheimer2015-05-05
| | | | | -- MOS_MIGRATED_REVID=92818911
* Adding additional logging that would have been useful when debugging issue #152.Gravatar Janak2015-05-05
| | | | | | -- Change-Id: I9968c3da2210b630502b47b7ed96acd71c7d7349 MOS_MIGRATED_REVID=92749744
* Make exception in Fingerprint.java thrown in case of "impossible" missing ↵Gravatar Janak Ramakrishnan2015-05-04
| | | | | | | MD5 error more informative so we can try to understand what's going on. -- MOS_MIGRATED_REVID=92734374
* Move the "families" attribute to BundlingRule.Gravatar David Santiago2015-05-04
| | | | | | | | | | | | | | | | | Currently the "families" attribute is defined on the ReleaseBundlingRule. Due to the relationships between the iOS rule classes, this leaves some rules that need to know the device family they are building for without that knowledge. Specifically, objc_bundle_library() can build storyboards outside of any app or extension, and thus needs to know the target device families to use during compilation. For reference, this was discussed at https://groups.google.com/d/msg/bazel-discuss/c-2nwFiqhWo/puESbFNGAYMJ This commit moves the "families" attribute from ReleaseBundlingRule to BundlingRule to accomplish this. -- Change-Id: Ia0d146e85f1c2cdb13bd74aef4a57de1ad537e0f MOS_MIGRATED_REVID=92725861
* Add ios_test.sh.bazel_templateGravatar Daniel Wagner-Hall2015-05-04
| | | | | -- MOS_MIGRATED_REVID=92725547
* Open source a few more analysis tests.Gravatar Ulf Adams2015-05-04
| | | | | -- MOS_MIGRATED_REVID=92715161
* Ensure invariant that a no-keep-going build terminates as soon as it ↵Gravatar Janak Ramakrishnan2015-05-01
| | | | | | | | | encounters a node with an error. We were doing this in most cases, but not if the error was in a node that was already done or was revalidated during change pruning. -- MOS_MIGRATED_REVID=92521223
* Pull out class for substitutionsGravatar Daniel Wagner-Hall2015-05-01
| | | | | -- MOS_MIGRATED_REVID=92474815
* Description redacted.Gravatar Googler2015-05-01
| | | | | -- MOS_MIGRATED_REVID=92472728
* Stop updating shadowed action's inputs in case of an action cache hit for ↵Gravatar Janak Ramakrishnan2015-05-01
| | | | | | | | | the extra action. This meant that the action was potentially being mutated on two threads, which was bad. -- MOS_MIGRATED_REVID=92469122
* Don't allow launching from a directory with a space in the nameGravatar Kristina Chodorow2015-04-30
| | | | | | | Further improvements on #167. -- MOS_MIGRATED_REVID=92459390
* Implements an attribute 'features' that allows overriding package levelGravatar Manuel Klimek2015-04-30
| | | | | | | | | | | | | | | | | | | | | | | | features. Features on the rule level modify features that are enabled at the package level. Note that this behavior is different from how the current command line / package level interaction is, but we probably want to change the command line behavior. Alternative implementations considered: a) using package-level features as default value for the rule attribute; this would make it hard for future transitions; adding a completely new feature to a package should not require updating all rules that have overrides b) putting all positive features and all negative features from command-line, package, and rule attribute into a positive and negative set, and subtract the negative from the positive set; this is how the command-line features worked previously, but it makes it impossible to enable a features that is disabled at the package level just for one rule. RELNOTES: Add 'features' attribute on the rule level. -- MOS_MIGRATED_REVID=92448449
* Remove unneeded final qualifiers from parameters.Gravatar Philipp Wollermann2015-04-30
| | | | | -- MOS_MIGRATED_REVID=92407038
* Fix bug in spec of getBatch.Gravatar Nathan Harmata2015-04-30
| | | | | -- MOS_MIGRATED_REVID=92398218
* Change getBatch signature from Set to Iterable since Iterable is all that's ↵Gravatar Janak Ramakrishnan2015-04-30
| | | | | | | needed. Also clean up some lint warnings/unresolved references. -- MOS_MIGRATED_REVID=92380618
* Execute the plist merge action if there is a bundle id to stamp onto the ↵Gravatar Googler2015-04-30
| | | | | | | | | plist file. RELNOTES: Set the bundle id on plist files referenced by XCode application target. -- MOS_MIGRATED_REVID=92378112
* ios_test: Export device-specific information on a providerGravatar Daniel Wagner-Hall2015-04-29
| | | | | -- MOS_MIGRATED_REVID=92366919
* Indicate that experimental_ios_test targets can only run on OSXGravatar Daniel Wagner-Hall2015-04-29
| | | | | -- MOS_MIGRATED_REVID=92364017
* Minor refactoring of filesystem tests.Gravatar Eric Fellheimer2015-04-29
| | | | | -- MOS_MIGRATED_REVID=92291970
* Give OutputService#startBuild() access to the build ID.Gravatar Eric Fellheimer2015-04-29
| | | | | -- MOS_MIGRATED_REVID=92288707
* Add fetch commandGravatar Kristina Chodorow2015-04-28
| | | | | | | | | | | | | | This command takes a one or more targets and fetches any external repository prerequisites that will be needed to build them. Example usage: bazel fetch //foo:bar If //foo:bar depends on, say, a maven_jar, it'll be downloaded. -- MOS_MIGRATED_REVID=92279626
* Very basic XcTest support in BazelGravatar Daniel Wagner-Hall2015-04-28
| | | | | -- MOS_MIGRATED_REVID=92267704
* Ensure extension's bundle minimum OS version is at least 8.0.Gravatar Peter Schmitt2015-04-28
| | | | | | | | | | | | | | | | | This is required because Apple does not accept extensions whose plist has a minimum OS value lower than 8.0, or whose code is compiled at less than 8.0, even if it is included in an application that is compiled for, and marked compatible with, a lower OS version. Note that I didn't make this an attribute for now as there are no use cases for setting the value to anything but 8.0. If we ever need to make this user-configurable, a value can easily be set. Second submission attempt with small additional logic to distinguish xcode projects across configurations. -- MOS_MIGRATED_REVID=92267493
* Fix multiple issues with extra actions and input-discovering actions:Gravatar Janak Ramakrishnan2015-04-28
| | | | | | | | 1. Race condition where extra action updates action's inputs while action is updating its own inputs. 2. Action was being updated with all inputs, including the extra action's ones, on a cache hit. -- MOS_MIGRATED_REVID=92264706
* Remove IncludeParser from Bazel tree.Gravatar Janak Ramakrishnan2015-04-28
| | | | | -- MOS_MIGRATED_REVID=92264639
* Clean up analysis error reporting a bit:Gravatar Janak Ramakrishnan2015-04-28
| | | | | | | | | 1. Make --analysis_warnings_as_errors a no-op. 2. Stop doing a sanity check that we didn't succeed in analysis even with errors emitted. 3. As a result, emit an error about shared actions to the proper listener. -- MOS_MIGRATED_REVID=92262247
* Update documentations for attribute bundle_id on objc rules to explain ↵Gravatar Googler2015-04-28
| | | | | | | bundle id override. -- MOS_MIGRATED_REVID=92262226
* Remove bundling and application specific build settings from generated ↵Gravatar Googler2015-04-28
| | | | | | | companion Xcode library target. -- MOS_MIGRATED_REVID=92198656
* Fix objective C rules to work with external repositoriesGravatar Kristina Chodorow2015-04-28
| | | | | | | | getPackageFragment() only returns the relative path within a repository, getPathFragment() is needed to return the external path. -- MOS_MIGRATED_REVID=92196789
* Rollback of commit a4b66fdbe61845fd4d4ebaebec1e25cdcd99809d.Gravatar Marian Lobur2015-04-27
| | | | | | | | | | | | | *** Reason for rollback *** Breaks android targets in our nightly: [] *** Original change description *** Add a mechanism for configuration fragments to add arbitrary rules to the defaults package. -- MOS_MIGRATED_REVID=92144505
* CL for Java readability reviewGravatar Kristina Chodorow2015-04-27
| | | | | -- MOS_MIGRATED_REVID=92141245