| # 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") |
| |
| group("test_data") { |
| testonly = true |
| deps = [ ":zxdb_symbol_test" ] |
| } |
| |
| # This rule will be called as a dependency of the zxdb tests. |
| shared_library("zxdb_symbol_test") { |
| sources = [ |
| "line_lookup_symbol_test.cc", |
| "type_test.cc", |
| "zxdb_symbol_test.cc", |
| "zxdb_symbol_test2.cc", |
| ] |
| } |