| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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") |
| 6 |
| 5 source_set("run_all_service_tests") { | 7 source_set("run_all_service_tests") { |
| 6 # This target is in a separate directory because we want to expand DEPS so | 8 # This target is in a separate directory because we want to expand DEPS so |
| 7 # that it not all of //services can access //ui. | 9 # that it not all of //services can access //ui. |
| 8 visibility = [ "//services:*" ] | 10 visibility = [ "//services:*" ] |
| 9 | 11 |
| 10 testonly = true | 12 testonly = true |
| 11 | 13 |
| 12 sources = [ | 14 sources = [ |
| 13 "run_all_service_tests.cc", | 15 "run_all_service_tests.cc", |
| 14 ] | 16 ] |
| 15 | 17 |
| 16 deps = [ | 18 deps = [ |
| 17 "//base", | 19 "//base", |
| 18 "//base/test:test_support", | 20 "//base/test:test_support", |
| 19 "//services/service_manager/public/cpp/test:common_initialization", | 21 "//services/service_manager/public/cpp/test:common_initialization", |
| 20 "//ui/base", | 22 "//ui/base", |
| 21 ] | 23 ] |
| 22 | 24 |
| 23 data_deps = [ | 25 data_deps = [ |
| 24 "//ui/resources:ui_test_pak_data", | 26 "//ui/resources:ui_test_pak_data", |
| 25 ] | 27 ] |
| 26 | 28 |
| 27 if (is_android) { | 29 if (is_android) { |
| 28 deps += [ "//mojo/android:libsystem_java" ] | 30 deps += [ "//mojo/android:libsystem_java" ] |
| 29 } | 31 } |
| 32 |
| 33 if (use_ozone) { |
| 34 deps += [ "//ui/ozone" ] |
| 35 } |
| 30 } | 36 } |
| OLD | NEW |