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

Side by Side Diff: mojo/public/c/gpu/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, 1 month 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/nacl/sfi/BUILD.gn ('k') | mojo/public/platform/nacl/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 config("gpu_configs") { 7 config("gpu_configs") {
8 include_dirs = [ "." ] 8 include_dirs = [ "." ]
9 defines = [ "GLES2_USE_MOJO" ] 9 defines = [ "GLES2_USE_MOJO" ]
10 } 10 }
11 11
12 group("gpu") { 12 group("gpu") {
13 public_configs = [ ":gpu_configs" ] 13 public_configs = [ ":gpu_configs" ]
14 14
15 deps = [ 15 deps = [
16 ":MGL", 16 ":MGL",
17 ":MGL_signal_sync_point", 17 ":MGL_signal_sync_point",
18 ":GLES2", 18 ":GLES2",
19 "../../platform/native:mgl_thunks",
20 "../../platform/native:gles2", 19 "../../platform/native:gles2",
21 ] 20 ]
21 if (!is_nacl) {
22 deps += [ "../../platform/native:mgl_thunks" ]
23 }
22 } 24 }
23 25
24 group("gpu_onscreen") { 26 group("gpu_onscreen") {
25 public_deps = [ 27 public_deps = [
26 ":MGL_onscreen", 28 ":MGL_onscreen",
27 ] 29 ]
28 30
29 deps = [ 31 deps = [
30 ":gpu", 32 ":gpu",
31 "../../platform/native:mgl_onscreen_thunks",
32 ] 33 ]
34 if (!is_nacl) {
35 deps += [ "../../platform/native:mgl_onscreen_thunks" ]
36 }
33 } 37 }
34 38
35 mojo_sdk_source_set("MGL") { 39 mojo_sdk_source_set("MGL") {
36 sources = [ 40 sources = [
37 "MGL/mgl.h", 41 "MGL/mgl.h",
38 "MGL/mgl_types.h", 42 "MGL/mgl_types.h",
39 ] 43 ]
40 44
41 mojo_sdk_public_deps = [ "mojo/public/c/system" ] 45 mojo_sdk_public_deps = [ "mojo/public/c/system" ]
42 } 46 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 public_deps = [ 78 public_deps = [
75 ":KHR", 79 ":KHR",
76 ] 80 ]
77 } 81 }
78 82
79 mojo_sdk_source_set("KHR") { 83 mojo_sdk_source_set("KHR") {
80 sources = [ 84 sources = [
81 "KHR/khrplatform.h", 85 "KHR/khrplatform.h",
82 ] 86 ]
83 } 87 }
OLDNEW
« no previous file with comments | « mojo/nacl/sfi/BUILD.gn ('k') | mojo/public/platform/nacl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698