Linux: Depend on liberation-fonts package for RPMs.
[chromium-blink-merge.git] / cc / base / BUILD.gn
blob53194c9015f962a80c7a36b8bbcb1c793b4717fa
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("base") {
6   visibility = [ "//cc" ]
8   sources = [
9     "completion_event.h",
10     "delayed_unique_notifier.cc",
11     "delayed_unique_notifier.h",
12     "histograms.cc",
13     "histograms.h",
14     "invalidation_region.cc",
15     "invalidation_region.h",
16     "list_container.h",
17     "list_container_helper.cc",
18     "list_container_helper.h",
19     "math_util.cc",
20     "math_util.h",
21     "random_access_list_container.h",
22     "region.cc",
23     "region.h",
24     "resource_id.h",
25     "rolling_time_delta_history.cc",
26     "rolling_time_delta_history.h",
27     "scoped_ptr_algorithm.h",
28     "scoped_ptr_deque.h",
29     "scoped_ptr_vector.h",
30     "simple_enclosed_region.cc",
31     "simple_enclosed_region.h",
32     "switches.cc",
33     "switches.h",
34     "synced_property.h",
35     "tiling_data.cc",
36     "tiling_data.h",
37     "time_util.h",
38     "unique_notifier.cc",
39     "unique_notifier.h",
40   ]
42   deps = [
43     "//base",
44     "//base/third_party/dynamic_annotations",
45     "//skia",
46     "//ui/gfx",
47     "//ui/gfx/geometry",
48   ]
50   defines = [ "CC_IMPLEMENTATION=1" ]
52   if (!is_debug && (is_win || is_android)) {
53     configs -= [ "//build/config/compiler:default_optimization" ]
54     configs += [ "//build/config/compiler:optimize_max" ]
55   }