OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("base") { | 5 source_set("base") { |
6 visibility = [ "//cc" ] | 6 visibility = [ "//cc" ] |
7 | 7 |
8 sources = [ | 8 sources = [ |
9 "completion_event.h", | 9 "completion_event.h", |
| 10 "container_util.h", |
10 "delayed_unique_notifier.cc", | 11 "delayed_unique_notifier.cc", |
11 "delayed_unique_notifier.h", | 12 "delayed_unique_notifier.h", |
12 "histograms.cc", | 13 "histograms.cc", |
13 "histograms.h", | 14 "histograms.h", |
14 "invalidation_region.cc", | 15 "invalidation_region.cc", |
15 "invalidation_region.h", | 16 "invalidation_region.h", |
16 "list_container.h", | 17 "list_container.h", |
17 "list_container_helper.cc", | 18 "list_container_helper.cc", |
18 "list_container_helper.h", | 19 "list_container_helper.h", |
19 "math_util.cc", | 20 "math_util.cc", |
20 "math_util.h", | 21 "math_util.h", |
21 "random_access_list_container.h", | 22 "random_access_list_container.h", |
22 "region.cc", | 23 "region.cc", |
23 "region.h", | 24 "region.h", |
24 "resource_id.h", | 25 "resource_id.h", |
25 "rolling_time_delta_history.cc", | 26 "rolling_time_delta_history.cc", |
26 "rolling_time_delta_history.h", | 27 "rolling_time_delta_history.h", |
27 "rtree.cc", | 28 "rtree.cc", |
28 "rtree.h", | 29 "rtree.h", |
29 "scoped_ptr_algorithm.h", | 30 "scoped_ptr_algorithm.h", |
30 "scoped_ptr_deque.h", | |
31 "scoped_ptr_vector.h", | 31 "scoped_ptr_vector.h", |
32 "simple_enclosed_region.cc", | 32 "simple_enclosed_region.cc", |
33 "simple_enclosed_region.h", | 33 "simple_enclosed_region.h", |
34 "switches.cc", | 34 "switches.cc", |
35 "switches.h", | 35 "switches.h", |
36 "synced_property.h", | 36 "synced_property.h", |
37 "tiling_data.cc", | 37 "tiling_data.cc", |
38 "tiling_data.h", | 38 "tiling_data.h", |
39 "time_util.h", | 39 "time_util.h", |
40 "unique_notifier.cc", | 40 "unique_notifier.cc", |
41 "unique_notifier.h", | 41 "unique_notifier.h", |
42 ] | 42 ] |
43 | 43 |
44 deps = [ | 44 deps = [ |
45 "//base", | 45 "//base", |
46 "//base/third_party/dynamic_annotations", | 46 "//base/third_party/dynamic_annotations", |
47 "//skia", | 47 "//skia", |
48 "//ui/gfx", | 48 "//ui/gfx", |
49 "//ui/gfx/geometry", | 49 "//ui/gfx/geometry", |
50 ] | 50 ] |
51 | 51 |
52 defines = [ "CC_IMPLEMENTATION=1" ] | 52 defines = [ "CC_IMPLEMENTATION=1" ] |
53 | 53 |
54 if (!is_debug && (is_win || is_android)) { | 54 if (!is_debug && (is_win || is_android)) { |
55 configs -= [ "//build/config/compiler:default_optimization" ] | 55 configs -= [ "//build/config/compiler:default_optimization" ] |
56 configs += [ "//build/config/compiler:optimize_max" ] | 56 configs += [ "//build/config/compiler:optimize_max" ] |
57 } | 57 } |
58 } | 58 } |
OLD | NEW |