mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
45172f0690
This reverts commit524fdc13a9
. Reason for revert: I still broke flutter somehow. I got the same error. Looking into it now. Original change's description: > Reland "[llvm] Add initial scaffolding" > > This is a reland ofb71d2d9996
> > Original change's description: > > [llvm] Add initial scaffolding > > > > This change adds the gclient and GN changes needed to build > > an executable using LLVM in the Dart tree as well as a basic > > testing framework based on llvm-lit. > > > > Change-Id: I9009a98ff95043cc3754966f31697ba7f1712310 > > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106434 > > Commit-Queue: Jake Ehrlich <jakehehrlich@google.com> > > Reviewed-by: Alexander Thomas <athom@google.com> > > Reviewed-by: Vyacheslav Egorov <vegorov@google.com> > > Change-Id: Ib3cd3299ed463133616c666285f9a58fa387b5bd > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107829 > Reviewed-by: Vyacheslav Egorov <vegorov@google.com> > Commit-Queue: Jake Ehrlich <jakehehrlich@google.com> TBR=vegorov@google.com,kustermann@google.com,athom@google.com,phosek@google.com,ajcbik@google.com,jakehehrlich@google.com Change-Id: I8b18549ec4a030518633ec7f75d2fd2ceea87256 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107837 Reviewed-by: Jake Ehrlich <jakehehrlich@google.com> Commit-Queue: Jake Ehrlich <jakehehrlich@google.com>
148 lines
2.9 KiB
Text
148 lines
2.9 KiB
Text
# Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
import("build/dart/dart_host_sdk_toolchain.gni")
|
|
|
|
targetting_fuchsia = target_os == "fuchsia"
|
|
|
|
# This target will be built if no target is specified when invoking ninja.
|
|
group("default") {
|
|
if (targetting_fuchsia) {
|
|
# Fuchsia has run_vm_tests marked testonly.
|
|
testonly = true
|
|
}
|
|
deps = [
|
|
":runtime",
|
|
]
|
|
}
|
|
|
|
group("most") {
|
|
if (targetting_fuchsia) {
|
|
# Fuchsia has run_vm_tests marked testonly.
|
|
testonly = true
|
|
}
|
|
deps = [
|
|
":analysis_server",
|
|
":create_sdk",
|
|
":dart2js",
|
|
":dartanalyzer",
|
|
":dartdevc",
|
|
":runtime",
|
|
":samples",
|
|
]
|
|
}
|
|
|
|
group("runtime") {
|
|
import("runtime/runtime_args.gni")
|
|
|
|
if (targetting_fuchsia) {
|
|
# Fuchsia has run_vm_tests marked testonly.
|
|
testonly = true
|
|
}
|
|
deps = [
|
|
"runtime/bin:dart",
|
|
"runtime/bin:process_test",
|
|
"runtime/bin:run_vm_tests",
|
|
"runtime/bin:sample_extension",
|
|
"runtime/bin:test_extension",
|
|
"runtime/bin:entrypoints_verification_test_extension",
|
|
"runtime/bin:ffi_test_dynamic_library",
|
|
"runtime/bin:ffi_test_functions",
|
|
"runtime/vm:kernel_platform_files($host_toolchain)",
|
|
"utils/kernel-service:kernel-service",
|
|
]
|
|
}
|
|
|
|
group("runtime_kernel") {
|
|
if (targetting_fuchsia) {
|
|
# Fuchsia has run_vm_tests marked testonly.
|
|
testonly = true
|
|
}
|
|
deps = [
|
|
":runtime",
|
|
]
|
|
}
|
|
|
|
group("runtime_precompiled") {
|
|
deps = [
|
|
"runtime/bin:dart_precompiled_runtime",
|
|
"runtime/bin:process_test",
|
|
]
|
|
}
|
|
|
|
group("create_sdk") {
|
|
public_deps = [
|
|
"sdk:create_sdk",
|
|
]
|
|
}
|
|
|
|
if (defined(dart_host_sdk_toolchain) &&
|
|
dart_host_sdk_toolchain != host_toolchain) {
|
|
group("create_host_sdk") {
|
|
deps = [
|
|
"sdk:create_sdk($dart_host_sdk_toolchain)",
|
|
]
|
|
}
|
|
}
|
|
|
|
group("dart2js") {
|
|
deps = [
|
|
"utils/compiler:dart2js",
|
|
]
|
|
}
|
|
|
|
group("dartanalyzer") {
|
|
deps = [
|
|
"utils/dartanalyzer",
|
|
]
|
|
}
|
|
|
|
group("dartdevc") {
|
|
deps = [
|
|
"utils/dartdevc",
|
|
]
|
|
}
|
|
|
|
group("dartfmt") {
|
|
deps = [
|
|
"utils/dartfmt",
|
|
]
|
|
}
|
|
|
|
group("analysis_server") {
|
|
deps = [
|
|
"utils/analysis_server",
|
|
]
|
|
}
|
|
|
|
# This is the target that is built on the dart2js build bots.
|
|
# It must depend on anything that is required by the dart2js
|
|
# test suites.
|
|
group("dart2js_bot") {
|
|
deps = [
|
|
":create_sdk",
|
|
]
|
|
}
|
|
|
|
group("samples") {
|
|
deps = [
|
|
"runtime/bin:sample_extension",
|
|
]
|
|
}
|
|
|
|
# This rule and the compressed_observatory_archive rule are for the Fuchsia
|
|
# bots that pre-build the Observatory. They copy the observatory tar files to
|
|
# the root build output directory for convenient access by the Fuchsia buildbot
|
|
# scripts.
|
|
group("observatory_archive") {
|
|
deps = [
|
|
"runtime/observatory:copy_observatory_archive",
|
|
]
|
|
}
|
|
|
|
group("compressed_observatory_archive") {
|
|
deps = [
|
|
"runtime/observatory:copy_compressed_observatory_archive",
|
|
]
|
|
}
|