Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: mojo/application/BUILD.gn

Issue 1053493003: Make mojo/application:test_support a group target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wrap the source_set in a group target. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | mojo/services/html_viewer/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | mojo/services/html_viewer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698