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