Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/bazelbuild/bazel.git. Pull mirroring updated .
  1. Dec 02, 2016
    • Bazel Release System's avatar
      Release 0.4.2 (2016-12-02) · ba94a7b9
      Bazel Release System authored
      Baseline: 6331a94b
      
      Cherry picks:
         + 7b835d97: Do not patch WORKSPACE in the release process
      
      Incompatible changes:
      
        - 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.
      
      Important changes:
      
        - Alias proto_library's produce a descriptor set that contains all
          srcs of its dependencies.
        - proto_library supports strict proto deps.
        - Top level @androidsdk support library targets have been replaced
          by @androidsdk//<group id>:<artifact id>-<version> for Android
          SDK Support and Google Play Services libraries.
      0.4.2
      ba94a7b9
    • Klaus Aehlig's avatar
      Do not patch WORKSPACE in the release process · 470ec09f
      Klaus Aehlig authored
      While we do need changes for certain test to refer to a local
      copy of android SDKs, we do not want those changes in the
      environment where we build the release artefacts (in particular
      the distribution artefact).
      
      --
      Change-Id: I471a8c23efea389f52cd7b07b8511f69d16b8d3d
      Reviewed-on: https://cr.bazel.build/7592
      MOS_MIGRATED_REVID=140831994
      470ec09f
  2. Nov 30, 2016
    • Laszlo Csomor's avatar
      Bazel release script: fix `gsutil -m` · 6331a94b
      Laszlo Csomor authored
      commit f17fb3a8 added the `-m` in the wrong location,
      causing the gsutil command to fail, e.g.
      http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel-Release/87/console
      
      --
      MOS_MIGRATED_REVID=140589924
      6331a94b
    • Klaus Aehlig's avatar
      Only announce test summaries in BEP if expected · 6f978506
      Klaus Aehlig authored
      In some situations, we do not even expect a test summary to appear in
      the BEP, e.g., if testing is not asked for. Do not announce a test summary
      in this case.
      
      --
      Change-Id: Ifd46e3582292b087bb1d37f255a140f631854830
      Reviewed-on: https://cr.bazel.build/7373
      MOS_MIGRATED_REVID=140589645
      6f978506
    • Klaus Aehlig's avatar
      Mark distribution artefact design document as implemented · 1e943aed
      Klaus Aehlig authored
      --
      Change-Id: I080c6b32cd0b206b176700dad8b6e1ce799856ae
      Reviewed-on: https://cr.bazel.build/7537
      MOS_MIGRATED_REVID=140578960
      1e943aed
    • Bazel Release System's avatar
      Release 0.4.1 (2016-11-21) · 15402a94
      Bazel Release System authored
      Baseline: 9a796de5
      
      Cherry picks:
         + 88bfe858: Description redacted. -- MOS_MIGRATED_REVID=139219934
         + b09ea943: Rollback of commit
                    a3f5f576.
      
      New features:
      
        - android_library now has a "exported_plugins" attribute just like
          java_library
        - Use --strict_system_includes to apply hdrs_check=strict also to
              cc_library.includes, even if sandboxing is disabled.
        - Bazel on Windows: java_binary can now be the executable of
          Skylark rule actions (ctx.action's executable argument)
        - Packages are defined in BUILD.bazel as well as BUILD files.
      
      Important changes:
      
        - getattr()'s 3-arg form no longer raises an error when the
          retrieved field is a built-in method.
        - --apk_signing_method default changed to v1. Android APKs are now
          signed with the new ApkSignerTool by default.
        - New rule: proto_lang_toolchain(), to support LANG_proto_library
          rules on multiple platforms.
        - Fix for Android clang++ std::stack segfault on 32bit x86. See
          https://code.google.com/p/android/issues/detail?id=220159
        - Default android_manifest_merger is now "android" which uses the
          official Android manifest merger.
          http://tools.android.com/tech-docs/new-build-system/user-guide/man
          ifest-merger
        - Do not propagate aspect to its own attributes when using '*'.
        - Comparing sets (`if set1 < set2:`) is not allowed anymore in
          Skylark because it didn't work correctly anyway.
        - When --experimental_extra_action_top_level_only, Bazel reports
          extra-actions for actions registered by Aspects injected by a
          top-level rule (approximately).
        - Blacklists for proto_lang_toolchain() no longer have to be
          proto_library's.
        - Extra actions now contain aspect-related information.
        - Fix slicing bug where "abc"[:-4:-1] would give wrong answer
      15402a94
    • Adam Michael's avatar
      Delete old targets from android_sdk_repository_template.bzl · f699b502
      Adam Michael authored
      In December 2015, these JARs needed for these targets were removed from all subsequent Android SDK releases. They were replaced by a two local maven repositories:
      <android sdk>/extras/android/m2repository and <android sdk>/extras/google/m2repository. Furthermore, the new dependencies are AARs and the Maven repositories are sem-ver'd so the developer needs to select the version of the library to use.
      
      In https://github.com/bazelbuild/bazel/commit/2fcf0e I added support for android_sdk_repository to parse these local maven repositories and generate java_import and aar_import rules along with their dependencies.
      
      Since these "extras" do not ship with the SDK by default and are not versioned with the build-tools, you cannot currently download the old JAR versions. As such, anyone who has updated their Android SDK in the last year should not have been able to download the old JARs.
      
      See https://github.com/bazelbuild/bazel/issues/1745 for the tracking issue and information on migrating from the old targets to the new ones.
      
      RELNOTES: Top level @androidsdk support library targets have been replaced by @androidsdk//<group id>:<artifact id>-<version> for Android SDK Support and Google Play Services libraries.
      
      --
      MOS_MIGRATED_REVID=140562616
      f699b502
    • Adam Michael's avatar
      --experimental_android_use_singlejar_for_multidex compresses classes*.dex · 79d09f7f
      Adam Michael authored
      Currently, setting this flag on a native multidex build results in classes*.dex being stored in the APK uncompressed which is certainly not good.
      
      --
      MOS_MIGRATED_REVID=140561305
      79d09f7f
    • Liam Miller-Cushon's avatar
      Hard-code `-parameters` and `-source 8 -target 8` in javac-turbine · 1f4ee384
      Liam Miller-Cushon authored
      This makes its behaviour consistent with regular turbine, avoiding
      skew when switching between implementations.
      
      --
      MOS_MIGRATED_REVID=140547517
      1f4ee384
    • Carmi Grushko's avatar
      Default behavior of proto_library's strict-proto-deps is now determined by the value of a flag. · 7866f9af
      Carmi Grushko authored
      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
      7866f9af
    • Justine Tunney's avatar
      Fix @CheckReturnValue error in HttpStreamTest · 27b95ea1
      Justine Tunney authored
      RELNOTES: n/a
      
      --
      MOS_MIGRATED_REVID=140527066
      27b95ea1
    • Dmitry Shevchenko's avatar
      Remove private headers from modulemaps generated by objc_ targets · 873c259a
      Dmitry Shevchenko authored
      --
      MOS_MIGRATED_REVID=140498934
      873c259a
    • Justine Tunney's avatar
      Support multiple mirror URLs for external repos · ed7ced00
      Justine Tunney authored
      This change improves upon 4c678079.
      
      - 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
      ed7ced00
    • Philipp Wollermann's avatar
      Let the sandbox ignore ESTALE errors on remounting file systems. · df72d2c4
      Philipp Wollermann authored
      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
      df72d2c4
  3. Nov 29, 2016
  4. Nov 28, 2016