aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Enable simple compilation of Python artifacts for py_binary and py_library.Gravatar Googler2015-07-27
| | | | | -- MOS_MIGRATED_REVID=99163140
* Make default values of attributes point to the main repository.Gravatar Lukacs Berki2015-07-27
| | | | | | | Default values of attributes (e.g. "//tools/cpp:malloc" when an attribute declaration says .name("malloc").value("//tools/cpp:malloc")) are now considered as a label inside the main repository and not inside the external repository. This is consistent with how we treat implicit/default attributes and is useful because these are usually tool dependencies. -- MOS_MIGRATED_REVID=99160392
* Fix sha1 for guava exampleGravatar Carl Mastrangelo2015-07-27
| | | | | | | | The hash in the field is the sha256 sum for the guava jar, rather than the sha1 sum. -- Reviewed-on: https://github.com/google/bazel/pull/320 MOS_MIGRATED_REVID=99045440
* When builds fail because select statements don't match, include in the errorGravatar Greg Estren2015-07-27
| | | | | | | | | | | | | | | | | | which conditions were checked. In other words, go from: ERROR: $WORKSPACE_ROOT/package/BUILD:69:12: Configurable attribute "srcs" doesn't match this configuration (would a default condition help?). to: ERROR: $WORKSPACE_ROOT/package/BUILD:69:12: Configurable attribute "srcs" doesn't match this configuration (would a default condition help?). Conditions checked: //foo:condition1 //foo:condition2 -- MOS_MIGRATED_REVID=99044040
* Update doc for the allowed C++ source file extensions.Gravatar Thiago Farina2015-07-27
| | | | | | | | | | After 77ac48e2d0874d152c29b597113053f2629b3bc3, it is possible to list C++ source files in srcs list with .c++ extension. -- Change-Id: I96a5d5a051967dccdf497c4aca4d1d3b1b03bd52 Reviewed-on: https://bazel-review.googlesource.com/#/c/1720/ MOS_MIGRATED_REVID=99039539
* SkylarkAttr: Introduce constants for attribute namesGravatar Laurent Le Brun2015-07-27
| | | | | -- MOS_MIGRATED_REVID=99036450
* Reformat SkylarkAttr file.Gravatar Laurent Le Brun2015-07-27
| | | | | -- MOS_MIGRATED_REVID=99032618
* Add attr.int_list to Skylark rulesGravatar Laurent Le Brun2015-07-27
| | | | | | | Also, remove cfg to non-label attributes. -- MOS_MIGRATED_REVID=99031167
* Skylark: Remove flags in attributesGravatar Laurent Le Brun2015-07-27
| | | | | -- MOS_MIGRATED_REVID=99025960
* Refactoring: Replaced redundant strings.Gravatar Florian Weikert2015-07-27
| | | | | -- MOS_MIGRATED_REVID=99024886
* Fix some C++ compiler warnings to comply with -Wall.Gravatar Ulf Adams2015-07-27
| | | | | | | | | Some progress towards #311. -- Change-Id: I9276519d4a97d358b7c4f4e34a861522d75dd495 Reviewed-on: https://bazel-review.googlesource.com/#/c/1710 MOS_MIGRATED_REVID=99019961
* Remove implicit .a and .so outputs from Bazel.Gravatar Ulf Adams2015-07-27
| | | | | | | | | Change CcLibrary to work both with and without declared outputs. This fixed #61 - header-only libraries now compile on MacOS. -- MOS_MIGRATED_REVID=99007746
* Fixing python argument passingGravatar Damien Martin-Guillerez2015-07-27
| | | | | | | | The missing quotes were splitting arguments containing spaces. Discovered while testing last version of the docker skylark rules. -- MOS_MIGRATED_REVID=99006493
* For objc_proto_library, use root relative path of input protos to determine ↵Gravatar Chris Parsons2015-07-27
| | | | | | | | | output location instead of exec path. Prior to this fix, protos that were generated (and thus within genfiles as opposed to bin) would have their objc proto library output to the wrong location -- MOS_MIGRATED_REVID=98940823
* Add integration tests for the Objective-C example in Bazel.Gravatar Michael Thvedt2015-07-27
| | | | | -- MOS_MIGRATED_REVID=98938104
* Skylark: load() allows the loading of symbols via an alias.Gravatar Florian Weikert2015-07-27
| | | | | | | E.g. load("/foo/bla", my_rule = "old_name") will introduce the symbol "my_rule" as an alias for "old_name". -- MOS_MIGRATED_REVID=98933635
* Fix OS detection for Windows.Gravatar Googler2015-07-23
| | | | | -- MOS_MIGRATED_REVID=98927867
* Change the default for CcLibraryHelper.emitLinkActionsIfEmpty to false.Gravatar Ulf Adams2015-07-23
| | | | | | | | | | | | | | | This is renamed from the previous name emitCompileActionsIfEmpty, which was a misnomer, because it didn't affect compile actions at all. Update the callers to no longer call the method if not necessary, which leaves only CcLibrary. CcBinary doesn't hit the link action code path, as it sets the link type to either DYNAMIC_LIBRARY or EXECUTABLE. This is in preparation for removing the implicit outputs from cc_library, which should allow building header-only libraries on MacOS. -- MOS_MIGRATED_REVID=98927221
* Use SafeImplicitOutputFunctions for all except the skylark ones.Gravatar Ulf Adams2015-07-23
| | | | | -- MOS_MIGRATED_REVID=98926819
* Add #include <sys/socket.h> to blaze_util_mingw.ccGravatar Googler2015-07-23
| | | | | -- MOS_MIGRATED_REVID=98924654
* Use custom util instead of std::to_string.Gravatar Googler2015-07-23
| | | | | | | std::to_string is not avcaliable on mingw. -- MOS_MIGRATED_REVID=98923935
* Renamed Ident to Identifier, added some helper methods and refactored two ↵Gravatar Florian Weikert2015-07-23
| | | | | | | methods. -- MOS_MIGRATED_REVID=98922811
* Add a BUILD file to src/main/cpp/util.Gravatar Ulf Adams2015-07-23
| | | | | -- MOS_MIGRATED_REVID=98918607
* Remove another method from FoundationTestCase; use a static import instead.Gravatar Ulf Adams2015-07-23
| | | | | -- MOS_MIGRATED_REVID=98914983
* Merge JunitTestUtils into MoreAsserts; update all callers.Gravatar Ulf Adams2015-07-23
| | | | | -- MOS_MIGRATED_REVID=98914195
* Rename appearstoHaveNoObjectFiles to appearsToHaveObjectFiles.Gravatar Greg Estren2015-07-23
| | | | | | | | | | | | | | | Following constantly negating logic like "if (!appearsToHaveNoObjectFiles())" and then digging into the method to see a "if (!NO_OBJECT_GENERATING_FILETYPES.matches) { return false; }" feels like a lot more logical contortion than is necessary. -- MOS_MIGRATED_REVID=98859174
* Updates AndroidResourceProcessingAction and AarGeneratorAction to use temp ↵Gravatar Alex Humesky2015-07-23
| | | | | | | directories so that their files don't conflict with subsequent or concurrent invocations of those actions. -- MOS_MIGRATED_REVID=98848810
* Make tar.gz decompressor overwrite old versions of decompressed filesGravatar Kristina Chodorow2015-07-23
| | | | | | | | Otherwise Files.copy will throw an IOException when it tries to overwrite an existing copy. -- MOS_MIGRATED_REVID=98840310
* Rollforward of []: Blaze changes to support LLVM profile feedbackGravatar Googler2015-07-23
| | | | | | | Rollback of commit b961bb931400044ed91e6b0b596f94fe983f9f17. -- MOS_MIGRATED_REVID=98833728
* Make generate_workspace also generate a BUILD file with transitive depsGravatar Kristina Chodorow2015-07-23
| | | | | | | Fixes #89. -- MOS_MIGRATED_REVID=98832811
* Allow C++ files to have the .c++ extensionGravatar Kamal Marhubi2015-07-23
| | | | | | | | | | | | While somewhat uncommon, some build environments and projects use the .c++ extension for C++ source files. These projects should be buildable by an unmodified Bazel with no changes to the project other than adding a BUILD file. -- Change-Id: I71575842f50725e9068e7f6608f6404b293ad45c Reviewed-on: https://bazel-review.googlesource.com/#/c/1670/ MOS_MIGRATED_REVID=98823432
* Add #include <cstdio>.Gravatar Googler2015-07-23
| | | | | | | fprintf and friends live in cstdio per standard, and compilation fails under msys gcc if it is not included. -- MOS_MIGRATED_REVID=98817931
* Make Android appcompat libraries available using external labels.Gravatar Lukacs Berki2015-07-23
| | | | | | | This probably doesn't work with old SDKs and I have only tested with 21.1.1, but I assume the path to these libraries is not changed willy-nilly. -- MOS_MIGRATED_REVID=98816286
* Make the creation of the external package much simpler.Gravatar Lukacs Berki2015-07-23
| | | | | | | A previous change made the loading-time external label resolution unused, thus, now we can do away with a lot of machinery. The only unfortunate side effect is that instead of a nice and clear "No Android SDK found" error message, you'll get a more cryptic "external label //external:android/sdk is unbound" one. I think it's a fair tradeoff. -- MOS_MIGRATED_REVID=98813719
* Support for .s, .S, and .asm files for objc rulesGravatar Chris Parsons2015-07-23
| | | | | -- MOS_MIGRATED_REVID=98772452
* Fix test when TMPDIR/PATH is undefinedGravatar Damien Martin-Guillerez2015-07-21
| | | | | -- MOS_MIGRATED_REVID=98750990
* Add ios_lab_device support in experimental_ios_test.Gravatar Googler2015-07-21
| | | | | -- MOS_MIGRATED_REVID=98750733
* Add http_file() workspace functionGravatar Damien Martin-Guillerez2015-07-21
| | | | | | | | | | | The http_file workspace function is a remote repository that make available inside a Bazel workspace a single file downloaded from the web. -- Change-Id: Ie6e9f5170d938583eda5b985c1f6377043e2b85b Reviewed-on: https://bazel-review.googlesource.com/1620 MOS_MIGRATED_REVID=98739459
* --Gravatar Michajlo Matijkiw2015-07-21
| | | | MOS_MIGRATED_REVID=98737473
* Fixed bug where blaze run with the --color=no flag was still printing out in ↵Gravatar Googler2015-07-21
| | | | | | | color when the build fails. -- MOS_MIGRATED_REVID=98736813
* Fix dashboard buildGravatar Kristina Chodorow2015-07-21
| | | | | -- MOS_MIGRATED_REVID=98733621
* Use Apache Commons for reading tar filesGravatar Kristina Chodorow2015-07-21
| | | | | | | Fixes #305. -- MOS_MIGRATED_REVID=98730375
* Remove some dead code that made Bazel croak on nontrivial Android builds.Gravatar Lukacs Berki2015-07-21
| | | | | -- MOS_MIGRATED_REVID=98730087
* Improved format of Skylark documentation:Gravatar Florian Weikert2015-07-21
| | | | | | | | - Default values of optional method parameters are displayed - Removed leading * in argument list -- MOS_MIGRATED_REVID=98730004
* Set PATH and TMPDIR in genrule / Skylark's actionGravatar Damien Martin-Guillerez2015-07-21
| | | | | | | | PATH and TMPDIR were unset inside genrule / Skylark's action even if use_default_shell_env is set. -- MOS_MIGRATED_REVID=98729334
* Get android example to build on OS XGravatar Steven Dee2015-07-21
| | | | | | -- Reviewed-on: https://github.com/google/bazel/pull/314 MOS_MIGRATED_REVID=98719433
* Rollback of commit b8d1e700841d8aa7186ccbdfb0eba53e12a672d0.Gravatar Lukacs Berki2015-07-21
| | | | | | | | | | | | | | | *** Reason for rollback *** Breaks most of the iOS targets on our continuous build. *** Original change description *** Move actoolzip, momczip and swiftstdlibtoolzip to tools/xcode and convert them to scripts instead of java apps. RELNOTES: actoolzip, momczip and swiftstdlibtoolzip have all been made into bash scripts and have been renamed to actoolwrapper, momcwrapper and swiftstdlibtoolwrapper respectively. The old versions will be deleted in a later change. -- MOS_MIGRATED_REVID=98716081
* Simplify Target Names in generated Xcode projects.Gravatar Googler2015-07-21
| | | | | | | | | | Compare: https://screenshot.googleplex.com/hzmgwbpUeuf RELNOTES:Target names in Xcode projects have been simplified. This may require recreating any schemes that you have defined. -- MOS_MIGRATED_REVID=98664733
* Fix up registerEnvironmentPlistAction for bazel on Mac.Gravatar Googler2015-07-21
| | | | | | | | | When run under bazel on my local mac, the environment variables are cleared. This causes TMPDIR to be "" which causes this script to fail. Create a tempdir and use it instead of depending on TMPDIR. Remove tempdir at end to clean up. Quote all paths just to be extra safe that somebody hasn't named their Xcode something wonky. RELNOTES:NONE -- MOS_MIGRATED_REVID=98640412
* Add --output_filter optionGravatar Kristina Chodorow2015-07-21
| | | | | | | Fixes #309. -- MOS_MIGRATED_REVID=98639996