| 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("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
| 9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
| 10 import("//tools/grit/grit_rule.gni") | 10 import("//tools/grit/grit_rule.gni") |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 "//ui/platform_window/stub/", | 116 "//ui/platform_window/stub/", |
| 117 ] | 117 ] |
| 118 } | 118 } |
| 119 | 119 |
| 120 source_set("common") { | 120 source_set("common") { |
| 121 sources = [ | 121 sources = [ |
| 122 "common/blimp_browser_context.cc", | 122 "common/blimp_browser_context.cc", |
| 123 "common/blimp_browser_context.h", | 123 "common/blimp_browser_context.h", |
| 124 "common/blimp_content_client.cc", | 124 "common/blimp_content_client.cc", |
| 125 "common/blimp_content_client.h", | 125 "common/blimp_content_client.h", |
| 126 "common/blimp_pref_store.cc", |
| 127 "common/blimp_pref_store.h", |
| 126 ] | 128 ] |
| 127 | 129 |
| 128 deps = [ | 130 deps = [ |
| 129 "//base", | 131 "//base", |
| 132 "//components/prefs", |
| 130 "//components/version_info", | 133 "//components/version_info", |
| 131 "//content/public/common", | 134 "//content/public/common", |
| 132 "//ui/base", | 135 "//ui/base", |
| 133 ] | 136 ] |
| 134 } | 137 } |
| 135 | 138 |
| 136 source_set("feature") { | 139 source_set("feature") { |
| 137 sources = [ | 140 sources = [ |
| 138 "feature/engine_render_widget_feature.cc", | 141 "feature/engine_render_widget_feature.cc", |
| 139 "feature/engine_render_widget_feature.h", | 142 "feature/engine_render_widget_feature.h", |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 ":app", | 220 ":app", |
| 218 "//base", | 221 "//base", |
| 219 "//base/test:run_all_unittests", | 222 "//base/test:run_all_unittests", |
| 220 "//base/test:test_support", | 223 "//base/test:test_support", |
| 221 "//testing/gmock", | 224 "//testing/gmock", |
| 222 "//testing/gtest", | 225 "//testing/gtest", |
| 223 "//ui/gfx:test_support", | 226 "//ui/gfx:test_support", |
| 224 ] | 227 ] |
| 225 } | 228 } |
| 226 | 229 |
| 230 source_set("common_unit_tests") { |
| 231 testonly = true |
| 232 |
| 233 sources = [ |
| 234 "common/blimp_pref_store_unittest.cc", |
| 235 ] |
| 236 |
| 237 deps = [ |
| 238 ":common", |
| 239 "//base", |
| 240 "//base/test:run_all_unittests", |
| 241 "//base/test:test_support", |
| 242 "//components/prefs:test_support", |
| 243 "//testing/gmock", |
| 244 "//testing/gtest", |
| 245 ] |
| 246 } |
| 247 |
| 227 source_set("feature_unit_tests") { | 248 source_set("feature_unit_tests") { |
| 228 testonly = true | 249 testonly = true |
| 229 | 250 |
| 230 sources = [ | 251 sources = [ |
| 231 "feature/engine_render_widget_feature_unittest.cc", | 252 "feature/engine_render_widget_feature_unittest.cc", |
| 232 "feature/engine_settings_feature_unittest.cc", | 253 "feature/engine_settings_feature_unittest.cc", |
| 233 ] | 254 ] |
| 234 | 255 |
| 235 deps = [ | 256 deps = [ |
| 236 ":feature", | 257 ":feature", |
| 237 "//base", | 258 "//base", |
| 238 "//base/test:run_all_unittests", | 259 "//base/test:run_all_unittests", |
| 239 "//base/test:test_support", | 260 "//base/test:test_support", |
| 240 "//blimp/common/proto", | 261 "//blimp/common/proto", |
| 241 "//content", | 262 "//content", |
| 242 "//testing/gmock", | 263 "//testing/gmock", |
| 243 "//testing/gtest", | 264 "//testing/gtest", |
| 244 ] | 265 ] |
| 245 } | 266 } |
| 246 | 267 |
| 247 source_set("unit_tests") { | 268 source_set("unit_tests") { |
| 248 testonly = true | 269 testonly = true |
| 249 | 270 |
| 250 deps = [ | 271 deps = [ |
| 251 ":app_unit_tests", | 272 ":app_unit_tests", |
| 273 ":common_unit_tests", |
| 252 ":feature_unit_tests", | 274 ":feature_unit_tests", |
| 253 ] | 275 ] |
| 254 } | 276 } |
| 255 | 277 |
| 256 if (is_linux) { | 278 if (is_linux) { |
| 257 executable("blimp_engine_app") { | 279 executable("blimp_engine_app") { |
| 258 sources = [ | 280 sources = [ |
| 259 "app/blimp_main.cc", | 281 "app/blimp_main.cc", |
| 260 ] | 282 ] |
| 261 | 283 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 _rebased_dockerfile, | 335 _rebased_dockerfile, |
| 314 "--startup-script", | 336 "--startup-script", |
| 315 _rebased_startup_script, | 337 _rebased_startup_script, |
| 316 "--manifest", | 338 "--manifest", |
| 317 _rebased_manifest, | 339 _rebased_manifest, |
| 318 "--output", | 340 "--output", |
| 319 rebase_path(_bundle), | 341 rebase_path(_bundle), |
| 320 ] | 342 ] |
| 321 } | 343 } |
| 322 } | 344 } |
| OLD | NEW |