Add ICU message format support
[chromium-blink-merge.git] / cc / base / BUILD.gn
blob98a5d4ad1e6108a4d7cd2f61f6456cea64e187fa
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.cc",
17     "list_container.h",
18     "math_util.cc",
19     "math_util.h",
20     "region.cc",
21     "region.h",
22     "resource_id.h",
23     "rolling_time_delta_history.cc",
24     "rolling_time_delta_history.h",
25     "scoped_ptr_algorithm.h",
26     "scoped_ptr_deque.h",
27     "scoped_ptr_vector.h",
28     "sidecar_list_container.h",
29     "simple_enclosed_region.cc",
30     "simple_enclosed_region.h",
31     "switches.cc",
32     "switches.h",
33     "synced_property.h",
34     "tiling_data.cc",
35     "tiling_data.h",
36     "time_util.h",
37     "unique_notifier.cc",
38     "unique_notifier.h",
39   ]
41   deps = [
42     "//base",
43     "//base/third_party/dynamic_annotations",
44     "//skia",
45     "//ui/gfx",
46     "//ui/gfx/geometry",
47   ]
49   defines = [ "CC_IMPLEMENTATION=1" ]
51   if (!is_debug && (is_win || is_android)) {
52     configs -= [ "//build/config/compiler:optimize" ]
53     configs += [ "//build/config/compiler:optimize_max" ]
54   }