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 import("//cc/cc.gni") |
| 6 |
| 7 cc_source_set("base") { |
6 visibility = [ "//cc" ] | 8 visibility = [ "//cc" ] |
7 | 9 |
8 sources = [ | 10 sources = [ |
9 "completion_event.h", | 11 "completion_event.h", |
10 "container_util.h", | 12 "container_util.h", |
11 "contiguous_container.cc", | 13 "contiguous_container.cc", |
12 "contiguous_container.h", | 14 "contiguous_container.h", |
13 "delayed_unique_notifier.cc", | 15 "delayed_unique_notifier.cc", |
14 "delayed_unique_notifier.h", | 16 "delayed_unique_notifier.h", |
15 "histograms.cc", | 17 "histograms.cc", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 51 |
50 deps = [ | 52 deps = [ |
51 "//base", | 53 "//base", |
52 "//base/third_party/dynamic_annotations", | 54 "//base/third_party/dynamic_annotations", |
53 "//skia", | 55 "//skia", |
54 "//ui/gfx", | 56 "//ui/gfx", |
55 "//ui/gfx/geometry", | 57 "//ui/gfx/geometry", |
56 ] | 58 ] |
57 | 59 |
58 defines = [ "CC_IMPLEMENTATION=1" ] | 60 defines = [ "CC_IMPLEMENTATION=1" ] |
59 | |
60 if (!is_debug && (is_win || is_android)) { | |
61 configs -= [ "//build/config/compiler:default_optimization" ] | |
62 configs += [ "//build/config/compiler:optimize_max" ] | |
63 } | |
64 } | 61 } |
OLD | NEW |