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

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: 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 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 28 matching lines...) Expand all
71 public_deps = [ 75 public_deps = [
72 ":KHR", 76 ":KHR",
73 ] 77 ]
74 } 78 }
75 79
76 mojo_sdk_source_set("KHR") { 80 mojo_sdk_source_set("KHR") {
77 sources = [ 81 sources = [
78 "KHR/khrplatform.h", 82 "KHR/khrplatform.h",
79 ] 83 ]
80 } 84 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698