aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
...
* 3.7 of 5: Refactoring ResourceMap generation.Gravatar Googler2016-03-25
| | | | | | | | | The end goal is to remove ResourceMap and separate the DataKey from the DataResource and DataAsset. This moves the resource map to AndroidDataSet and switches the generation to the Resource and Asset visitors. Which is nice, because it removes a traversal of the overwritable resources and assets. -- MOS_MIGRATED_REVID=118071238
* Part 3.5 of 5: AssetsGravatar Googler2016-03-25
| | | | | | | Adds support for parsing and merging assets. This introduces the DataKey and DataAsset interfaces which allow reuse of the FileDataResource for assets, the RelativeAssetPath which acts as a DataKey for assets (the relative asset path is the path that the asset will reside inside the final apk.) It also extends the AndroidDataSetBuilder to handle the creation of assets, and cleans up the interface a little. -- MOS_MIGRATED_REVID=118060379
* Add timeout to dash connectionsGravatar Kristina Chodorow2016-03-25
| | | | | | | Fixes #545. -- MOS_MIGRATED_REVID=118059971
* Add toString() method to LabelAndConfiguration.Gravatar Janak Ramakrishnan2016-03-24
| | | | | -- MOS_MIGRATED_REVID=118049325
* Don't shell quote header compiler params filesGravatar Liam Miller-Cushon2016-03-24
| | | | | | | | This was causing javacopts containing '=' to be escaped, which makes them invisible to the underlying javac invocation. -- MOS_MIGRATED_REVID=118048317
* fix some references to "Blaze" in BugReport.javaGravatar Thiago Farina2016-03-24
| | | | | | | | | | | | | | | This patch replaces the usage of hardcoded "Blaze" string by Constants.PRODUCT_NAME, so when presenting the output to the user in the open source version, it says "Bazel" instead of "Blaze", as "Blaze" is the internal name of the tool and "Bazel" the public one. Closes #842 -- Change-Id: I2917656d5254fe34b2761d6e2c79deef7c7fb8a5 Reviewed-on: https://bazel-review.googlesource.com/c/3103/ MOS_MIGRATED_REVID=118042541
* Add explicit type arguments to unbreak java7 builds.Gravatar Janak Ramakrishnan2016-03-24
| | | | | -- MOS_MIGRATED_REVID=118042058
* Adds Skylark Remote Repository documentationGravatar Damien Martin-Guillerez2016-03-24
| | | | | | | Fixes #1043 -- MOS_MIGRATED_REVID=118039426
* Add executable argument to repository_ctx.download function.Gravatar Yun Peng2016-03-24
| | | | | | | | | | | repository.download function now creates the necessary directories before downloading. Fixes #1069 Fixes #1078 -- MOS_MIGRATED_REVID=118026986
* Improve class Javadoc of DirectoryListingValue.Gravatar Nathan Harmata2016-03-24
| | | | | -- MOS_MIGRATED_REVID=118026638
* Signal that the query command does not buildGravatar Klaus Aehlig2016-03-24
| | | | | | | | | | | | This will tell the experimental UI not to produce updates on the build status and also pass through correctly STDOUT/STDERR events. In particular, the standard output is suitable for consumption by other tools. -- Change-Id: Ifffd445433a29df20f062a762fe6280229319196 Reviewed-on: https://bazel-review.googlesource.com/#/c/3123 MOS_MIGRATED_REVID=118024251
* Permit cc_test to run on darwin.Gravatar Cal Peyser2016-03-24
| | | | | -- MOS_MIGRATED_REVID=118019851
* Adding ProductType for watch OS 1 extension and application.Gravatar Googler2016-03-24
| | | | | | | RELNOTES: Add ProductType for watch OS 1 extension and application. -- MOS_MIGRATED_REVID=118003005
* Refactor spawnXcrunActionBuilder to take an explicit apple platform.Gravatar Chris Parsons2016-03-24
| | | | | | | | | This both starts to clean up the code (making it clearer which platform each action is targeted to, caller by caller), as well as allows callers to issue certain actions for platforms which are not implicitly ios. We'll still need to migrate callers onto the new method signature. -- MOS_MIGRATED_REVID=117982741
* Pass -F flags to Swift compilation rules.Gravatar Dmitry Shevchenko2016-03-24
| | | | | -- MOS_MIGRATED_REVID=117974145
* Remove deprecated Skylark rulesGravatar Kristina Chodorow2016-03-24
| | | | | -- MOS_MIGRATED_REVID=117968196
* Reduce memory use of feature values by introducing a ValueSequence class ↵Gravatar Manuel Klimek2016-03-24
| | | | | | | that keeps the Strings and creates the corresponding Value objects only at expansion time. -- MOS_MIGRATED_REVID=117947058
* Add startup option --experimental_oom_more_eagerly_threshold, with default ↵Gravatar Janak Ramakrishnan2016-03-24
| | | | | | | value 90. When --experimental_oom_more_eagerly is enabled, if after two full GCs the old gen is still >=--experimental_oom_more_eagerly_threshold% full, exit the JVM. -- MOS_MIGRATED_REVID=117943361
* Always apply invocation policy when constructing build options.Gravatar Janak Ramakrishnan2016-03-24
| | | | | -- MOS_MIGRATED_REVID=117939121
* Signal that the info command does not buildGravatar Klaus Aehlig2016-03-24
| | | | | | | | | | | | | | In the experimental UI, during build, STDOUT and STDERR events are reported as separate events, properly terminated by CR LF. After the completion of the build, however, STDOUT and STDERR are passed through byte by byte, to allow nicely formatted output. Info commands, however, do not build, so there is no event to signal end of build; hence report that fact directly to the UI. -- Change-Id: Ic236d33ee6e65637016370e15ed37e3d9494a258 Reviewed-on: https://bazel-review.googlesource.com/#/c/3122 MOS_MIGRATED_REVID=117934742
* Correctly reports error in the workspace fileGravatar Damien Martin-Guillerez2016-03-23
| | | | | | | | The previous implementation was hiding errors from before a load statement as a result of the workspace split. -- MOS_MIGRATED_REVID=117933781
* Removed ending . in error messageGravatar Damien Martin-Guillerez2016-03-23
| | | | | | | They are automatically added when printing the error message. -- MOS_MIGRATED_REVID=117927312
* Register the primary handler with the event busGravatar Klaus Aehlig2016-03-23
| | | | | | | | | | | | If bazel is invoked with --color=no, two event handlers are in use simultaneously, using different output streams. For the event bus, register the one that is aware of ansi control characters, as this is the one that will also pass through stdout/stderr events. -- Change-Id: I83f1164b9057cebf9345c315f42c8d54a88d3888 Reviewed-on: https://bazel-review.googlesource.com/#/c/3121 MOS_MIGRATED_REVID=117922780
* Do not put both pic and non-pic header modules into the inputs of a compile ↵Gravatar Manuel Klimek2016-03-23
| | | | | | | action. -- MOS_MIGRATED_REVID=117915931
* Move TimestampGranularityMonitor to CommandEnvironment.Gravatar Ulf Adams2016-03-23
| | | | | | | | This is one of the last pieces of state in BlazeRuntime that isn't safe to share across command invocations. -- MOS_MIGRATED_REVID=117910631
* Fix debugging info when crashing with missing SkyFunction.Gravatar Janak Ramakrishnan2016-03-23
| | | | | -- MOS_MIGRATED_REVID=117894693
* Record dependencies for exempt annotation processorsGravatar Liam Miller-Cushon2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | Certain annotation processors that generate references to transitive dependencies are exempt from Strict Java Deps. Dagger ensures that all references to transitive types are reachable via a chain of direct dependencies specified in @Component interfaces. We don't record dependencies inside dagger-generated code, since Dagger is already enforcing strict dependencies. By not recording the deps we allow dependency management tools to remove depednencies that are only needed transitively by dagger. This approach doesn't work in general, since processors may generate references to transitive types that are not reachable via a chain of direct deps, and which may be subject to pruning by the reduced classpath optimization. This change causes strict deps to record dependencies (but not emit strict deps errors) inside code generated by exempt annotation processors other than Dagger. -- MOS_MIGRATED_REVID=117882599
* Implement default_{tvos,watchos,macosx}_sdk_version attributes for the ↵Gravatar Chris Parsons2016-03-23
| | | | | | | | | xcode_version rule. --{tvos,watchos,macosx}_sdk_version flags may be used to override defaults specified in these attributes. -- MOS_MIGRATED_REVID=117869146
* Add comments to analysis-phase objects so future developers won't ↵Gravatar Janak Ramakrishnan2016-03-23
| | | | | | | accidentally keep references to them after the analysis phase. -- MOS_MIGRATED_REVID=117855145
* Introduce ReleaseBundling class to contain all application specific ↵Gravatar Googler2016-03-23
| | | | | | | information required for creating a release bundle. -- MOS_MIGRATED_REVID=117843546
* ios_device's attribute ios_version defaults to the configuration iOS SDK versionGravatar Chris Parsons2016-03-23
| | | | | -- MOS_MIGRATED_REVID=117841917
* Make client-provided options an rc sourceGravatar Klaus Aehlig2016-03-23
| | | | | | | | | | | | | | | The client provides information about whether the terminal is a tty, and which width the output should be formatted for. Passing this information as explicit command-line arguments has the disadvantage that it overrides any setting in configuration files. While usually there is no one-size-fits-all value for terminal width, it doesn't make sense either to have an option where the user cannot set a default. Fix this by providing the client options as least imported rc-source. -- Change-Id: Iad9eddbb3ff1777f4b423053e21aeac9fd7c466f Reviewed-on: https://bazel-review.googlesource.com/#/c/3092 MOS_MIGRATED_REVID=117833645
* --Gravatar Chris Parsons2016-03-23
| | | | MOS_MIGRATED_REVID=117827486
* Introduce the linkopts attribute to the objc family of rules.Gravatar Cal Peyser2016-03-23
| | | | | -- MOS_MIGRATED_REVID=117821922
* Make specific options win over common onesGravatar Klaus Aehlig2016-03-23
| | | | | | | | | | | When specifying which command names to parse options for, given the command annotation, ensure that "common" comes first, so that it can be overridden by more specific options. -- Change-Id: I20cd90c098e993580c32297d1e36c8a6c939873a Reviewed-on: https://bazel-review.googlesource.com/#/c/3091 MOS_MIGRATED_REVID=117821257
* Revamp the client/server communication protocol so that it is portable to ↵Gravatar Lukacs Berki2016-03-22
| | | | | | | | | Windows. Progress towards #930. -- MOS_MIGRATED_REVID=117799006
* Don't keep implicit reference to ProtoCompileAction in anonymous inner ↵Gravatar Janak Ramakrishnan2016-03-22
| | | | | | | CustomMultiArgv class. -- MOS_MIGRATED_REVID=117761242
* Filter Well Known Type protos from being generated by the objc_proto_library ↵Gravatar Googler2016-03-22
| | | | | | | rule, as these protos have already been generated and linked in the released static library. -- MOS_MIGRATED_REVID=117747156
* Transform the getBatch result in SkyFunctionEnvironment instead of copying ↵Gravatar Janak Ramakrishnan2016-03-22
| | | | | | | it. The copying showed up as a source of memory spikiness. -- MOS_MIGRATED_REVID=117741939
* Add -forceprocessing to cause proguard to skip the step where it checks if ↵Gravatar Googler2016-03-22
| | | | | | | | | the outputs are up-to date as blaze does this for us. RELNOTES: ProGuard relies on bazel to check to see if the inputs have changed. -- MOS_MIGRATED_REVID=117736709
* Allow passing custom entitlements for iOS signing.Gravatar Peter Schmitt2016-03-22
| | | | | | | | RELNOTES[NEW]: --extra_entitlements allows passing additional entitlements for iOS signing -- MOS_MIGRATED_REVID=117735783
* Deflake skylark_repository_testGravatar Damien Martin-Guillerez2016-03-21
| | | | | | | | | Use -p when mkdir, create the server directory in the temporary directory and ensure we delete the server directory on the tear_down. -- MOS_MIGRATED_REVID=117728350
* Fix #1063: When a temporary file was created in /etc while we were globbing ↵Gravatar Philipp Wollermann2016-03-21
| | | | | | | the list of files to mount, but was deleted by the time the namespace-sandbox actually mounted the files, it would crash with a "file not found" error. -- MOS_MIGRATED_REVID=117726198
* Make labels in .bzl files in remote repos resolve relative to their repoGravatar Kristina Chodorow2016-03-21
| | | | | | | | | | | | | | | | | | For example, if you have a BUILD file that does: load('@foo//bar:baz.bzl', 'my_rule') my_rule(...) If baz.bzl uses Label('//whatever'), this change makes //whatever resolve to @foo//whatever. Previous to this change, it would be resolved to the repository the BUILD file using my_rule was in. RELNOTES[INC]: Labels in .bzl files in remote repositories will be resolved relative to their repository (instead of the repository the Skylark rule is used in). -- MOS_MIGRATED_REVID=117720181
* Global cleanup change.Gravatar Googler2016-03-21
| | | | | -- MOS_MIGRATED_REVID=117717104
* Move a field around to clarify that it's not part of the workspace state.Gravatar Ulf Adams2016-03-21
| | | | | -- MOS_MIGRATED_REVID=117715554
* Don't keep implicit reference to XcodeSupport during the execution phase. ↵Gravatar Janak Ramakrishnan2016-03-21
| | | | | | | Saves memory and keeps analysis-phase objects from bleeding into execution phase. -- MOS_MIGRATED_REVID=117709746
* Add a missing space in external_integration_testGravatar Damien Martin-Guillerez2016-03-21
| | | | | | | | | Without that spaces, we were getting: src/test/shell/bazel/external_integration_test: line 540: [: missing `]' in the test log. -- MOS_MIGRATED_REVID=117707546
* Add repository_ctx.download and repository_ctx.extract function.Gravatar Yue Gan2016-03-21
| | | | | | | | | Fixes #1041 RELNOTES: Add repository_ctx.download and repository_ctx.download_and_extract function. -- MOS_MIGRATED_REVID=117698142
* cpp: fix the path to BlazeServerStartupOptions file in a commentGravatar Thiago Farina2016-03-21
| | | | | | | | | | While at it, fix a "the the" typo in another comment at option_processor.cc. -- Change-Id: I0ce6b320f3d3a50d53c8671d1b9dc80d5a2ace06 Reviewed-on: https://bazel-review.googlesource.com/#/c/3100/1 MOS_MIGRATED_REVID=117693263