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 "blocking_task_runner.cc", |
| 10 "blocking_task_runner.h", |
9 "completion_event.h", | 11 "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", | 12 "math_util.cc", |
15 "math_util.h", | 13 "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", | 14 "scoped_ptr_deque.h", |
23 "scoped_ptr_vector.h", | 15 "scoped_ptr_vector.h", |
24 "simple_enclosed_region.cc", | |
25 "simple_enclosed_region.h", | |
26 "switches.cc", | 16 "switches.cc", |
27 "switches.h", | 17 "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", | 18 "util.h", |
35 ] | 19 ] |
36 | 20 |
37 deps = [ | 21 deps = [ |
38 "//base", | 22 "//base", |
39 "//base/third_party/dynamic_annotations", | 23 "//base/third_party/dynamic_annotations", |
40 "//skia", | 24 "//skia", |
41 "//ui/gfx", | 25 "//ui/gfx", |
42 "//ui/gfx/geometry", | 26 "//ui/gfx/geometry", |
43 ] | 27 ] |
44 | 28 |
45 defines = [ "CC_IMPLEMENTATION=1" ] | 29 defines = [ "CC_IMPLEMENTATION=1" ] |
46 | 30 |
47 if (!is_debug && (is_win || is_android)) { | 31 if (!is_debug && (is_win || is_android)) { |
48 configs -= [ "//build/config/compiler:optimize" ] | 32 configs -= [ "//build/config/compiler:optimize" ] |
49 configs += [ "//build/config/compiler:optimize_max" ] | 33 configs += [ "//build/config/compiler:optimize_max" ] |
50 } | 34 } |
51 } | 35 } |
OLD | NEW |