| 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 "container_util.h", |
| 11 "contiguous_container.cc", | 11 "contiguous_container.cc", |
| 12 "contiguous_container.h", | 12 "contiguous_container.h", |
| 13 "delayed_unique_notifier.cc", | 13 "delayed_unique_notifier.cc", |
| 14 "delayed_unique_notifier.h", | 14 "delayed_unique_notifier.h", |
| 15 "histograms.cc", | 15 "histograms.cc", |
| 16 "histograms.h", | 16 "histograms.h", |
| 17 "index_rect.cc", | 17 "index_rect.cc", |
| 18 "index_rect.h", | 18 "index_rect.h", |
| 19 "invalidation_region.cc", | 19 "invalidation_region.cc", |
| 20 "invalidation_region.h", | 20 "invalidation_region.h", |
| 21 "list_container.h", | 21 "list_container.h", |
| 22 "list_container_helper.cc", | 22 "list_container_helper.cc", |
| 23 "list_container_helper.h", | 23 "list_container_helper.h", |
| 24 "math_util.cc", | 24 "math_util.cc", |
| 25 "math_util.h", | 25 "math_util.h", |
| 26 "random_access_list_container.h", | 26 "random_access_list_container.h", |
| 27 "region.cc", | 27 "region.cc", |
| 28 "region.h", | 28 "region.h", |
| 29 "resource_id.h", | 29 "resource_id.h", |
| 30 "reverse_spiral_iterator.cc", |
| 31 "reverse_spiral_iterator.h", |
| 30 "rolling_time_delta_history.cc", | 32 "rolling_time_delta_history.cc", |
| 31 "rolling_time_delta_history.h", | 33 "rolling_time_delta_history.h", |
| 32 "rtree.cc", | 34 "rtree.cc", |
| 33 "rtree.h", | 35 "rtree.h", |
| 34 "simple_enclosed_region.cc", | 36 "simple_enclosed_region.cc", |
| 35 "simple_enclosed_region.h", | 37 "simple_enclosed_region.h", |
| 38 "spiral_iterator.cc", |
| 39 "spiral_iterator.h", |
| 36 "switches.cc", | 40 "switches.cc", |
| 37 "switches.h", | 41 "switches.h", |
| 38 "synced_property.h", | 42 "synced_property.h", |
| 39 "tiling_data.cc", | 43 "tiling_data.cc", |
| 40 "tiling_data.h", | 44 "tiling_data.h", |
| 41 "time_util.h", | 45 "time_util.h", |
| 42 "unique_notifier.cc", | 46 "unique_notifier.cc", |
| 43 "unique_notifier.h", | 47 "unique_notifier.h", |
| 44 ] | 48 ] |
| 45 | 49 |
| 46 deps = [ | 50 deps = [ |
| 47 "//base", | 51 "//base", |
| 48 "//base/third_party/dynamic_annotations", | 52 "//base/third_party/dynamic_annotations", |
| 49 "//skia", | 53 "//skia", |
| 50 "//ui/gfx", | 54 "//ui/gfx", |
| 51 "//ui/gfx/geometry", | 55 "//ui/gfx/geometry", |
| 52 ] | 56 ] |
| 53 | 57 |
| 54 defines = [ "CC_IMPLEMENTATION=1" ] | 58 defines = [ "CC_IMPLEMENTATION=1" ] |
| 55 | 59 |
| 56 if (!is_debug && (is_win || is_android)) { | 60 if (!is_debug && (is_win || is_android)) { |
| 57 configs -= [ "//build/config/compiler:default_optimization" ] | 61 configs -= [ "//build/config/compiler:default_optimization" ] |
| 58 configs += [ "//build/config/compiler:optimize_max" ] | 62 configs += [ "//build/config/compiler:optimize_max" ] |
| 59 } | 63 } |
| 60 } | 64 } |
| OLD | NEW |