| # Copyright 2016 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. | |
| group("tests") { | |
| testonly = true | |
| deps = [ ":loop_fixture_tests" ] | |
| } | |
| ## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ## | |
| # | |
| # ________ _________ ________ ________ | |
| # |\ ____\|\___ ___\\ __ \|\ __ \ | |
| # \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ | |
| # \ \_____ \ \ \ \ \ \ \\\ \ \ ____\ | |
| # \|____|\ \ \ \ \ \ \ \\\ \ \ \___| | |
| # ____\_\ \ \ \__\ \ \_______\ \__\ | |
| # |\_________\ \|__| \|_______|\|__| | |
| # \|_________| | |
| # | |
| # | |
| # AUTO-GENERATED - DO NOT EDIT | |
| # | |
| # The targets below are auto-generated based on the targets defined in the | |
| # BUILD.bazel file from the same directory. If you made changes to targets in | |
| # Bazel, instead of editing this file manually, run: | |
| # | |
| # > fx bazel2gn | |
| # | |
| # Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and | |
| # rerun bazel2gn. | |
| import("//build/tools/bazel2gn/bazel_migration.gni") | |
| cc_test_executable("loop_fixture_unittests") { | |
| sources = [ | |
| "real_loop_fixture_unittest.cc", | |
| "test_loop_fixture_unittest.cc", | |
| ] | |
| deps = [ | |
| ":loop_fixture", | |
| "//sdk/lib/async:async-cpp", | |
| "//sdk/lib/async-default", | |
| "//sdk/lib/fit-promise", | |
| "//src/lib/fxl:fxl_cli", | |
| "//src/lib/fxl/test:gtest_main", | |
| "//src/lib/fxl/test:test_settings", | |
| "//src/lib/testing/predicates", | |
| "//third_party/googletest:gmock", | |
| "//zircon/system/ulib/sync:sync-cpp", | |
| ] | |
| testonly = true | |
| emit_tool_path = false | |
| } | |
| fuchsia_unittest_package("loop_fixture_tests") { | |
| package_name = "loop_fixture_tests-gn" | |
| component_name = "loop_fixture_tests" | |
| deps = [ ":loop_fixture_unittests" ] | |
| } | |
| if (is_fuchsia) { | |
| group("loop_fixture") { | |
| public_deps = [ ":gtest" ] | |
| visibility = [ "//*" ] | |
| } | |
| } | |
| if (is_fuchsia) { | |
| source_set("gtest") { | |
| sources = [ "test_loop.cc" ] | |
| public = [ | |
| "real_loop_fixture.h", | |
| "test_loop.h", | |
| "test_loop_fixture.h", | |
| ] | |
| visibility = [ "//*" ] | |
| public_deps = [ | |
| "//sdk/lib/async:async-cpp", | |
| "//sdk/lib/async-loop:async-loop-cpp", | |
| "//sdk/lib/async-loop:async-loop-default", | |
| "//sdk/lib/async-loop-testing/cpp", | |
| "//sdk/lib/async-testing", | |
| "//sdk/lib/fit", | |
| "//src/lib/fxl:cli", | |
| "//third_party/googletest:gtest_no_testonly", | |
| "//zircon/system/ulib/zx", | |
| ] | |
| } | |
| } |