UMA Metric names must be constant at runtime.
[chromium-blink-merge.git] / components / bubble / BUILD.gn
blob2519128ab7f60f918d1f71ab07a46f1bf9ebc0d7
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 source_set("bubble") {
6   sources = [
7     "bubble_close_reason.h",
8     "bubble_controller.cc",
9     "bubble_controller.h",
10     "bubble_delegate.cc",
11     "bubble_delegate.h",
12     "bubble_manager.cc",
13     "bubble_manager.h",
14     "bubble_reference.h",
15     "bubble_ui.h",
16   ]
19 source_set("test_support") {
20   testonly = true
22   sources = [
23     "bubble_manager_mocks.cc",
24     "bubble_manager_mocks.h",
25   ]
27   deps = [
28     ":bubble",
29     "//testing/gmock",
30     "//testing/gtest",
31   ]
34 source_set("unit_tests") {
35   testonly = true
37   sources = [
38     "bubble_manager_unittest.cc",
39   ]
41   deps = [
42     ":bubble",
43     ":test_support",
44     "//testing/gmock",
45     "//testing/gtest",
46   ]