aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Add shell example to bazel. Includes sh_binary, sh_library and sh_test.Gravatar Dave MacLachlan2016-02-04
| | | | | -- MOS_MIGRATED_REVID=113789897
* Propagate BAZEL_SH from launcher to subprocess on Windows.Gravatar Dmitry Lomov2016-02-03
| | | | | | | | | | | This is the only variable we need to propagate to bootstrap Bazel. We might need to have a more principled approach for this, e.g. for MakeVariables. Needed for #276. -- MOS_MIGRATED_REVID=113777759
* Trim sha1 in generate_workspace.Gravatar Rohit Saboo2016-02-03
| | | | | | | | | | | | | | | | | | Sometimes, sha1 values in the generated maven rules contains newlines as shown in the example below, which breaks the build. maven_jar( name = "com_google_code_findbugs_jsr305", artifact = "com.google.code.findbugs:jsr305:1.3.9", sha1 = "40719ea6961c0cb6afaeb6a921eaa1f6afd4cfdf ", ) This change fixes that. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/843 MOS_MIGRATED_REVID=113776575
* Make xctest extension for test bundles that have xctest=true defined. (It ↵Gravatar Dave MacLachlan2016-02-03
| | | | | | | used to be .app) -- MOS_MIGRATED_REVID=113775781
* Support outputting UNUSED_RUNFILES_LOG to a file.Gravatar Googler2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113774246
* Do not compile source files mentioned in 'hdrs'.Gravatar Manuel Klimek2016-02-03
| | | | | | | | | | | | Currently for a library: cc_library(name='a', hdrs=['a.cc']) we compile a.cc into a.pic.o and link that into its reverse dependencies. With this change, a .cc file in hdrs will be treated like a .inc file or a file in textual_hd... -- MOS_MIGRATED_REVID=113773418
* Include bootclasspaths in java extra action infoGravatar Liam Miller-Cushon2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113772261
* Do not depend on libunix.so on Windows.Gravatar Dmitry Lomov2016-02-03
| | | | | | | Needed for #276. -- MOS_MIGRATED_REVID=113766886
* Add unit-er tests for genruleGravatar Kristina Chodorow2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113765603
* Quote spaces and quotes in Windows command line.Gravatar Dmitry Lomov2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113764325
* Fix NPE in vfs profile outputGravatar Kristina Chodorow2016-02-03
| | | | | | | | | Also removed some unused code while I was here. Fixes https://github.com/bazelbuild/bazel/issues/726. -- MOS_MIGRATED_REVID=113758464
* Support $(location) expansion in java_binary.jvm_flagsGravatar Liam Miller-Cushon2016-02-03
| | | | | | | | This makes it simpler to use jvm_flags to configure java agents, or set custom bootclasspaths. -- MOS_MIGRATED_REVID=113754498
* Replace occurrences of Constants.TOOLS_REPOSITORY in places where it can be ↵Gravatar Luis Fernando Pino Duque2016-02-03
| | | | | | | | | referenced via the rule class provider (using the RuleDefinitionEnvironment). This is the second phase of the removal of the TOOLS_REPOSITORY constants. -- MOS_MIGRATED_REVID=113734334
* Make The Build Faster: Drop the describeStrategy() and strategyLocality() ↵Gravatar Philipp Wollermann2016-02-03
| | | | | | | | | methods, as we can simply pass an ActionStatusMessage to the EventBus instead. All SpawnActionContexts now send an appropriate message when they execute a Spawn. This also gets rid of the idiom that an Action knows which strategy will be used to execute it - this decision and knowledge belongs to the executor, not the action. -- MOS_MIGRATED_REVID=113731846
* Remove the MAIN_RULE_CLASS_PROVIDER constant and turn it into a command line ↵Gravatar Luis Fernando Pino Duque2016-02-03
| | | | | | | parameter. -- MOS_MIGRATED_REVID=113730588
* Global cleanup change.Gravatar Googler2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113718154
* Correctly flag loading errors in the interleaved case.Gravatar Ulf Adams2016-02-03
| | | | | | | | | | | | | | | In the interleaved case, loading errors can now also be discovered during the analysis phase. Add a boolean flag to the SkyframeAnalysisResult to indicate that such an error happened, and pass it through in BuildView. Also refactor BuildView to simplify the code a bit - simply pass the SkyframeAnalysisResult to the createResult method. There is already an integration test for this - I'm adding a faster unit test in BuildViewTest, as this is part of the BuildView contract. -- MOS_MIGRATED_REVID=113716870
* Expose CcLinkParams.add(CcLinkParamsStore), to allow callers to merge ↵Gravatar Carmi Grushko2016-02-03
| | | | | | | several params-store into one. -- MOS_MIGRATED_REVID=113708003
* Code cleanup.Gravatar Alex Humesky2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113692613
* Building legal maven_jar names in generate_workspace.Gravatar Rohit Saboo2016-02-03
| | | | | | | | | generate_workspace was previously leaving '.'s and '-'s in the generated maven_jar names. This change replaces those characters with '_'s. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/840 MOS_MIGRATED_REVID=113684404
* Typo fixGravatar Shreya Bhattarai2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113681840
* Plist generated for automatic entires is in GnuStep format.Gravatar Cal Peyser2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113665305
* Introduce a special CPU for Windows and add msys compiler toolchain.Gravatar Dmitry Lomov2016-02-03
| | | | | | | | We might revisit what the default toolchain for Windows should be, but this CL uses msys to simplify bootstrapping. -- MOS_MIGRATED_REVID=113665255
* Use WindowsFileSystem for bootstrapping on Windows as well.Gravatar Dmitry Lomov2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113664915
* Fix genfiles' @D with multiple outputsGravatar Kristina Chodorow2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113664066
* Adds the --no-version-vectors as a default flag for aapt processing.Gravatar Googler2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113663618
* Include .dwp file in the runfiles for cc_test when building with Fission.Gravatar Googler2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113660258
* Add back documentation and better error message for workspace namesGravatar Kristina Chodorow2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113658912
* Java readability review.Gravatar Andrew Pellegrini2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113651164
* Export some more tests as open source.Gravatar Ulf Adams2016-02-03
| | | | | -- MOS_MIGRATED_REVID=113649677
* Handle not having any dependent packages correctly.Gravatar Googler2016-02-02
| | | | | -- MOS_MIGRATED_REVID=113648546
* Remove the AndroidBuilder from the processResources call. This allows use moreGravatar Googler2016-02-02
| | | | | | | freedom in generating the command line for aapt. -- MOS_MIGRATED_REVID=113614675
* Move the bad STL loading phase test to CcCommonConfiguredTargetTest.Gravatar Ulf Adams2016-02-02
| | | | | -- MOS_MIGRATED_REVID=113608435
* Trim the BuildOptions input of ConfigurationFragment.key to only thoseGravatar Greg Estren2016-02-02
| | | | | | | | | | | | | | | | | | | | | | | | | | options actually needed by the fragment. This protects against, e.g., unnecessarily duplicating CppConfiguration instances when only Java flags change. This is a recommit of ca1b21ac6d8a58041db822725b42de151b163dee which was rolled back because it broke LIPO. This change is particularly important for dynamic configurations, which may mix and match fragments arbitrarily throughout a build. This not only has performance implications, but also correctness implications: code that expects two configured targets to have the same fragment (value) shouldn't break just because the second CT's configuration is a trimmed version of the first's. The original change breaks FDO/LIPO because CppConfiguration can't be shared across configurations. That's because it mutates state when prepareHook() is called, and each configuration calls prepareHook. We should ultimately solve this by refactoring the FDO/LIPO implementation but don't want to block dynamic configuration progress on that. So this change only enables trimming for dynamic configurations. -- MOS_MIGRATED_REVID=113570250
* Rollback of commit 16444baf21780c4bff00b9736b268e97157e6bc2.Gravatar Carmi Grushko2016-02-02
| | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks targets. See [] Manually verified this unbreaks the target mentioned in the bug. *** Original change description *** Do not compile source files mentioned in 'hdrs'. Currently for a library: cc_library(name='a', hdrs=['a.cc']) we compile a.cc into a.pic.o and link that into its reverse dependencies. With this change, a .cc file in hdrs will be treated like a .inc file or a file in textual_hdrs. -- MOS_MIGRATED_REVID=113568452
* Rollback of commit 4fdd66db55d36c923b1e9fa30a158e1596408670.Gravatar Michajlo Matijkiw2016-02-02
| | | | | | | | | *** Reason for rollback *** The change this relies on is to be rolled back. -- MOS_MIGRATED_REVID=113564031
* RELNOTES[INC]: The startup flag --blaze_cpu is removed,Gravatar Janak Ramakrishnan2016-02-02
| | | | | -- MOS_MIGRATED_REVID=113556731
* Move tests from SkyframeLoadingAndAnalysisTest to LoadingPhaseRunnerTest.Gravatar Ulf Adams2016-02-02
| | | | | | | | This exposes an issue with the new Skyframe-based implementation, which is fixed here as well. -- MOS_MIGRATED_REVID=113556169
* Rollback of commit f941d56acfad5f8c819c81b494f806ea74ea7fd8.Gravatar Carmi Grushko2016-02-02
| | | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks many targets, see [] *** Original change description *** Reinstate mutable SkylarkDict Add <String, Object> annotation to optionMap invocation in SkylarkAttr, to make JDK 1.7 happy. Give the visible name "aspect" to class SkylarkAspect. -- MOS_MIGRATED_REVID=113543873
* Fix "put the colon here" message for non-default repositories.Gravatar Brian Silverman2016-02-02
| | | | | | | -- Change-Id: I86b90ff6eda6a16c2efeb8fffca301e2594c254e Reviewed-on: https://bazel-review.googlesource.com/#/c/2784/ MOS_MIGRATED_REVID=113529297
* In attr_aspects, make ``_attr`` mean both implicit and late-bound attributes.Gravatar Dmitry Lomov2016-02-02
| | | | | -- MOS_MIGRATED_REVID=113527098
* Bug: Skylark performs action consistency check even if actions are dropped.Gravatar Ulf Adams2016-02-02
| | | | | -- MOS_MIGRATED_REVID=113524029
* Add a test that asserts aspects propagating along implicit deps.Gravatar Dmitry Lomov2016-02-02
| | | | | | | Fix a minor bug in the process. -- MOS_MIGRATED_REVID=113519574
* Implement proper error handling for interleaved loading and analysis.Gravatar Ulf Adams2016-02-02
| | | | | | | | Add test coverage by re-running BuildViewTest with the new Skyframe loading phase runner. -- MOS_MIGRATED_REVID=113517509
* Remove the ALLOW_CC_INCLUDE_SCANNING constant since it is not being used ↵Gravatar Luis Fernando Pino Duque2016-02-02
| | | | | | | anymore. -- MOS_MIGRATED_REVID=113512761
* Use labels in load statementsGravatar Damien Martin-Guillerez2016-02-02
| | | | | | | | | | | | This will fix some issue with loading skylark rules from @bazel_tools. Tested with ./compile.sh all and also a project that use pkg_tar from @bazel_tools (which is broken at HEAD). -- Change-Id: Iffbb7134ef5fee497890c4d01b85084973d45ad0 Reviewed-on: https://bazel-review.googlesource.com/2800 MOS_MIGRATED_REVID=113508661
* Report source position information for Error Prone crashesGravatar Liam Miller-Cushon2016-02-01
| | | | | -- MOS_MIGRATED_REVID=113492679
* Fix wrapping of GlobList into SkylarkListGravatar Francois-Rene Rideau2016-02-01
| | | | | | | | | | | Make sure to wrap a GlobList into a MutableList in convertToSkylark. Indeed, GlobList is somehow a SkylarkValue, but is not actually acceptable as a Skylark value. Until this is cleaned up, tweak convertToSkylark. Also, robustify ClassObject by eagerly calling convertToSkylark on values. -- MOS_MIGRATED_REVID=113421790
* Allow AutoProfiler to not log if below a caller-specified threshold, and set ↵Gravatar Janak Ramakrishnan2016-02-01
| | | | | | | the threshold to 100 ms for two common local actions to avoid spamming the INFO log too much. I would be happy to set the threshold even higher. -- MOS_MIGRATED_REVID=113413914
* Contractually document BuildConfiguration.Fragment as immutable and strengthenGravatar Greg Estren2016-02-01
| | | | | | | | | | | | | | | the immutability interfaces of existing implementations. Eventually we want all implementations to comply, but right now CppConfiguration is a glaring exception due to FDO/LIPO support. We don't want more exceptions to arise. This is prep work for pre-trimming ConfigurationFragment.key's BuildOptions input to just the options needed by the fragment. That implies fragments can be shared across configurations, so that needs to be safe. -- MOS_MIGRATED_REVID=113408041