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 # GYP version: mojo/mojo_base.gyp:mojo_application_chromium | 5 # GYP version: mojo/mojo_base.gyp:mojo_application_chromium |
6 source_set("application") { | 6 source_set("application") { |
7 sources = [ | 7 sources = [ |
8 "application_runner_chromium.cc", | 8 "application_runner_chromium.cc", |
9 "application_runner_chromium.h", | 9 "application_runner_chromium.h", |
10 ] | 10 ] |
(...skipping 17 matching lines...) Expand all Loading... |
28 ":application", | 28 ":application", |
29 "//base", | 29 "//base", |
30 "//mojo/common", | 30 "//mojo/common", |
31 "//mojo/environment:chromium", | 31 "//mojo/environment:chromium", |
32 "//third_party/mojo/src/mojo/public/interfaces/application", | 32 "//third_party/mojo/src/mojo/public/interfaces/application", |
33 "//third_party/mojo_services/src/content_handler/public/interfaces", | 33 "//third_party/mojo_services/src/content_handler/public/interfaces", |
34 "//mojo/services/network/public/interfaces", | 34 "//mojo/services/network/public/interfaces", |
35 ] | 35 ] |
36 } | 36 } |
37 | 37 |
38 source_set("test_support") { | 38 source_set("test_support_source_set") { |
39 testonly = true | 39 testonly = true |
40 sources = [ | 40 sources = [ |
41 "application_test_base_chromium.cc", | 41 "application_test_base_chromium.cc", |
42 "application_test_base_chromium.h", | 42 "application_test_base_chromium.h", |
43 "application_test_main_chromium.cc", | 43 "application_test_main_chromium.cc", |
44 ] | 44 ] |
45 | 45 |
46 deps = [ | 46 deps = [ |
47 "//base", | 47 "//base", |
48 "//base/test:test_support", | 48 "//base/test:test_support", |
49 "//third_party/mojo/src/mojo/public/cpp/application:application", | 49 "//third_party/mojo/src/mojo/public/cpp/application:application", |
50 "//third_party/mojo/src/mojo/public/cpp/bindings", | 50 "//third_party/mojo/src/mojo/public/cpp/bindings", |
51 "//third_party/mojo/src/mojo/public/cpp/environment", | 51 "//third_party/mojo/src/mojo/public/cpp/environment", |
52 "//third_party/mojo/src/mojo/public/cpp/system", | 52 "//third_party/mojo/src/mojo/public/cpp/system", |
53 "//testing/gtest", | 53 "//testing/gtest", |
54 ] | 54 ] |
| 55 } |
55 | 56 |
56 # TODO(msw): Any apptest target should build mojo shell; see crbug.com/477104. | 57 # This group wraps the source_set above, so building any apptest that depends |
| 58 # on this target also builds this target's data_deps; see crbug.com/477104. |
| 59 group("test_support") { |
| 60 testonly = true |
| 61 public_deps = [ |
| 62 ":test_support_source_set", |
| 63 ] |
| 64 |
57 data_deps = [] | 65 data_deps = [] |
58 if (is_android) { | 66 if (is_android) { |
59 data_deps += [ "//mojo/android" ] | 67 data_deps += [ "//mojo/android" ] |
60 } | 68 } |
61 if (!is_component_build) { | 69 if (!is_component_build) { |
62 data_deps += [ "//mojo/shell:mojo_shell" ] | 70 data_deps += [ "//mojo/shell:mojo_shell" ] |
63 } | 71 } |
64 } | 72 } |
OLD | NEW |