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

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
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 "mojo_initial_handle.h", 9 "mojo_initial_handle.h",
10 "mojo_irt.h", 10 "mojo_irt.h",
11 ] 11 ]
12 mojo_sdk_deps = [ "mojo/public/c/system" ] 12 mojo_sdk_deps = [
13 "mojo/public/c/gpu:MGL",
14 "mojo/public/c/gpu:MGL_onscreen",
15 "mojo/public/c/gpu:MGL_signal_sync_point",
16 "mojo/public/c/system",
17 ]
13 } 18 }
14 19
15 # Untrusted code 20 # Untrusted code
16 if (is_nacl) { 21 if (is_nacl) {
17 # Thunk mapping the Mojo public API onto NaCl syscalls. 22 # Thunk mapping the Mojo public API onto NaCl syscalls.
18 mojo_sdk_source_set("mojo") { 23 mojo_sdk_source_set("mojo") {
19 sources = [ 24 sources = [
20 "libmojo.cc", 25 "libmojo.cc",
21 ] 26 ]
22 mojo_sdk_deps = [ "mojo/public/c/system" ] 27 mojo_sdk_deps = [ "mojo/public/c/system" ]
23 deps = [ 28 deps = [
24 ":mojo_irt_header", 29 ":mojo_irt_header",
25 ] 30 ]
26 } 31 }
27 32
28 mojo_sdk_source_set("system") { 33 mojo_sdk_source_set("system") {
29 sources = [ 34 sources = [
30 "mojo_main_thunk.cc", 35 "mojo_main_thunk.cc",
31 ] 36 ]
32 mojo_sdk_deps = [ 37 mojo_sdk_deps = [
33 "mojo/public/c/system", 38 "mojo/public/c/system",
34 "mojo/public/platform/nacl:mojo", 39 "mojo/public/platform/nacl:mojo",
35 "mojo/public/platform/nacl:mojo_irt_header", 40 "mojo/public/platform/nacl:mojo_irt_header",
36 ] 41 ]
37 deps = [ 42 deps = [
38 ":mojo_irt_header", 43 ":mojo_irt_header",
39 ] 44 ]
40 } 45 }
41 } 46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698