| Index: cc/base/BUILD.gn
|
| diff --git a/cc/base/BUILD.gn b/cc/base/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..203f84add5ecc9c2adb8e9d36d1c2fb0a130b188
|
| --- /dev/null
|
| +++ b/cc/base/BUILD.gn
|
| @@ -0,0 +1,51 @@
|
| +# Copyright 2015 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +source_set("base") {
|
| + visibility = [ "//cc" ]
|
| +
|
| + sources = [
|
| + "completion_event.h",
|
| + "delayed_unique_notifier.cc",
|
| + "delayed_unique_notifier.h",
|
| + "invalidation_region.cc",
|
| + "invalidation_region.h",
|
| + "math_util.cc",
|
| + "math_util.h",
|
| + "ref_counted_managed.h",
|
| + "region.cc",
|
| + "region.h",
|
| + "rolling_time_delta_history.cc",
|
| + "rolling_time_delta_history.h",
|
| + "scoped_ptr_algorithm.h",
|
| + "scoped_ptr_deque.h",
|
| + "scoped_ptr_vector.h",
|
| + "simple_enclosed_region.cc",
|
| + "simple_enclosed_region.h",
|
| + "switches.cc",
|
| + "switches.h",
|
| + "synced_property.h",
|
| + "tiling_data.cc",
|
| + "tiling_data.h",
|
| + "time_util.h",
|
| + "unique_notifier.cc",
|
| + "unique_notifier.h",
|
| + "util.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//base/third_party/dynamic_annotations",
|
| + "//skia",
|
| + "//ui/gfx",
|
| + "//ui/gfx/geometry",
|
| + ]
|
| +
|
| + defines = [ "CC_IMPLEMENTATION=1" ]
|
| +
|
| + if (!is_debug && (is_win || is_android)) {
|
| + configs -= [ "//build/config/compiler:optimize" ]
|
| + configs += [ "//build/config/compiler:optimize_max" ]
|
| + }
|
| +}
|
|
|