| # 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. | |
| # This file is compiled with the target toolchain. It is not actually used for | |
| # the device, but is read by the zxdb tests on the host to test the symbol | |
| # handling code. | |
| # This should be the shared library toolchain only. Normally one could | |
| # reference this in the default toolchain and that will redirect to the shared | |
| # one. | |
| assert(current_toolchain == "${default_toolchain}-shared") | |
| ## 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") | |
| source_set("zxdb_symbol_test_lib") { | |
| sources = [ | |
| "line_lookup_symbol_test.cc", | |
| "type_test.cc", | |
| "zxdb_symbol_test.cc", | |
| "zxdb_symbol_test.h", | |
| "zxdb_symbol_test2.cc", | |
| ] | |
| } | |
| shared_library("zxdb_symbol_test") { | |
| visibility = [ | |
| ":*", | |
| "//src/developer/debug/zxdb/client:*", | |
| "//src/developer/debug/zxdb/symbols:*", | |
| ] | |
| deps = [ ":zxdb_symbol_test_lib" ] | |
| } |