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

Side by Side Diff: mojo/go/rules.gni

Issue 2236083002: Move mojo/public/c/gpu/* to mojo/public/c/include. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: foo Created 4 years, 4 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/gles2/mgl_unittest.cc ('k') | mojo/gpu/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 declare_args() { 5 declare_args() {
6 # By default, there is no go build tool, because go builds are not supported. 6 # By default, there is no go build tool, because go builds are not supported.
7 go_build_tool = "" 7 go_build_tool = ""
8 } 8 }
9 9
10 # Declare a go library. 10 # Declare a go library.
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 209
210 template("go_mojo_application") { 210 template("go_mojo_application") {
211 assert(is_android || is_linux || is_mac) 211 assert(is_android || is_linux || is_mac)
212 assert(defined(invoker.sources)) 212 assert(defined(invoker.sources))
213 assert(go_build_tool != "") 213 assert(go_build_tool != "")
214 214
215 static_library_name = target_name + "_static_library" 215 static_library_name = target_name + "_static_library"
216 static_library(static_library_name) { 216 static_library(static_library_name) {
217 complete_static_lib = true 217 complete_static_lib = true
218 deps = [ 218 deps = [
219 "//mojo/public/platform/native:system", 219 "//mojo/public/platform/native:system_thunks",
220 ] 220 ]
221 } 221 }
222 222
223 go_library_name = target_name + "_go" 223 go_library_name = target_name + "_go"
224 action(go_library_name) { 224 action(go_library_name) {
225 deps = invoker.deps + [ 225 deps = invoker.deps + [
226 ":${static_library_name}", 226 ":${static_library_name}",
227 "//mojo/go:application", 227 "//mojo/go:application",
228 "//mojo/go:platform_cgo", 228 "//mojo/go:platform_cgo",
229 "//mojo/public/c:system", 229 "//mojo/public/c:system",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 ":${go_library_name}", 269 ":${go_library_name}",
270 ] 270 ]
271 sources = [ 271 sources = [
272 "${target_out_dir}/${go_library_name}", 272 "${target_out_dir}/${go_library_name}",
273 ] 273 ]
274 outputs = [ 274 outputs = [
275 "${root_out_dir}/${target_name}.mojo", 275 "${root_out_dir}/${target_name}.mojo",
276 ] 276 ]
277 } 277 }
278 } 278 }
OLDNEW
« no previous file with comments | « mojo/gles2/mgl_unittest.cc ('k') | mojo/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698