aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Make bazel test work on WindowsGravatar Yun Peng2016-06-15
| | | | | | | | | | bazel test now works for java native example tests, but most of Bazel's java_test still fail on Windows due to other reasons. -- Change-Id: Ie4ab6570b294815b9e06dd9bbd0cb7a48eb6ed11 Reviewed-on: https://bazel-review.googlesource.com/#/c/3810 MOS_MIGRATED_REVID=124932604
* Log how long Skyframe cycle checking takes.Gravatar Eric Fellheimer2016-06-15
| | | | | -- MOS_MIGRATED_REVID=124874002
* When building ObjectiveC++, pass the flag -std=c++11 in addition to ↵Gravatar Googler2016-06-15
| | | | | | | | | -stdlib=libc++. RELNOTES: When building ObjectiveC++, pass the flag -std=c++11 in addition to -stdlib=libc++. -- MOS_MIGRATED_REVID=124867581
* Make timeout test a bit more robustGravatar Kristina Chodorow2016-06-15
| | | | | | | | | | It's still not a great test, but hopefully a few second variation won't make it flake. Fixes #1283. -- MOS_MIGRATED_REVID=124866329
* Tolerate null variable values in Profiler. This can happen when the build ↵Gravatar Janak Ramakrishnan2016-06-15
| | | | | | | finishes, which calls #clear (via #stop via BlazeRuntime#afterCommand), concurrently with an OOM or other asynchronous crash which invokes CommandCompleteEvent subscribers, which may try to write profiling data. -- MOS_MIGRATED_REVID=124853610
* Improves flag handling.Gravatar Sergio Campama2016-06-15
| | | | | -- MOS_MIGRATED_REVID=124848977
* Let Java header compilation run locally when --experimental_persistent_javac ↵Gravatar Philipp Wollermann2016-06-15
| | | | | | | is used (otherwise Javac might run locally, but header compilation might use remote execution, which kills performance due to copying files back and forth). -- MOS_MIGRATED_REVID=124847424
* Adds deprecation warning for users of output_cpp attribute.Gravatar Sergio Campama2016-06-15
| | | | | -- MOS_MIGRATED_REVID=124843113
* Fix action cache save save time reporting: We were giving the time in nanos ↵Gravatar Eric Fellheimer2016-06-15
| | | | | | | and saying it was in ms. -- MOS_MIGRATED_REVID=124841976
* Remove ability of AbstractQueueVisitor to continue after an interrupt. That ↵Gravatar Janak Ramakrishnan2016-06-15
| | | | | | | functionality was only used in tests. -- MOS_MIGRATED_REVID=124841573
* Make experimental UI honor --noshow_progressGravatar Klaus Aehlig2016-06-15
| | | | | | | | | | | | While there is little value in using the experimental UI if no progress output is desired, we still want the experimental UI to serve as a drop-in replacement for the old one, including the ability to not show any progress. -- Change-Id: I54c67a6f432541611da8b4ab7e7f88bb85926391 Reviewed-on: https://bazel-review.googlesource.com/#/c/3803 MOS_MIGRATED_REVID=124833575
* Fix android deps always being exported in skylark aspect.Gravatar Googler2016-06-15
| | | | | -- MOS_MIGRATED_REVID=124832306
* Move libtool-wrapper symlinking logic from xcrunwrapper to libtool script.Gravatar Chris Parsons2016-06-15
| | | | | -- MOS_MIGRATED_REVID=124831722
* Optimize memory use of AttributeContainer:Gravatar Googler2016-06-15
| | | | | | | | | | | | | - Relatively few locations are set relative to the number of attributes. Replace the sparse array with a dense one. - BitSet requires a minimum of two objects (48 bytes in our current JVM), but we set an average of just six bits. Replace it with a list of indices packed into a byte[], shared with the locations array. Also add some assertions to help the next reader. -- MOS_MIGRATED_REVID=124830576
* CppCompileAction learns its tool from an action_config, if present. OSX ↵Gravatar Cal Peyser2016-06-15
| | | | | | | crosstool now points at appropriate clang in its action_configs. -- MOS_MIGRATED_REVID=124830389
* Make persistent action cache work on WindowsGravatar Yun Peng2016-06-15
| | | | | | | | | CompactPersistentActionCache didn't work because it trys to rename a file to an existing file which JavaIoFileSystem doesn't support. Solution is deleting the file before renaming. -- Change-Id: I8d476cd2835c8cddbeed8f556361e0e35d1a2bd4 Reviewed-on: https://bazel-review.googlesource.com/#/c/3802 MOS_MIGRATED_REVID=124828957
* sandbox: Get StandaloneSpawnStrategy from executor instead of instantiating ↵Gravatar Philipp Wollermann2016-06-15
| | | | | | | a private copy. -- MOS_MIGRATED_REVID=124827797
* Use only one list of parameters for SkylarkSignatureGravatar Damien Martin-Guillerez2016-06-14
| | | | | | | | | | | | | Optional and named parameters are now specified using `defaultValue` and `named` (and `positional`). The new structure allow for parameters that are both named and positional (which was forbidden before). This new structure will be used to give the @SkylarkCallable annotation the possibility to provide named and default arguments. It should be a functional no-op for Bazel users. -- MOS_MIGRATED_REVID=124821455
* Remove manual tag for worker_testGravatar Damien Martin-Guillerez2016-06-14
| | | | | | | This test is no longer flaky and it has been run automatically on ci.bazel.io for a long time -- MOS_MIGRATED_REVID=124820520
* Report cycles involving aspects correctly.Gravatar Lukacs Berki2016-06-14
| | | | | | | | | This involved refactoring BuildViewTestCase a bit so that its behavior is closer to that of Bazel with --experimental_interleave_loading_and_analysis. RELNOTES: -- MOS_MIGRATED_REVID=124816624
* Make package-bazel.sh an sh scriptGravatar Klaus Aehlig2016-06-14
| | | | | | | | | | | Assuming that some POSIX-shell be installed as /bin/sh is more portable than assuming bash being installed as /bin/bash. Also, not using bash-extensions is generally more portable. -- Change-Id: I76877bbcd848d78aaa04bab22a38890a02f6b814 Reviewed-on: https://bazel-review.googlesource.com/#/c/3800 MOS_MIGRATED_REVID=124815102
* Minor refactoring of C++ compilation.Gravatar Lukacs Berki2016-06-14
| | | | | -- MOS_MIGRATED_REVID=124815043
* Allow a config_setting() to match against the default grte_top.Gravatar Googler2016-06-14
| | | | | -- MOS_MIGRATED_REVID=124792198
* Rollback of commit bbab724f9c3600952a65a90febf50e1118568a96.Gravatar Peter Schmitt2016-06-14
| | | | | | | | | | | | | | *** Reason for rollback *** Breaks linking for all objc targets. *** Original change description *** Wrap inputs to ObjcLink (via clang) invocations in an objlist, and pass the args as a -filelist arg. This prevents certain many-arg actions from making clang unhappy. -- MOS_MIGRATED_REVID=124781451
* --Gravatar Carmi Grushko2016-06-14
| | | | MOS_MIGRATED_REVID=124763523
* 1. Create the TreeArtifact directory structure before expanding ActionTemplates.Gravatar Rumou Duan2016-06-14
| | | | | | | | 2. In PopulateTreeArtifactAction, create the parent directories for TreeFileArtifacts before executing the spawn. 3. Allow empty tree artifacts in CustomCommandLine and PopulateTreeArtifact. -- MOS_MIGRATED_REVID=124759286
* Rollback of commit 5160d196e62bf6f8fa56b32746a01b182729c5c8.Gravatar Googler2016-06-14
| | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Rolling forward with fixed proto call to getMappedStringValue. *** Original change description *** Automated [] rollback of commit 4f854d47888d011354357e965fd3c7bf1d74b95f. *** Reason for rollback *** Breakage: http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/601/ *** Original change description *** Xml processing fixes: * Support for <item name="foo" type="id">7x0000</item> * Adds <eat-comment/> after source attributions to ensure they are not sent to the final binary * Store attributes for arrays to the string translatable=false case -- MOS_MIGRATED_REVID=124748547
* Use the precomputed skykey hash to short circuit equality comparison.Gravatar Shreya Bhattarai2016-06-14
| | | | | -- MOS_MIGRATED_REVID=124747935
* Zip up symlinks as symlinksGravatar Kristina Chodorow2016-06-14
| | | | | | | | | Instead of resolving them to the underlying file. Fixes #1384. -- MOS_MIGRATED_REVID=124746179
* Optimize hotspot in DependencySet.process().Gravatar Googler2016-06-14
| | | | | -- MOS_MIGRATED_REVID=124744073
* Add --[no]instrument_test_targets option to BlazeGravatar Googler2016-06-14
| | | | | | | | | | | | | | | When true (the default), test rules included by --instrumentation_filter are instrumented. When false, test rules are excluded from instrumentation (whether or not their names would be matched by --instrumentation_filter). This option provides a superior way to exclude test rules from instrumentation, compared to setting --instrumentation_filter exclusions based on test rule naming conventions. Naming conventions vary from language to language and are not always followed. Blaze already has enforced semantics for test targets (test rule build function names _must_ end in "_test", see TargetUtils.isTestRule). In general, when either option is available, it's better to rely on enforced semantics than unenforced conventions. Note that this default preserves present behavior. In the future, I think it would make sense to: * Change the default value of --instrument_test_targets to false. * Change the default value of --instrumentation_filter to an empty string (match everything). RELNOTES: Add --instrument_test_targets option. -- MOS_MIGRATED_REVID=124732226
* Rollback of commit 4f854d47888d011354357e965fd3c7bf1d74b95f.Gravatar Yue Gan2016-06-13
| | | | | | | | | | | | | | | | *** Reason for rollback *** Breakage: http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/601/ *** Original change description *** Xml processing fixes: * Support for <item name="foo" type="id">7x0000</item> * Adds <eat-comment/> after source attributions to ensure they are not sent to the final binary * Store attributes for arrays to the string translatable=false case -- MOS_MIGRATED_REVID=124708349
* Do not try to install a default handler for SIGSTOP and SIGKILL.Gravatar Philipp Wollermann2016-06-13
| | | | | | | Fixes #1330. -- MOS_MIGRATED_REVID=124705354
* Remove ConfigurationsCreatedEvent.Gravatar Lukacs Berki2016-06-13
| | | | | | | We'll (hopefully) soon have multiple target and host configurations and we won't be able to say what they are at the beginning of the build. -- MOS_MIGRATED_REVID=124701606
* Xml processing fixes:Gravatar Googler2016-06-13
| | | | | | | | | * Support for <item name="foo" type="id">7x0000</item> * Adds <eat-comment/> after source attributions to ensure they are not sent to the final binary * Store attributes for arrays to the string translatable=false case -- MOS_MIGRATED_REVID=124684322
* fix crash that can happen when using incremental dexing *and* ↵Gravatar Googler2016-06-13
| | | | | | | --android_crosstool_top due to a busted checkArgument condition -- MOS_MIGRATED_REVID=124616411
* Always use android_compiler if android_crosstool_top is set.Gravatar Googler2016-06-13
| | | | | | | | | | | Previously, android_compiler would only be used if fat_apk_cpu and android_crosstool_top were both set. This led to confusing errors about invalid toolchains. If --android_crosstool_top is set but --fat_apk_cpu is not, then --cpu will become --android_cpu during the transition. (android_cpu defaults to armeabi if it is not set.) RELNOTES: If --android_crosstool_top is set, native code compiled for android will always use --android_compiler and not --compiler in choosing the crosstool toolchain, and will use --android_cpu if --fat_apk_cpu is not set. -- MOS_MIGRATED_REVID=124611770
* Remove predefined Python variable "generic_cpu"Gravatar Greg Estren2016-06-13
| | | | | | | RELNOTES[INC]: Removed predefined Python variable "generic_cpu". -- MOS_MIGRATED_REVID=124611269
* Adds a step before creating the resource apk (ap_) to swap out the applicationGravatar Alex Humesky2016-06-13
| | | | | | | tag's name attribute to the Instant Run application class. -- MOS_MIGRATED_REVID=124606107
* Add addMainDexListActionArguments to AndroidSemantics.Gravatar Googler2016-06-13
| | | | | -- MOS_MIGRATED_REVID=124602618
* Cache hash codes for filtering policies.Gravatar Eric Fellheimer2016-06-13
| | | | | -- MOS_MIGRATED_REVID=124600066
* Use params file for IDE aspect manifest action.Gravatar Googler2016-06-13
| | | | | -- MOS_MIGRATED_REVID=124594694
* Support absolute paths for zip filesGravatar Kristina Chodorow2016-06-13
| | | | | | | | This resolves them relative to the repository root directory (the same way .tar.gz paths do). -- MOS_MIGRATED_REVID=124573519
* Introduce TestConstants#PACKAGE_FACTORY_FACTORY_FOR_TESTING for the sake of ↵Gravatar Nathan Harmata2016-06-10
| | | | | | | making it easier to create PackageFactory instances in unit tests. -- MOS_MIGRATED_REVID=124566862
* Have SkylarkAttr expose whether a skylark rule class attribute type is ↵Gravatar Nathan Harmata2016-06-10
| | | | | | | configurable or not. -- MOS_MIGRATED_REVID=124565334
* Rollback of commit b19d632b5ad832ec829980a8bf71b18bbf277143.Gravatar Yun Peng2016-06-10
| | | | | | | *** Reason for rollback *** -- MOS_MIGRATED_REVID=124556360
* Use the cc_toolchain rule instead of an event bus-based hack to signal an ↵Gravatar Lukacs Berki2016-06-10
| | | | | | | | | error when the LIPO context is not a cc_binary. RELNOTES[NEW]: LIPO context (--lipo_context) can now also be a cc_test (in addition to cc_binary) -- MOS_MIGRATED_REVID=124555465
* Rollback of commit 0150e7fa5963fa569d9795c02fd3afe3c52ff30c.Gravatar Yun Peng2016-06-10
| | | | | | | *** Reason for rollback *** -- MOS_MIGRATED_REVID=124553522
* Rollback of commit 828a9e2f167db8c4debca6e00ee37dd030849c2f.Gravatar Yun Peng2016-06-10
| | | | | | | *** Reason for rollback *** -- MOS_MIGRATED_REVID=124549894
* Rollback of commit cc993c26047f8d459711ed211338570ce7c1576c.Gravatar Yun Peng2016-06-10
| | | | | | | *** Reason for rollback *** -- MOS_MIGRATED_REVID=124548575