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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 static_library("renderer_context_menu") { | 7 static_library("renderer_context_menu") { |
8 sources = [ | 8 sources = [ |
9 "context_menu_content_type.cc", | 9 "context_menu_content_type.cc", |
10 "context_menu_content_type.h", | 10 "context_menu_content_type.h", |
11 "context_menu_delegate.cc", | 11 "context_menu_delegate.cc", |
12 "context_menu_delegate.h", | 12 "context_menu_delegate.h", |
13 "render_view_context_menu_base.cc", | 13 "render_view_context_menu_base.cc", |
14 "render_view_context_menu_base.h", | 14 "render_view_context_menu_base.h", |
15 "render_view_context_menu_observer.cc", | 15 "render_view_context_menu_observer.cc", |
16 "render_view_context_menu_observer.h", | 16 "render_view_context_menu_observer.h", |
17 "render_view_context_menu_proxy.h", | 17 "render_view_context_menu_proxy.h", |
18 ] | 18 ] |
19 | 19 |
| 20 deps = [ |
| 21 "//base", |
| 22 "//components/search_engines", |
| 23 "//content/public/browser", |
| 24 "//content/public/common", |
| 25 "//third_party/WebKit/public:blink_headers", |
| 26 "//ui/base", |
| 27 ] |
| 28 |
20 if (toolkit_views) { | 29 if (toolkit_views) { |
21 sources += [ | 30 sources += [ |
22 "views/toolkit_delegate_views.cc", | 31 "views/toolkit_delegate_views.cc", |
23 "views/toolkit_delegate_views.h", | 32 "views/toolkit_delegate_views.h", |
24 ] | 33 ] |
| 34 deps += [ "//ui/views" ] |
25 } | 35 } |
26 | |
27 deps = [ | |
28 "//base", | |
29 "//components/search_engines", | |
30 "//content/public/browser", | |
31 "//third_party/WebKit/public:blink_headers", | |
32 ] | |
33 } | 36 } |
OLD | NEW |