| # Copyright 2020 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") |
| |
| executable("ret2spec_sa_bin") { |
| output_name = "ret2spec_sa" |
| |
| sources = [ |
| "demos/ret2spec_sa.cc", |
| "demos/cache_sidechannel.cc", |
| "demos/utils.cc", |
| "demos/instr.cc", |
| ] |
| |
| include_dirs = [ |
| "demos", |
| ] |
| |
| deps = [ "//zircon/public/lib/fdio" ] |
| } |
| |
| package("safeside") { |
| deps = [ ":ret2spec_sa_bin" ] |
| |
| binaries = [ |
| { |
| name = "ret2spec_sa" |
| shell = true |
| }, |
| ] |
| } |