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

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

Issue 1288583002: Add MGL entry points and port spinning_cube to use them (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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/public/c/gpu/MGL/mgl_types.h ('k') | mojo/public/platform/native/mgl_onscreen_thunks.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 assert(!defined(is_nacl) || !is_nacl) 5 assert(!defined(is_nacl) || !is_nacl)
6 6
7 import("../../mojo_sdk.gni") 7 import("../../mojo_sdk.gni")
8 8
9 mojo_sdk_source_set("system") { 9 mojo_sdk_source_set("system") {
10 sources = [ 10 sources = [
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 "mojo/public/c/gles2:headers", 98 "mojo/public/c/gles2:headers",
99 "mojo/public/c/environment", 99 "mojo/public/c/environment",
100 "mojo/public/c/system", 100 "mojo/public/c/system",
101 ] 101 ]
102 102
103 if (is_mac) { 103 if (is_mac) {
104 # TODO(GYP): Make it a run-path dependent library. 104 # TODO(GYP): Make it a run-path dependent library.
105 # 'DYLIB_INSTALL_NAME_BASE': '@loader_path', 105 # 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
106 } 106 }
107 } 107 }
108
109 mojo_sdk_source_set("gpu_thunks") {
110 sources = []
111 }
112
113 mojo_sdk_source_set("mgl_thunks") {
114 sources = [
115 "mgl_thunks.c",
116 "mgl_thunks.h",
117 ]
118
119 mojo_sdk_deps = [ "mojo/public/c/gpu:MGL" ]
120 }
121
122 mojo_sdk_source_set("mgl_onscreen_thunks") {
123 sources = [
124 "mgl_onscreen_thunks.c",
125 "mgl_onscreen_thunks.h",
126 ]
127
128 mojo_sdk_deps = [ "mojo/public/c/gpu:MGL_onscreen" ]
129 }
OLDNEW
« no previous file with comments | « mojo/public/c/gpu/MGL/mgl_types.h ('k') | mojo/public/platform/native/mgl_onscreen_thunks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698