1// 2// Copyright (C) 2020 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 default_team: "trendy_team_android_kernel", 19 default_applicable_licenses: ["Android-Apache-2.0"], 20} 21 22cc_defaults { 23 name: "binary_f2fs_defaults", 24 srcs: ["F2fsTest.cpp"], 25 shared_libs: [ 26 "libbase", 27 "liblog", 28 "liblogwrap", 29 ], 30 static_libs: [ 31 "libdm", 32 ], 33 cflags: [ 34 "-fno-strict-aliasing", 35 "-Wall", 36 "-Werror", 37 "-Wno-unused-variable", 38 ], 39} 40 41cc_test { 42 name: "f2fs_test", 43 defaults: ["binary_f2fs_defaults"], 44 test_config: "f2fs_test.xml", 45 test_suites: [ 46 "general-tests", 47 ], 48} 49 50cc_test { 51 name: "vts_test_binary_f2fs", 52 defaults: ["binary_f2fs_defaults"], 53} 54