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

Side by Side Diff: mojo/public/mojo_application_manifest.gni

Issue 1918143004: Convert Mojo tests to use swarming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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 | « mojo/public/js/BUILD.gn ('k') | mojo/tools/apptest_runner.py » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//mojo/public/mojo_constants.gni") 5 import("//mojo/public/mojo_constants.gni")
6 6
7 # Used to produce a Mojo Application Manifest for an application. 7 # Used to produce a Mojo Application Manifest for an application.
8 # 8 #
9 # Parameters: 9 # Parameters:
10 # 10 #
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 } 100 }
101 101
102 if (defined(invoker.packaged_applications)) { 102 if (defined(invoker.packaged_applications)) {
103 foreach(application_name, invoker.packaged_applications) { 103 foreach(application_name, invoker.packaged_applications) {
104 input = "$root_out_dir/$mojo_application_subdir/$application_name/manife st.json" 104 input = "$root_out_dir/$mojo_application_subdir/$application_name/manife st.json"
105 inputs += [ input ] 105 inputs += [ input ]
106 args += [ rebase_path(input, root_build_dir) ] 106 args += [ rebase_path(input, root_build_dir) ]
107 } 107 }
108 } 108 }
109 deps = [] 109 deps = []
110 data_deps = []
110 if (defined(invoker.deps)) { 111 if (defined(invoker.deps)) {
111 deps += invoker.deps 112 deps += invoker.deps
113 data_deps += invoker.deps
112 } 114 }
113 if (defined(invoker.base_deps)) { 115 if (defined(invoker.base_deps)) {
114 deps += invoker.base_deps 116 deps += invoker.base_deps
117 data_deps += invoker.base_deps
115 } 118 }
116 } 119 }
117 120
118 all_deps = [] 121 all_deps = []
119 if (defined(invoker.deps)) { 122 if (defined(invoker.deps)) {
120 all_deps += invoker.deps 123 all_deps += invoker.deps
121 } 124 }
122 125
123 group("${target_name}__is_mojo_application_manifest") { 126 group("${target_name}__is_mojo_application_manifest") {
124 } 127 }
125 128
126 # Explicitly ensure that all dependencies are mojo_application_manifest 129 # Explicitly ensure that all dependencies are mojo_application_manifest
127 # targets themselves. 130 # targets themselves.
128 group("${target_name}__check_deps_are_all_mojo_application_manifest") { 131 group("${target_name}__check_deps_are_all_mojo_application_manifest") {
129 deps = [] 132 deps = []
130 foreach(d, all_deps) { 133 foreach(d, all_deps) {
131 name = get_label_info(d, "label_no_toolchain") 134 name = get_label_info(d, "label_no_toolchain")
132 toolchain = get_label_info(d, "toolchain") 135 toolchain = get_label_info(d, "toolchain")
133 deps += [ "${name}__is_mojo_application_manifest(${toolchain})" ] 136 deps += [ "${name}__is_mojo_application_manifest(${toolchain})" ]
134 } 137 }
135 } 138 }
136 } 139 }
OLDNEW
« no previous file with comments | « mojo/public/js/BUILD.gn ('k') | mojo/tools/apptest_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698