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

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

Powered by Google App Engine
This is Rietveld 408576698