OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("zoom") { | 5 source_set("zoom") { |
6 sources = [ | 6 sources = [ |
7 "page_zoom.cc", | 7 "page_zoom.cc", |
8 "page_zoom.h", | 8 "page_zoom.h", |
9 "page_zoom_constants.cc", | 9 "page_zoom_constants.cc", |
10 "page_zoom_constants.h", | 10 "page_zoom_constants.h", |
11 "zoom_controller.cc", | 11 "zoom_controller.cc", |
12 "zoom_controller.h", | 12 "zoom_controller.h", |
13 "zoom_event_manager.cc", | 13 "zoom_event_manager.cc", |
14 "zoom_event_manager.h", | 14 "zoom_event_manager.h", |
15 "zoom_event_manager_observer.h", | 15 "zoom_event_manager_observer.h", |
16 "zoom_observer.h", | 16 "zoom_observer.h", |
17 ] | 17 ] |
18 | 18 |
19 deps = [ | 19 deps = [ |
20 "//base", | 20 "//base", |
21 "//base:prefs", | 21 "//components/prefs", |
22 "//content/public/browser", | 22 "//content/public/browser", |
23 "//content/public/common", | 23 "//content/public/common", |
24 "//ipc", | 24 "//ipc", |
25 "//net", | 25 "//net", |
26 "//url", | 26 "//url", |
27 ] | 27 ] |
28 } | 28 } |
29 | 29 |
30 source_set("test_support") { | 30 source_set("test_support") { |
31 testonly = true | 31 testonly = true |
32 sources = [ | 32 sources = [ |
33 "test/zoom_test_utils.cc", | 33 "test/zoom_test_utils.cc", |
34 "test/zoom_test_utils.h", | 34 "test/zoom_test_utils.h", |
35 ] | 35 ] |
36 deps = [ | 36 deps = [ |
37 ":zoom", | 37 ":zoom", |
38 "//base:base", | 38 "//base:base", |
39 "//content/test:test_support", | 39 "//content/test:test_support", |
40 ] | 40 ] |
41 } | 41 } |
42 | 42 |
43 source_set("unit_tests") { | 43 source_set("unit_tests") { |
44 testonly = true | 44 testonly = true |
45 sources = [ | 45 sources = [ |
46 "page_zoom_unittests.cc", | 46 "page_zoom_unittests.cc", |
47 ] | 47 ] |
48 deps = [ | 48 deps = [ |
49 ":zoom", | 49 ":zoom", |
50 "//base:prefs", | 50 "//components/prefs", |
51 "//content/public/common", | 51 "//content/public/common", |
52 "//testing/gtest", | 52 "//testing/gtest", |
53 ] | 53 ] |
54 } | 54 } |
OLD | NEW |