blob: e7a63e414172999fa1427b5c4ee018480f00ccf8 [file] [log] [blame]
Victor Hsiehe82b9fb2019-02-06 09:56:58 -08001// Copyright (C) 2019 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// This is a cc_test just because it supports test_suites. This should be converted to something
16// like cc_binary_test_helper once supported.
17cc_test {
18 // Depending on how the test runs, the executable may be uploaded to different location.
19 // Before the bug in the file pusher is fixed, workaround by making the name unique.
20 // See b/124718249#comment12.
21 name: "block_device_writer_module",
22 stem: "block_device_writer",
23
24 srcs: ["block_device_writer.cpp"],
Victor Hsieh91b8abc2019-11-21 13:23:56 -080025 cflags: [
26 "-D_FILE_OFFSET_BITS=64",
27 "-Wall",
28 "-Werror",
29 "-Wextra",
30 "-g",
31 ],
Victor Hsiehe82b9fb2019-02-06 09:56:58 -080032 shared_libs: ["libbase", "libutils"],
33
34 test_suites: ["general-tests"],
35 gtest: false,
36}