dart-sdk/tools
Martin Kustermann 21222b64c4 Revert "[vm] Build dart2native dependencies with the normal "create_sdk" target"
This reverts commit a88a328b7f.

Reason for revert: Auto roller hasn't rolled previous changes from
Dart yet. Those changes updated DEPS for icu/boringssl. We have to
wait with this CL until the DEPS changes have been done in the engine.

Original change's description:
> [vm] Build dart2native dependencies with the normal "create_sdk" target
> 
> This removes special logic for creating the `dart-sdk` we distribute
> which used to build release and product mode and copied some binaries
> from the latter into the former, before the SDK was actuallly ready to
> test and distribute.
> 
> This changes the GN build rules to build the necessary
> gen_snapshot/dart_precompiled_runtime product binaries during the normal
> release build.
> 
> Normally during --mode=product builds the global build config in
> //build/config/BUILDCONFIG.gn will set `-fvisibility=false`.
> 
> => Doing so results in much smaller binaries - because only explicitly
>    exported symbols are visible, the rest can be tree shaken by the linker.
> 
> Since we are building --mode=release, the `-fvisibility=false` will not
> be set. In order to set the flag for the 2 special product-mode binaries
> we need to add -fvisibility=hidden manually, in:
> 
>   * dart_product_config: Which is used for compiling VM sources.
>   * 3rd party double-conversion library
>   * 3rd party boringssl library
>   * 3rd party icu library
> 
> The upstream CLs are:
> 
>   * BoringSSL: https://dart-review.googlesource.com/c/boringssl_gen/+/150482
>   * ICU: https://chromium-review.googlesource.com/c/chromium/deps/icu/+/2236407
> 
> Issue https://github.com/dart-lang/sdk/issues/42230
> 
> Change-Id: I3e47664d9fadb9ed1ad033bb17d46e769442f741
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150524
> Commit-Queue: Martin Kustermann <kustermann@google.com>
> Reviewed-by: Alexander Thomas <athom@google.com>
> Reviewed-by: Zach Anderson <zra@google.com>

TBR=kustermann@google.com,zra@google.com,athom@google.com,asiva@google.com

Change-Id: Ied0f2f5b58dceb2b59bc2ac6e11e5fd717c8885e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151382
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2020-06-16 10:41:27 +00:00
..
abiversions [SDK] Adds documentation about updating ABI_VERSION 2020-05-07 12:33:37 +00:00
android Mass format python with yapf 2019-08-05 20:34:31 +00:00
apps/update_homebrew [homebrew] Modify the version string when updating the version 2020-04-03 10:32:34 +00:00
bots Revert "[vm] Build dart2native dependencies with the normal "create_sdk" target" 2020-06-16 10:41:27 +00:00
buildtools Mass format python with yapf 2019-08-05 20:34:31 +00:00
dart2js Update File.openRead to return Stream<Uint8List> 2019-06-27 00:22:17 +00:00
dom [dart:html] Add rename/metadata for some attributes 2020-06-12 00:52:46 +00:00
linux_dist_support/debian Revert "[vm] Build dart2native dependencies with the normal "create_sdk" target" 2020-06-16 10:41:27 +00:00
migration Print a count of how many language subdirectories have been migrated. 2020-06-03 22:56:40 +00:00
patches [vm] Require only an isolate group, not an isolate, in Dart_Delete[Weak]PersistentHandle. 2020-03-04 18:56:16 +00:00
sdks [release] Update checked-in SDKs to 2.9.0-4.0.dev 2020-04-28 14:20:48 +00:00
spec_parser Change null-aware operator [], operator []=, and function call to not have a period. 2020-01-22 10:18:26 +00:00
test_generators Migrate language_2/async_nested to NNBD. 2020-02-12 20:46:37 +00:00
testing [infra] Remove obsolete webdriver/selenium support from testing 2019-06-18 06:59:09 +00:00
.gitignore Reland https://dart-review.googlesource.com/c/sdk/+/96500 2019-03-13 21:03:01 +00:00
3xhead_flutter_hooks.sh [infra] Extend 3head patching to apply patches for flutter/flutter depending on pinned engine commit 2019-02-04 12:37:10 +00:00
addlatexhash.dart [tools] Fix addlatexhash.dart in NNBD mode 2020-03-23 19:47:52 +00:00
build.py Revert "Add an --os=fuchsia option to build.py:" 2020-06-15 23:01:53 +00:00
canary.dart - Prevent running of the dart_bootstrap script by default. 2015-12-11 13:23:12 -08:00
clean_output_directory.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
copy_dart.py Force copy_dart.py to use python2.7 2020-05-29 22:57:27 +00:00
copy_tree.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
create_debian_chroot.sh [infra] Remove wheezy left overs from SDK 2020-06-04 18:32:29 +00:00
create_debian_packages.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
create_pkg_manifest.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
create_tarball.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
create_timestamp_file.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
diff_results.dart [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
download_abi_dills.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
download_chromium_sysroot.sh [infra] Remove wheezy left overs from SDK 2020-06-04 18:32:29 +00:00
download_latest_dev_sdk.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
execute_recorded_testcases.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
experimental_features.yaml Move extension methods experiment to shipped list 2020-06-02 12:43:21 +00:00
FAKE_COMMITS [infra] Remove obsolete buildbot paths/terms 2020-06-10 20:59:46 +00:00
find_depot_tools.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
gen_fuchsia_test_manifest.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
generate_buildfiles.py [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
generate_idefiles.py [tools] Update generate_idefiles.py to exclude analyzing sdk_nnbd 2019-09-26 17:31:50 +00:00
generate_package_config.dart Remove references to removed tools/gardening 2020-05-12 18:42:30 +00:00
gn.py Revert "[vm] Build dart2native dependencies with the normal "create_sdk" target" 2020-06-16 10:41:27 +00:00
gn_helpers.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
line_doc_comments.dart Fix path to pkg/path – .packages resolution works to the root of repo 2017-08-04 11:14:23 -07:00
list_dart_files.py Fix list_files.py so it is python3-compatible. 2020-02-15 00:12:50 +00:00
list_files.py Fix list_files.py so it is python3-compatible. 2020-02-15 00:12:50 +00:00
make_bundle_unittest.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
make_version.py [vm] Add the channel name to the VM/dart:io version string 2020-03-23 10:00:03 +00:00
minidump.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
only_in_release_mode.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
presubmit.sh Refs #25328 Use a portable shebang 2016-01-05 16:26:28 +01:00
promote.py [infra] Remove wheezy left overs from SDK 2020-06-04 18:32:29 +00:00
publish_pkg.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
revert.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
run_abi_tests.py [infra] Add explanation to ABI test logs 2020-06-12 15:58:25 +00:00
run_debian_build.sh [infra] Fix debianpackage build 2019-04-01 08:26:46 +00:00
run_offsets_extractor.sh [vm] Update offsets 2020-01-27 15:59:56 +00:00
safari_factory_reset.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
set_ia32_sysroot.sh [build] Move to Jessie sysroots from Wheezy sysroots. 2018-10-25 15:05:22 +00:00
set_x64_sysroot.sh [build] Move to Jessie sysroots from Wheezy sysroots. 2018-10-25 15:05:22 +00:00
spec_parse.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
task_kill.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
test.dart [infra] Handle test steps with no tested configuration 2020-03-27 07:09:37 +00:00
test.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
upload_abi_dills.sh [SDK] Adds documentation about updating ABI_VERSION 2020-05-07 12:33:37 +00:00
utils.py Revert "Add an --os=fuchsia option to build.py:" 2020-06-15 23:01:53 +00:00
validate_test_matrix.dart [presubmit] Add presubmit check for valid test matrix 2020-05-12 05:48:22 +00:00
VERSION [vm/ffi] Convert Objects to Dart_Handles in FFI calls 2020-06-12 11:14:22 +00:00
write_dartdoc_options_file.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
write_revision_file.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
write_version_file.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
yaml2json.dart Mention that libraries.json is generated. 2017-11-01 12:55:42 +00:00
yaml2json.py Mass format python with yapf 2019-08-05 20:34:31 +00:00