OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 import("//tools/grit/grit_rule.gni") | 9 import("//tools/grit/grit_rule.gni") |
10 | 10 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 "//components/version_info", | 121 "//components/version_info", |
122 "//content/public/common", | 122 "//content/public/common", |
123 "//ui/base", | 123 "//ui/base", |
124 ] | 124 ] |
125 } | 125 } |
126 | 126 |
127 source_set("feature") { | 127 source_set("feature") { |
128 sources = [ | 128 sources = [ |
129 "feature/engine_render_widget_feature.cc", | 129 "feature/engine_render_widget_feature.cc", |
130 "feature/engine_render_widget_feature.h", | 130 "feature/engine_render_widget_feature.h", |
| 131 "feature/engine_settings_feature.cc", |
| 132 "feature/engine_settings_feature.h", |
131 ] | 133 ] |
132 | 134 |
133 deps = [ | 135 deps = [ |
134 "//base", | 136 "//base", |
135 "//blimp/common/proto", | 137 "//blimp/common/proto", |
136 "//ui/base", | 138 "//ui/base", |
137 "//ui/base/ime", | 139 "//ui/base/ime", |
138 "//ui/resources", | 140 "//ui/resources", |
139 "//ui/wm", | 141 "//ui/wm", |
140 ] | 142 ] |
141 } | 143 } |
142 | 144 |
143 source_set("session") { | 145 source_set("session") { |
144 sources = [ | 146 sources = [ |
145 "session/blimp_engine_session.cc", | 147 "session/blimp_engine_session.cc", |
146 "session/blimp_engine_session.h", | 148 "session/blimp_engine_session.h", |
| 149 "session/engine_settings.cc", |
| 150 "session/engine_settings.h", |
| 151 "session/settings_manager.cc", |
| 152 "session/settings_manager.h", |
147 ] | 153 ] |
148 | 154 |
149 deps = [ | 155 deps = [ |
150 ":feature", | 156 ":feature", |
151 "//base", | 157 "//base", |
152 "//blimp/common:blimp_common", | 158 "//blimp/common:blimp_common", |
153 "//blimp/common/proto", | 159 "//blimp/common/proto", |
154 "//blimp/net:blimp_net", | 160 "//blimp/net:blimp_net", |
155 "//content", | 161 "//content", |
156 "//net", | 162 "//net", |
(...skipping 17 matching lines...) Expand all Loading... |
174 "//testing/gtest", | 180 "//testing/gtest", |
175 "//ui/gfx:test_support", | 181 "//ui/gfx:test_support", |
176 ] | 182 ] |
177 } | 183 } |
178 | 184 |
179 source_set("feature_unit_tests") { | 185 source_set("feature_unit_tests") { |
180 testonly = true | 186 testonly = true |
181 | 187 |
182 sources = [ | 188 sources = [ |
183 "feature/engine_render_widget_feature_unittest.cc", | 189 "feature/engine_render_widget_feature_unittest.cc", |
| 190 "feature/engine_settings_feature_unittest.cc", |
184 ] | 191 ] |
185 | 192 |
186 deps = [ | 193 deps = [ |
187 ":feature", | 194 ":feature", |
188 "//base", | 195 "//base", |
189 "//base/test:run_all_unittests", | 196 "//base/test:run_all_unittests", |
190 "//base/test:test_support", | 197 "//base/test:test_support", |
191 "//blimp/common/proto", | 198 "//blimp/common/proto", |
192 "//content", | 199 "//content", |
193 "//testing/gmock", | 200 "//testing/gmock", |
194 "//testing/gtest", | 201 "//testing/gtest", |
195 ] | 202 ] |
196 } | 203 } |
197 | 204 |
| 205 source_set("session_unit_tests") { |
| 206 testonly = true |
| 207 |
| 208 sources = [ |
| 209 "session/settings_manager_unittest.cc", |
| 210 ] |
| 211 |
| 212 deps = [ |
| 213 ":session", |
| 214 "//base", |
| 215 "//base/test:run_all_unittests", |
| 216 "//base/test:test_support", |
| 217 "//testing/gmock", |
| 218 "//testing/gtest", |
| 219 ] |
| 220 } |
| 221 |
198 source_set("unit_tests") { | 222 source_set("unit_tests") { |
199 testonly = true | 223 testonly = true |
200 | 224 |
201 deps = [ | 225 deps = [ |
202 ":app_unit_tests", | 226 ":app_unit_tests", |
203 ":feature_unit_tests", | 227 ":feature_unit_tests", |
| 228 ":session_unit_tests", |
204 ] | 229 ] |
205 } | 230 } |
206 | 231 |
207 if (is_linux) { | 232 if (is_linux) { |
208 executable("blimp_engine_app") { | 233 executable("blimp_engine_app") { |
209 sources = [ | 234 sources = [ |
210 "app/blimp_main.cc", | 235 "app/blimp_main.cc", |
211 ] | 236 ] |
212 | 237 |
213 deps = [ | 238 deps = [ |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 _rebased_dockerfile, | 289 _rebased_dockerfile, |
265 "--startup-script", | 290 "--startup-script", |
266 _rebased_startup_script, | 291 _rebased_startup_script, |
267 "--manifest", | 292 "--manifest", |
268 _rebased_manifest, | 293 _rebased_manifest, |
269 "--output", | 294 "--output", |
270 rebase_path(_bundle), | 295 rebase_path(_bundle), |
271 ] | 296 ] |
272 } | 297 } |
273 } | 298 } |
OLD | NEW |