1*14675a02SAndroid Build Coastguard Worker# Copyright 2022 Google LLC 2*14675a02SAndroid Build Coastguard Worker# 3*14675a02SAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License"); 4*14675a02SAndroid Build Coastguard Worker# you may not use this file except in compliance with the License. 5*14675a02SAndroid Build Coastguard Worker# You may obtain a copy of the License at 6*14675a02SAndroid Build Coastguard Worker# 7*14675a02SAndroid Build Coastguard Worker# http://www.apache.org/licenses/LICENSE-2.0 8*14675a02SAndroid Build Coastguard Worker# 9*14675a02SAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software 10*14675a02SAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS, 11*14675a02SAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*14675a02SAndroid Build Coastguard Worker# See the License for the specific language governing permissions and 13*14675a02SAndroid Build Coastguard Worker# limitations under the License. 14*14675a02SAndroid Build Coastguard Worker 15*14675a02SAndroid Build Coastguard Workerload("//fcp:config.bzl", "FCP_COPTS") 16*14675a02SAndroid Build Coastguard Worker 17*14675a02SAndroid Build Coastguard Workerpackage( 18*14675a02SAndroid Build Coastguard Worker default_visibility = ["//fcp/aggregation:internal"], 19*14675a02SAndroid Build Coastguard Worker licenses = ["notice"], # Apache 2.0 20*14675a02SAndroid Build Coastguard Worker) 21*14675a02SAndroid Build Coastguard Worker 22*14675a02SAndroid Build Coastguard Workercc_library( 23*14675a02SAndroid Build Coastguard Worker name = "testing", 24*14675a02SAndroid Build Coastguard Worker testonly = True, 25*14675a02SAndroid Build Coastguard Worker srcs = [ 26*14675a02SAndroid Build Coastguard Worker "testing.cc", 27*14675a02SAndroid Build Coastguard Worker ], 28*14675a02SAndroid Build Coastguard Worker hdrs = [ 29*14675a02SAndroid Build Coastguard Worker "testing.h", 30*14675a02SAndroid Build Coastguard Worker ], 31*14675a02SAndroid Build Coastguard Worker copts = FCP_COPTS, 32*14675a02SAndroid Build Coastguard Worker deps = [ 33*14675a02SAndroid Build Coastguard Worker "//fcp/aggregation/core:tensor", 34*14675a02SAndroid Build Coastguard Worker "//fcp/base", 35*14675a02SAndroid Build Coastguard Worker "//fcp/tensorflow:status", 36*14675a02SAndroid Build Coastguard Worker "//fcp/testing", 37*14675a02SAndroid Build Coastguard Worker "@com_google_googletest//:gtest_main", 38*14675a02SAndroid Build Coastguard Worker "@org_tensorflow//tensorflow/c:checkpoint_reader", 39*14675a02SAndroid Build Coastguard Worker "@org_tensorflow//tensorflow/c:tf_status_headers", 40*14675a02SAndroid Build Coastguard Worker "@org_tensorflow//tensorflow/c:tf_status_helper", 41*14675a02SAndroid Build Coastguard Worker "@org_tensorflow//tensorflow/cc:cc_ops", 42*14675a02SAndroid Build Coastguard Worker "@org_tensorflow//tensorflow/cc:ops", 43*14675a02SAndroid Build Coastguard Worker "@org_tensorflow//tensorflow/cc:scope", 44*14675a02SAndroid Build Coastguard Worker "@org_tensorflow//tensorflow/core:core_cpu", 45*14675a02SAndroid Build Coastguard Worker "@org_tensorflow//tensorflow/core:framework", 46*14675a02SAndroid Build Coastguard Worker "@org_tensorflow//tensorflow/core:protos_all_cc", 47*14675a02SAndroid Build Coastguard Worker "@org_tensorflow//tensorflow/core:tensorflow", 48*14675a02SAndroid Build Coastguard Worker ], 49*14675a02SAndroid Build Coastguard Worker) 50*14675a02SAndroid Build Coastguard Worker 51*14675a02SAndroid Build Coastguard Workercc_library( 52*14675a02SAndroid Build Coastguard Worker name = "test_data", 53*14675a02SAndroid Build Coastguard Worker testonly = True, 54*14675a02SAndroid Build Coastguard Worker hdrs = [ 55*14675a02SAndroid Build Coastguard Worker "test_data.h", 56*14675a02SAndroid Build Coastguard Worker ], 57*14675a02SAndroid Build Coastguard Worker copts = FCP_COPTS, 58*14675a02SAndroid Build Coastguard Worker deps = [ 59*14675a02SAndroid Build Coastguard Worker "//fcp/aggregation/core:tensor", 60*14675a02SAndroid Build Coastguard Worker ], 61*14675a02SAndroid Build Coastguard Worker) 62