[Enhanced Bookmark] Change "Bookmark Bar" to "Bookmark bar" on Android
[chromium-blink-merge.git] / cc / base / BUILD.gn
blob203f84add5ecc9c2adb8e9d36d1c2fb0a130b188
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     "invalidation_region.cc",
13     "invalidation_region.h",
14     "math_util.cc",
15     "math_util.h",
16     "ref_counted_managed.h",
17     "region.cc",
18     "region.h",
19     "rolling_time_delta_history.cc",
20     "rolling_time_delta_history.h",
21     "scoped_ptr_algorithm.h",
22     "scoped_ptr_deque.h",
23     "scoped_ptr_vector.h",
24     "simple_enclosed_region.cc",
25     "simple_enclosed_region.h",
26     "switches.cc",
27     "switches.h",
28     "synced_property.h",
29     "tiling_data.cc",
30     "tiling_data.h",
31     "time_util.h",
32     "unique_notifier.cc",
33     "unique_notifier.h",
34     "util.h",
35   ]
37   deps = [
38     "//base",
39     "//base/third_party/dynamic_annotations",
40     "//skia",
41     "//ui/gfx",
42     "//ui/gfx/geometry",
43   ]
45   defines = [ "CC_IMPLEMENTATION=1" ]
47   if (!is_debug && (is_win || is_android)) {
48     configs -= [ "//build/config/compiler:optimize" ]
49     configs += [ "//build/config/compiler:optimize_max" ]
50   }