Files
sdk/runtime/platform/BUILD.gn
T
Ryan Macnak 9e28e19002 [test] Synthetic versions of the mutator-marker race.
TEST=vm/cc/MutatorMarkerRace_*
Bug: https://github.com/dart-lang/sdk/issues/56895
Change-Id: I3e3f25b2c43aec09a409377f77c6d2fec287bccb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/390263
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2024-10-24 03:24:08 +00:00

42 lines
992 B
Plaintext

# Copyright (c) 2017, 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("../configs.gni")
import("platform_sources.gni")
library_for_all_configs("libdart_platform") {
target_type = "source_set"
public_configs = [ "../vm:libdart_vm_config" ]
sources = platform_sources
include_dirs = [ ".." ]
extra_deps = []
configurable_deps = [ ":libdart_platform_no_tsan" ]
if (is_fuchsia) {
extra_deps += [
"$fuchsia_sdk/pkg/inspect_component_cpp",
"$fuchsia_sdk/pkg/sys_cpp",
]
}
}
config("no_tsan_config") {
if (!is_win) {
cflags = [ "-fno-sanitize=thread" ]
}
}
library_for_all_configs("libdart_platform_no_tsan") {
target_type = "source_set"
public_configs = [
"../vm:libdart_vm_config",
":no_tsan_config",
]
sources = [
"no_tsan.cc",
"no_tsan.h",
]
include_dirs = [ ".." ]
}