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

Side by Side Diff: mojo/public/platform/nacl/BUILD.gn

Issue 1413683003: Expose MGL interface through NaCl IRT (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Review feedback addressed Created 5 years, 2 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/c/gpu/BUILD.gn ('k') | mojo/public/platform/nacl/mgl_irt.h » ('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 import("../../mojo_sdk.gni") 5 import("../../mojo_sdk.gni")
6 6
7 mojo_sdk_source_set("mojo_irt_header") { 7 mojo_sdk_source_set("mojo_irt_header") {
8 sources = [ 8 sources = [
9 "mgl_irt.h",
9 "mojo_initial_handle.h", 10 "mojo_initial_handle.h",
10 "mojo_irt.h", 11 "mojo_irt.h",
11 ] 12 ]
12 mojo_sdk_deps = [ "mojo/public/c/system" ] 13 mojo_sdk_deps = [
14 "mojo/public/c/gpu:MGL",
15 "mojo/public/c/gpu:MGL_onscreen",
16 "mojo/public/c/gpu:MGL_signal_sync_point",
17 "mojo/public/c/system",
18 ]
13 } 19 }
14 20
15 # Untrusted code 21 # Untrusted code
16 if (is_nacl) { 22 if (is_nacl) {
17 # Thunk mapping the Mojo public API onto NaCl syscalls. 23 # Thunk mapping the Mojo public API onto NaCl syscalls.
18 mojo_sdk_source_set("mojo") { 24 mojo_sdk_source_set("mojo") {
19 sources = [ 25 sources = [
20 "libmojo.cc", 26 "libmojo.cc",
27 "mgl_irt.cc",
21 ] 28 ]
22 mojo_sdk_deps = [ "mojo/public/c/system" ] 29 mojo_sdk_deps = [ "mojo/public/c/system" ]
23 deps = [ 30 deps = [
24 ":mojo_irt_header", 31 ":mojo_irt_header",
25 ] 32 ]
26 } 33 }
27 34
28 mojo_sdk_source_set("system") { 35 mojo_sdk_source_set("system") {
29 sources = [ 36 sources = [
30 "mojo_main_thunk.cc", 37 "mojo_main_thunk.cc",
31 ] 38 ]
32 mojo_sdk_deps = [ 39 mojo_sdk_deps = [
33 "mojo/public/c/system", 40 "mojo/public/c/system",
34 "mojo/public/platform/nacl:mojo", 41 "mojo/public/platform/nacl:mojo",
35 "mojo/public/platform/nacl:mojo_irt_header", 42 "mojo/public/platform/nacl:mojo_irt_header",
36 ] 43 ]
37 deps = [ 44 deps = [
38 ":mojo_irt_header", 45 ":mojo_irt_header",
39 ] 46 ]
40 } 47 }
41 } 48 }
OLDNEW
« no previous file with comments | « mojo/public/c/gpu/BUILD.gn ('k') | mojo/public/platform/nacl/mgl_irt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698