| # 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") |
| |
| # A collection of utilities useful to debuggers and similar programs. |
| |
| static_library("elflib") { |
| sources = [ |
| "elflib.cc", |
| ] |
| } |
| |
| executable("elflib_tests") { |
| testonly = true |
| output_name = "elflib_tests" |
| |
| sources = [ |
| "elflib_unittest.cc", |
| ] |
| |
| deps = [ |
| ":elflib", |
| "//third_party/googletest:gtest", |
| "//third_party/googletest:gtest_main", |
| ] |
| } |