| # Copyright 2018 The Fuchsia Authors. 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/package.gni") |
| import("//build/testing/environments.gni") |
| |
| source_set("logging") { |
| visibility = [ ":*" ] |
| |
| sources = [ |
| "logging.h", |
| ] |
| } |
| |
| source_set("utils") { |
| sources = [ |
| "handle_exception.cc", |
| "handle_exception.h", |
| "tempfs.cc", |
| "tempfs.h", |
| "vmservice_object.cc", |
| "vmservice_object.h", |
| ] |
| |
| public_deps = [ |
| "//sdk/lib/sys/cpp", |
| "//sdk/lib/vfs/cpp", |
| "//zircon/public/lib/zx", |
| ] |
| |
| deps = [ |
| ":logging", |
| "//sdk/fidl/fuchsia.feedback", |
| "//third_party/tonic", |
| "//zircon/public/lib/async-loop-cpp", |
| "//zircon/public/lib/async-loop-default", |
| "//zircon/public/lib/memfs", |
| "//zircon/public/lib/syslog", |
| "//zircon/system/fidl/fuchsia-io", |
| "//zircon/system/fidl/fuchsia-mem", |
| ] |
| } |
| |
| source_set("vmo") { |
| sources = [ |
| "vmo.cc", |
| "vmo.h", |
| ] |
| |
| public_deps = [ |
| "//zircon/public/lib/fdio", |
| "//zircon/system/fidl/fuchsia-mem", |
| ] |
| |
| deps = [ |
| ":logging", |
| "//zircon/public/lib/syslog", |
| ] |
| } |
| |
| source_set("inlines") { |
| sources = [ |
| "inlines.h", |
| ] |
| |
| public_deps = [ |
| "//zircon/public/lib/syslog", |
| ] |
| } |
| |
| source_set("files") { |
| sources = [ |
| "files.cc", |
| "files.h", |
| ] |
| |
| deps = [ |
| ":inlines", |
| ":logging", |
| ] |
| } |
| |
| package("run_vmservice_object_tests") { |
| testonly = true |
| |
| deps = [ |
| "../../dart_runner:dart_jit_runner", |
| "../../dart_runner/examples/hello_dart:hello_dart_jit", |
| ] |
| |
| tests = [ |
| { |
| name = rebase_path("run_vmservice_object_tests.sh") |
| dest = "run_vmservice_object_tests.sh" |
| environments = basic_envs |
| |
| # TODO(fxbug.dev/8846): Re-enable once converted into a component. |
| disabled = true |
| }, |
| ] |
| } |