[M120 Migration][VD] Enable direct rendering for TVPlus
[platform/framework/web/chromium-efl.git] / components / apdu / BUILD.gn
1 # Copyright 2018 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//testing/libfuzzer/fuzzer_test.gni")
6
7 component("apdu") {
8   sources = [
9     "apdu_command.cc",
10     "apdu_command.h",
11     "apdu_response.cc",
12     "apdu_response.h",
13   ]
14
15   defines = [ "IS_APDU_IMPL" ]
16
17   deps = [ "//base" ]
18 }
19
20 source_set("unit_tests") {
21   testonly = true
22   sources = [ "apdu_unittest.cc" ]
23
24   deps = [
25     ":apdu",
26     "//base",
27     "//testing/gmock",
28     "//testing/gtest",
29   ]
30 }
31
32 fuzzer_test("apdu_fuzzer") {
33   sources = [ "apdu_fuzzer.cc" ]
34   deps = [
35     ":apdu",
36     "//base",
37   ]
38   libfuzzer_options = [ "max_len=65535" ]
39 }