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 assert(is_linux, "This file should only be referenced on Linux") | 5 assert(is_linux, "This file should only be referenced on Linux") |
6 | 6 |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 | 9 |
10 component("libgtk2ui") { | 10 component("libgtk2ui") { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 "//base:i18n", | 102 "//base:i18n", |
103 "//chrome/app/theme:theme_resources", | 103 "//chrome/app/theme:theme_resources", |
104 "//chrome:extra_resources", | 104 "//chrome:extra_resources", |
105 "//chrome:resources", | 105 "//chrome:resources", |
106 "//chrome:strings", | 106 "//chrome:strings", |
107 "//components/resources", | 107 "//components/resources", |
108 "//content/public/browser", | 108 "//content/public/browser", |
109 "//mojo/environment:chromium", | 109 "//mojo/environment:chromium", |
110 "//printing", | 110 "//printing", |
111 "//skia", | 111 "//skia", |
112 "//third_party/mojo/src/mojo/edk/system", | |
113 "//ui/aura", | 112 "//ui/aura", |
114 "//ui/base", | 113 "//ui/base", |
115 "//ui/base/ime", | 114 "//ui/base/ime", |
116 "//ui/events", | 115 "//ui/events", |
117 "//ui/events:events_base", | 116 "//ui/events:events_base", |
118 "//ui/gfx", | 117 "//ui/gfx", |
119 "//ui/gfx/x", | 118 "//ui/gfx/x", |
120 "//ui/native_theme", | 119 "//ui/native_theme", |
121 "//ui/resources", | 120 "//ui/resources", |
122 "//ui/shell_dialogs", | 121 "//ui/shell_dialogs", |
123 "//ui/strings", | 122 "//ui/strings", |
124 "//ui/views", | 123 "//ui/views", |
125 ] | 124 ] |
126 | 125 |
| 126 if (use_chrome_edk) { |
| 127 deps += [ "//mojo/edk/system" ] |
| 128 } else { |
| 129 deps += [ "//third_party/mojo/src/mojo/edk/system" ] |
| 130 } |
| 131 |
127 if (use_gtk3) { | 132 if (use_gtk3) { |
128 deps += [ | 133 deps += [ |
129 "//build/config/linux/gtk3", | 134 "//build/config/linux/gtk3", |
130 "//build/config/linux/gtk3:gtkprint3", | 135 "//build/config/linux/gtk3:gtkprint3", |
131 ] | 136 ] |
132 } else { | 137 } else { |
133 deps += [ | 138 deps += [ |
134 "//build/config/linux/gtk2", | 139 "//build/config/linux/gtk2", |
135 "//build/config/linux/gtk2:gtkprint2", | 140 "//build/config/linux/gtk2:gtkprint2", |
136 ] | 141 ] |
137 } | 142 } |
138 } | 143 } |
OLD | NEW |