Commit 8f52117
Release 0.8.0 (2017-11-27)
Baseline: cff0dc9
Cherry picks:
+ 8a49b15:
Fix ImportError on tools.android for junction_lib
+ 275ae45:
Automated rollback of commit
4869c4e.
+ d0bf589:
Add a random number to action temp dir
+ 9738f35:
CcProtoLibrary: Don't add dynamic librarys to filesToBuild on
Windows
+ 0d6ff47:
Automated rollback of commit
0ebb3e5.
Incompatible changes:
- ctx.fragments.apple.{xcode_version,ios_minimum_os} is not
supported anymore. The same information is accessible through the
target @bazel_tools//tools/osx:current_xcode_config: point an
implicit attribute to it (i.e.
attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
nfig")) then use
ctx.attr._xcode_config[apple_common].XcodeVersionConfig].
- ctx.fragments.apple.minimum_os_for_platform_type is not supported
anymore. The same information is accessible through the target
@bazel_tools//tools/osx:current_xcode_config: point an implicit
attribute to it (i.e.
attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
nfig")) then use
ctx.attr._xcode_config[apple_common].XcodeVersionConfig].minimum_o
s_for_platform_type .
- ctx.fragments.apple.sdk_version_for_platform is not supported
anymore. The same information is accessible through the target
@bazel_tools//tools/osx:current_xcode_config: point an implicit
attribute to it (i.e.
attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
nfig")) then use
ctx.attr._xcode_config[apple_common].XcodeVersionConfig].sdk_versi
on_for_platform .
- --javabase=<absolute path> and --host_javabase=<absolute path>
are not supported anymore. If you need this functionality
java_runtime_suite(name="suite", default=":runtime")
java_runtime(name="runtime", java_home=<path to the JDK>) is an
alternative.
- The flag --incompatible_descriptive_string_representations is no
longer available, old style string representations of objects are
not supported
anymore.
- The flag --incompatible_disallow_set_constructor is no longer
available, the deprecated `set` constructor is not available
anymore.
- += on lists now mutates them. `list1 += list2` is now equivalent
to `list1.extend(list2)` and not equivalent to `list1 = list1 +
list2` anymore.
- the target_apple_env and apple_host_system_env methods on
ctx.fragments.apple are not supported anymore. The same
information is accessible through apple_common.target_apple_env
and apple_common.apple_host_system_env . They need the Xcode
configuration as an argument, which can be obtained by declaring
an implicit dependency on it (i.e.
attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
nfig")) and then calling e.g.
apple_common.apple_host_system_env(ctx.attr._xcode_config[apple_co
mmon.XcodeVersionConfig]).
- C++ toolchain identifiers are not in the name of the output
directory anymore.
- Selecting on "xcode_version" and
"{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
What was config_setting(values={"$FOO_version": $VALUE}) is now
config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
flag": $VALUE}).
- Selecting on "xcode_version" and
"{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
What was config_setting(values={"$FOO_version": $VALUE}) is now
config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
flag": $VALUE}).
- The flag --incompatible_disallow_set_constructor is no longer
available, the deprecated `set` constructor is not available
anymore.
- Selecting on "xcode_version" and
"{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
What was config_setting(values={"$FOO_version": $VALUE}) is now
config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_versi...
New features:
- runfiles, sh: Shell scripts may now depend on
//src/tools/runfiles:runfiles_sh_lib and source runfiles.sh. The
script defines the `rlocation` function which returns runfile
paths on every platform.
- In addition to $(location), Bazel now also supports $(rootpath)
to obtain
the root-relative path (i.e., for runfiles locations), and
$(execpath) to
obtain the exec path (i.e., for build-time locations)
Important changes:
- android_binary now supports custom debug keys via the debug_key
attribute.
- Updated Android proguard to 5.3.3. It now works with android-24+.
- --experimental_use_parallel_android_resource_processing and
--experimental_android_use_nocompress_extensions_on_apk are
removed. These features are fully rolled out.
- Fixes bazelbuild#2574
- Fixes bazelbuild#3834
- Enable experimental UI by default.
- .
RELNOTES: None.
RELNOTES: No.
- Add memory profiler.
- [Bazel] {java,cc}_proto_library now look for dependencies in
@com_google_protobuf, instead of in @com_google_protobuf_$LANG
- Improved merge.sh script in cookbook.
- Fixing regression to --experimental_remote_spawn_cache
- Support for linker scripts in NativeDepsHelper (e.g.,
android_binary)
- Skylark semantics flags now affect WORKSPACE files and repository
rules.
- ctx.outputs.executable is deprecated. Use DefaultInfo(executable
= ...) instead.
- Update "mirror.bazel.build" urls to use https.
- Improve --config logging when --announce_rc is present.
- Document interaction between test_suite and target exclusions
- Replace version numbers for Bazel installers with "<version>"
(because this will change often)
- Published command lines should have improved lists of effective
options.
- --incremental_dexing_binary_types has been removed. All builds
are supported by incremental dexing (modulo proguard and some
blacklisted dx flags).
- Document --host_javabase, --host_java_toolchain1 parent 538d029 commit 8f52117
1 file changed
+141
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
1 | 141 | | |
2 | 142 | | |
3 | 143 | | |
| |||
2058 | 2198 | | |
2059 | 2199 | | |
2060 | 2200 | | |
| 2201 | + | |
0 commit comments