OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//third_party/WebKit/Source/core/core.gni") | 5 import("//third_party/WebKit/Source/core/core.gni") |
6 | 6 |
7 blink_core_sources("observer") { | 7 target(core_link_small_target_type, "observer") { |
| 8 visibility = [ "//third_party/WebKit/Source/core/*" ] |
| 9 |
8 sources = [ | 10 sources = [ |
9 "ResizeObservation.cpp", | 11 "ResizeObservation.cpp", |
10 "ResizeObservation.h", | 12 "ResizeObservation.h", |
11 "ResizeObserver.cpp", | 13 "ResizeObserver.cpp", |
12 "ResizeObserver.h", | 14 "ResizeObserver.h", |
13 "ResizeObserverCallback.h", | 15 "ResizeObserverCallback.h", |
14 "ResizeObserverController.cpp", | 16 "ResizeObserverController.cpp", |
15 "ResizeObserverController.h", | 17 "ResizeObserverController.h", |
16 "ResizeObserverEntry.cpp", | 18 "ResizeObserverEntry.cpp", |
17 "ResizeObserverEntry.h", | 19 "ResizeObserverEntry.h", |
18 ] | 20 ] |
19 | 21 |
| 22 configs -= core_config_remove |
| 23 configs += core_config_add |
20 configs += [ | 24 configs += [ |
21 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 25 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
22 "//build/config/compiler:no_size_t_to_int_warning", | 26 "//build/config/compiler:no_size_t_to_int_warning", |
23 ] | 27 ] |
| 28 |
| 29 deps = [ |
| 30 "//third_party/WebKit/Source/core:prerequisites", |
| 31 ] |
24 } | 32 } |
OLD | NEW |