1load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime") 2 3def define_common_targets(): 4 """Defines targets that should be shared between fbcode and xplat. 5 6 The directory containing this targets.bzl file should also contain both 7 TARGETS and BUCK files that call this function. 8 """ 9 10 for aten_mode in (True, False): 11 aten_suffix = "_aten" if aten_mode else "" 12 13 runtime.cxx_test( 14 name = "print_evalue_test" + aten_suffix, 15 srcs = [ 16 "print_evalue_test.cpp", 17 ], 18 deps = [ 19 "//executorch/extension/evalue_util:print_evalue" + aten_suffix, 20 "//executorch/runtime/core/exec_aten/testing_util:tensor_util" + aten_suffix, 21 ], 22 ) 23