blob: 45619e91395c7d402b5f21683565e74ec7fdd839 [file] [log] [blame]
# Copyright 2013 The Flutter 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("//flutter/testing/testing.gni")
test_fixtures("tonic_fixtures") {
dart_main = "fixtures/tonic_test.dart"
fixtures = []
}
executable("tonic_unittests") {
testonly = true
public_configs = [ "//flutter:export_dynamic_symbols" ]
sources = [
"../file_loader/file_loader_unittests.cc",
"dart_persistent_handle_unittest.cc",
"dart_state_unittest.cc",
"dart_weak_persistent_handle_unittest.cc",
"ffi_native_unittest.cc",
]
public_deps = [
":tonic_fixtures",
"$dart_src/runtime:dart_api",
"//flutter/lib/snapshot",
"//flutter/runtime:libdart",
"//flutter/runtime:runtime",
"//flutter/testing",
"//flutter/testing:fixture_test",
"//flutter/third_party/googletest:gtest",
]
deps = [ "../:tonic" ]
}