|  | # Copyright 2020 The Fuchsia Authors | 
|  | # | 
|  | # Use of this source code is governed by a MIT-style | 
|  | # license that can be found in the LICENSE file or at | 
|  | # https://opensource.org/licenses/MIT | 
|  |  | 
|  | import("//build/toolchain/toolchain_environment.gni") | 
|  |  | 
|  | source_set("testing") { | 
|  | testonly = toolchain_environment != "kernel" | 
|  |  | 
|  | sources = [ | 
|  | "fake-cpuid.cc", | 
|  | "fake-msr.cc", | 
|  | ] | 
|  |  | 
|  | public_deps = [ | 
|  | # <lib/arch/x86/testing/fake-cpuid.h> includes <lib/arch/x86/cpuid.h> | 
|  | "//zircon/kernel/lib/arch", | 
|  |  | 
|  | # <lib/arch/x86/testing/fake-cpuid.h> includes <fbl/intrusive_hash_table.h> | 
|  | "//zircon/system/ulib/fbl", | 
|  | ] | 
|  |  | 
|  | public_configs = [ ":include" ] | 
|  | } | 
|  |  | 
|  | config("include") { | 
|  | include_dirs = [ "include" ] | 
|  | } |