aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Default behavior of proto_library's strict-proto-deps is now determined by ↵Gravatar Carmi Grushko2016-11-30
| | | | | | | | | the value of a flag. Used to be hardcoded to "yes, check for strict proto deps" because the value of the "strict_proto_deps" attributes was "true". -- MOS_MIGRATED_REVID=140538461
* Fix @CheckReturnValue error in HttpStreamTestGravatar Justine Tunney2016-11-29
| | | | | | | RELNOTES: n/a -- MOS_MIGRATED_REVID=140527066
* Remove private headers from modulemaps generated by objc_ targetsGravatar Dmitry Shevchenko2016-11-29
| | | | | -- MOS_MIGRATED_REVID=140498934
* Support multiple mirror URLs for external reposGravatar Justine Tunney2016-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change improves upon 4c67807964e37cfd55bbcda4c6374fcc480bcecc. - A urls attribute has been added to the native workspace rules, with the exception of maven_jar and git_repository. The Skylark repository API also supports multiple URLs now. - The earlier mirrors in the list are preferred. Failover will happen automatically in parallel. - The first 32kB of data is checked before choosing a mirror in order to evade captive portals. - If one's Internet goes down or a download times out, then the download will resume automatically where it left off, provided the server supports RFC7233 for that particular file. Please note that GitHub does not support this for archive snapshots. Files should always be mirrored to a CDN, e.g. GCS, because they support this. - A semaphore is now used on downloads so only 8 can happen at once. Fixes #1814 Fixes #2131 Fixes #2008 Fixes #1968 Fixes #1717 Fixes #943 Wont fix #1194 Fixes tensorflow/tensorflow#5933 Fixes tensorflow/tensorflow#5924 Fixes tensorflow/tensorflow#5924 Fixes tensorflow/tensorflow#5432 See #1607 See #821 See tensorflow/tensorflow#5080 See tensorflow/tensorflow#5029 See tensorflow/tensorflow#4583 See tensorflow/tensorflow#4058 RELNOTES: A urls attribute has been added to repository rules to support multiple mirror URLs for reliably downloading files. -- MOS_MIGRATED_REVID=140495736
* Let the sandbox ignore ESTALE errors on remounting file systems.Gravatar Philipp Wollermann2016-11-29
| | | | | | | These may happen when a broken NFS mount is present on the user system. Ideally, that mount should just be fixed or removed, but where this is not possible, it's probably safe to ignore it. -- MOS_MIGRATED_REVID=140476478
* Rename android_studio_ide_info proto and members.Gravatar Googler2016-11-29
| | | | | | | | | android_studio_ide_info -> intellij_ide_info RuleIdeInfo -> TargetIdeInfo Drop "rule" from all sub-ide infos (eg. JavaRuleIdeInfo -> JavaIdeInfo) -- MOS_MIGRATED_REVID=140438983
* Make it easier to use protos in Bazel out of the box.Gravatar Carmi Grushko2016-11-29
| | | | | | | | | java_xxx_proto_library rules now look for toolchains in the external repo @com_google_protobuf_xxx//:xxx_toolchain This still requires getting protobuf's GitHub repository to build with Bazel. -- MOS_MIGRATED_REVID=140420903
* Update ParallelSkyQueryUtils to use QuiescingExecutor instead of ForkJoinPoolGravatar Googler2016-11-29
| | | | | | | | | | | for concurrent visitations. During BFS visitation of rdeps and rbuildfiles, it uses a centralized pool (backed by a LinkedBlockingQueue) to store all pending visits, and a periodically running scheduler to schedule tasks for each pending visit. -- MOS_MIGRATED_REVID=140398162
* Added tests for exportGravatar Kristina Chodorow2016-11-29
| | | | | -- MOS_MIGRATED_REVID=140380336
* Remove isSkylark and eval from Environment.Gravatar Laurent Le Brun2016-11-29
| | | | | -- MOS_MIGRATED_REVID=140371603
* Default flag --experimental_j2objc_annotation_processing to true.Gravatar Rumou Duan2016-11-29
| | | | | -- MOS_MIGRATED_REVID=140369825
* Makes the --test_env command line options available in skylark's rule context.Gravatar Sergio Campama2016-11-29
| | | | | -- MOS_MIGRATED_REVID=140369679
* Minor fix to SpawnAction.BuilderGravatar Jon Brandvein2016-11-29
| | | | | | | useDefaultShellEnvironment is exclusive with clientEnvironmentVariables. -- MOS_MIGRATED_REVID=140366745
* Remove legacy intellij_info test support.Gravatar Googler2016-11-29
| | | | | -- MOS_MIGRATED_REVID=140366543
* Mark foundations_test as flakyGravatar Kristina Chodorow2016-11-29
| | | | | -- MOS_MIGRATED_REVID=140361154
* Provide AspectDescriptor to ConfiguredAspect.Gravatar Dmitry Lomov2016-11-29
| | | | | | | | Also clean up the setting of aspect name in ConfiguredAspect and AspectDefintion - it is now obtained from the AspectClass. -- MOS_MIGRATED_REVID=140357052
* Enable run_memleaks ObjcConfiguration in Skylark.Gravatar Sergio Campama2016-11-29
| | | | | -- MOS_MIGRATED_REVID=140356545
* SkylarkCallbackFunction no longer cares about the obsolete 'cfg' parameter.Gravatar Florian Weikert2016-11-29
| | | | | | | | | Depot cleanup is in unknown commit. RELNOTES[INC]: Callback functions in Skylark no longer support the cfg parameter. This is a cleanup and only affects the signatures of callbacks, since the parameter hasn't been set since September 2016. -- MOS_MIGRATED_REVID=140356006
* Remove no longer needed grpc plugin binairesGravatar Klaus Aehlig2016-11-28
| | | | Change-Id: I5da74a545eb4e0a0455ee1014c5a253ae02cd6c7
* Rollback of commit eb06c40d10652af258bee1a0277916007eccc69a.Gravatar Adam Michael2016-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** This change was misidentified as the culprit of a user-error bug. *** Original change description *** Automated [] rollback of commit 2eaa31fade12242b7075c2bbac945aeeedf985e8. *** Reason for rollback *** breaks a couple of iPhone targets in nightly, see [] *** Original change description *** Sign app and frameworks in simulator builds. This has become necessary starting with Xcode 8 although we apply the signature in all cases. Signing is done without entitlements and with signing identity "-". -- MOS_MIGRATED_REVID=140353891
* Improve ./compile.sh error messageGravatar Klaus Aehlig2016-11-28
| | | | | | | | | | | | ...when neither run on a distribution artefact nor PROTOC is set. In this case, it might be that the user was trying to build a development version of bazel, which should be done with 'bazel build //src:bazel'. -- Change-Id: Ib76601f625b36515a94af7508dfd73a3a352710f Reviewed-on: https://cr.bazel.build/7536 MOS_MIGRATED_REVID=140350570
* Compile grpc-java from sourceGravatar Klaus Aehlig2016-11-28
| | | | | | | | | | ...instead of using checked-in binaries. Also update the update instructions accordingly. -- Change-Id: I5a52abbdc1c34883d179b4559064c464b958714f Reviewed-on: https://cr.bazel.build/6831 MOS_MIGRATED_REVID=140348730
* Bazel client: make it compile with MSVCGravatar Laszlo Csomor2016-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | Final modifications to the Bazel client code so we can compile //src/main/cpp/...:all using MSVC. Yay! We still have some dependencies that don't compile with MSVC, namely Ijar, build-runfiles, process-wrapper, and process-tools. Still, this change is a huge success, because now we can add regression tests to prevent people from introducing breaking changes to the client that would break Windows/MSVC compilation. It's important to point out that we can only build this library for now, most functions in file_windows.cc and blaze_util_windows.cc have an empty body (they just call `pdie`). See https://github.com/bazelbuild/bazel/issues/2107 -- MOS_MIGRATED_REVID=140348351
* Bazel client: more platform-specific logicGravatar Laszlo Csomor2016-11-28
| | | | | | | | | | Move terminal-querying functions and GetUserName from blaze_util.cc into blaze_util_<platform>. See https://github.com/bazelbuild/bazel/issues/2107 -- MOS_MIGRATED_REVID=140346402
* Bazel client: platform-specific {Read,Write}FileGravatar Laszlo Csomor2016-11-28
| | | | | | | | | | | | | | | | Move blaze::ReadFile and blaze::WriteFile to file.h and file_platform.h (thus into the blaze_util namespace), and update references. This allows us to implement these methods in a platform-specific way. Also move UnlinkPath. See https://github.com/bazelbuild/bazel/issues/2107 -- MOS_MIGRATED_REVID=140328273
* Import the sources for the grpc java pluginGravatar Klaus Aehlig2016-11-28
| | | | | | | | This is a copy of the relevant sources from https://github.com/grpc/grpc-java/ version 0.15.0 to build the grpc-java plugin. Change-Id: Ideaf6406d8c54eaf98d0cedf74af604061622c3e
* Use BlazeInterner's chosen concurrency level in InternerWithPresenceCheck's ↵Gravatar Nathan Harmata2016-11-28
| | | | | | | internal ConcurrentMap. -- MOS_MIGRATED_REVID=140253038
* Rename intellij_info.bzl outputs and output groups.Gravatar Googler2016-11-28
| | | | | | | | | This will ensure that we can flip between the two smoothly, or even use both native and skylark aspect in the same command. This will make the transition smoother. -- MOS_MIGRATED_REVID=140219469
* Make Runfiles.SymlinkEntry implement SkylarkValue.Gravatar Eric Dobson2016-11-28
| | | | | | | | | | Fixes #1109 Closes #2126. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2126 MOS_MIGRATED_REVID=140217086
* Unflake foundations_testGravatar Dmitry Lomov2016-11-28
| | | | | -- MOS_MIGRATED_REVID=140202580
* cc_configure.bzl: Using registry information to find VSGravatar Yun Peng2016-11-28
| | | | | | | | | | | | | This change will find the latest installed VS by using reg.exe Also it gets rid of bash dependency in cc_configure.bzl Fix https://github.com/bazelbuild/bazel/issues/2100 -- Change-Id: I341e89b0d3ee76c39ea69d0e29904a0936d48338 Reviewed-on: https://cr.bazel.build/7533 MOS_MIGRATED_REVID=140201887
* Add Oracle JDK 7/8 as optional dependencies.Gravatar Misha Brukman2016-11-28
| | | | | | | | | | | | | | With this change, `oracle-java7-installer` and `oracle-java8-installer` become alternatives to satisfy the JDK dependency and thus can be implicitly installed when someone just asks to install Bazel by itself. Resolves issue #1821. Closes #2137. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2137 MOS_MIGRATED_REVID=140200795
* Bazel client: platform-dependent lock handlingGravatar Laszlo Csomor2016-11-28
| | | | | | | | | | Move blaze::AcquireLock and blaze::ReleaseLock into blaze_util_<platform>. See https://github.com/bazelbuild/bazel/issues/2107 -- MOS_MIGRATED_REVID=140200355
* Bazel client: mock out read/write callsGravatar Laszlo Csomor2016-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | Make blaze::ReadFileDescriptor(int fd, ...) and blaze::WriteFile(int fd, ...) platform-independent by mocking out the read(2) and write(2) calls. Also rename ReadFileDescriptor to ReadFrom and introduce a new WriteTo method that encapsulates WriteFile's prior logic. In particular these functions now take a read_func/write_func function argument instead of a file descriptor, so the read(2)/write(2) calls can be mocked out. This allows us to use these functions on Windows too, where read(2)/write(2) are not implemented, and we can inject a different read_func/write_func. See https://github.com/bazelbuild/bazel/issues/2107 -- MOS_MIGRATED_REVID=140195973
* Remove no longer used protoc binariesGravatar Klaus Aehlig2016-11-25
| | | | | | ...as we build protoc from source now. Change-Id: Ib9662345cf98af9b90da7422658796ee4937e1ce
* Disable DownloaderTestSuite on Windows.Gravatar Dmitry Lomov2016-11-25
| | | | | | | #2138 tracks reenabling. -- MOS_MIGRATED_REVID=140194911
* Build protoc from sourceGravatar Klaus Aehlig2016-11-25
| | | | | | | | | | Use the provided sources to build the protoc binary instead of using the committed binaries. -- Change-Id: I3df01e9f400e3cebbd1fe3ce74c6142c93c58b6c Reviewed-on: https://cr.bazel.build/6732 MOS_MIGRATED_REVID=140192644
* Increase the size of HttpDownloaderTest.Gravatar Dmitry Lomov2016-11-25
| | | | | -- MOS_MIGRATED_REVID=140190652
* Be smarter about Content-Encoding: gzip downloadsGravatar Justine Tunney2016-11-25
| | | | | | | | | Fixes #2136 RELNOTES: n/a -- MOS_MIGRATED_REVID=140190547
* Do not flatten nested sets in Variables.Builder.addStringSequenceVariableGravatar Marcel Hlopko2016-11-25
| | | | | -- MOS_MIGRATED_REVID=140181324
* Rollback of commit 2eaa31fade12242b7075c2bbac945aeeedf985e8.Gravatar Tobias Werth2016-11-25
| | | | | | | | | | | | | | | | | *** Reason for rollback *** breaks a couple of iPhone targets in nightly, see [] *** Original change description *** Sign app and frameworks in simulator builds. This has become necessary starting with Xcode 8 although we apply the signature in all cases. Signing is done without entitlements and with signing identity "-". -- MOS_MIGRATED_REVID=140179790
* Introducing the Java compilation black box in Skylark.Gravatar Irina Iancu2016-11-25
| | | | | | | | | Adding a new declared provider that will be the returning value of the Java compilation method in Skylark. This provider is considered a black-box from Skylark and it should only be passed around (returned from a rule/aspect implementation) to allow Java rules to depend on it. Also adding a new Skylark module (java_common) to allow retrieving the Java dependencies' black-box from Skylark implementations. -- MOS_MIGRATED_REVID=140138446
* combine_distfiles.sh: add missing default value for USE_TARGravatar Klaus Aehlig2016-11-24
| | | | | -- MOS_MIGRATED_REVID=140137447
* Attempt #2 to submit commit e860316559eac366d47923a8eb4b5489a661aa35: Using ↵Gravatar Ola Rozenfeld2016-11-24
| | | | | | | | | | an ActionFileInputCache for SHA1 digests used with remote execution. I missed an important test failure -- turned out we have a remote execution test that does not live under lib/remote. -- MOS_MIGRATED_REVID=140135277
* Bazel client: platform-dependent signal handlingGravatar Laszlo Csomor2016-11-24
| | | | | | | | | | Move the signal handling code from blaze.cc into blaze_util_<platform>. See https://github.com/bazelbuild/bazel/issues/2107 -- MOS_MIGRATED_REVID=140134781
* Add missing cfg="host" to example executableGravatar Justin Buchanan2016-11-24
| | | | | | | | Closes #2129. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2129 MOS_MIGRATED_REVID=140134637
* Make //tols/cpp/test start from the distribution artifactGravatar Klaus Aehlig2016-11-24
| | | | | | | | | | | | | The docker tests in //tools/cpp/test still assume that the sources are enough to just compile.sh to bootstrap a bazel binary. Fix this, by using the distribution archive instead. While there, also add a target for the distribution archive as tar. -- Change-Id: Ic31bb95da0165f83a14537a1719c27e5067d0d65 Reviewed-on: https://cr.bazel.build/7531 MOS_MIGRATED_REVID=140134322
* Prevent merge debris being part of packageGravatar Peter Mounce2016-11-24
| | | | | | | | Closes #2095. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2095 MOS_MIGRATED_REVID=140134289
* Adapt ijar for WSLGravatar Reker2016-11-24
| | | | | | | | | | | The behavior of ftruncate on WSL is not same as standard Linux due to a bug, it'll fail on maped file. This commit fix the bug by munmap the file before ftruncate. Closes #2108. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2108 MOS_MIGRATED_REVID=140134115
* Improve windows docs around C++Gravatar Peter Mounce2016-11-24
| | | | | | | | | | | | | | | | These are the options that a colleague needed to install in their VS 2015 Community Edition install before it was possible to compile C++ with Bazel. I've reflected this in the doc (I thought I remembered an open issue for this, but couldn't find it just now when I looked). (I elected to not change the markdown formatting because of the `<br/>` in play. I think it's possible to get the same hanging indent by indenting the text within a bullet by one indent-width, but I have no way of previewing the rendering to know whether that's true or not.) ![cpp options in vs 2015](https://cloud.githubusercontent.com/assets/69720/20141432/3cfe71e6-a688-11e6-83cd-070fa60a54f2.PNG) (Specifically, in the screenshot, I'm referring to the C++ ones, not any of the others). Closes #2063. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2063 MOS_MIGRATED_REVID=140134095