xref: /aosp_15_r20/external/cronet/components/miracle_parameter/common/BUILD.gn (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1# Copyright 2023 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
5component("common") {
6  defines = [ "IS_MIRACLE_PARAMETER_IMPL" ]
7
8  output_name = "miracle_parameter_common"
9
10  sources = [
11    "public/miracle_parameter.cc",
12    "public/miracle_parameter.h",
13  ]
14
15  deps = [ "//base" ]
16}
17
18source_set("unit_tests") {
19  testonly = true
20
21  sources = [ "public/miracle_parameter_unittest.cc" ]
22
23  deps = [
24    ":common",
25    "//base",
26    "//base/test:test_support",
27    "//testing/gmock",
28    "//testing/gtest",
29  ]
30}
31