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

Side by Side Diff: mojo/public/c/gpu/BUILD.gn

Issue 1320833003: Expose SignalSyncPoint through MGL api (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 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 ":GLES2", 18 ":GLES2",
18 "../../platform/native:mgl_thunks", 19 "../../platform/native:mgl_thunks",
19 "../../platform/native:gles2", 20 "../../platform/native:gles2",
20 ] 21 ]
21 } 22 }
22 23
23 group("gpu_onscreen") { 24 group("gpu_onscreen") {
24 public_deps = [ 25 public_deps = [
25 ":MGL_onscreen", 26 ":MGL_onscreen",
26 ] 27 ]
(...skipping 16 matching lines...) Expand all
43 mojo_sdk_source_set("MGL_onscreen") { 44 mojo_sdk_source_set("MGL_onscreen") {
44 sources = [ 45 sources = [
45 "MGL/mgl_onscreen.h", 46 "MGL/mgl_onscreen.h",
46 ] 47 ]
47 48
48 public_deps = [ 49 public_deps = [
49 ":MGL", 50 ":MGL",
50 ] 51 ]
51 } 52 }
52 53
54 mojo_sdk_source_set("MGL_signal_sync_point") {
55 sources = [
56 "MGL/mgl_signal_sync_point.h",
57 ]
58
59 public_deps = [
60 ":MGL",
61 ]
62 }
63
53 mojo_sdk_source_set("GLES2") { 64 mojo_sdk_source_set("GLES2") {
54 sources = [ 65 sources = [
55 "GLES2/gl2.h", 66 "GLES2/gl2.h",
56 "GLES2/gl2ext.h", 67 "GLES2/gl2ext.h",
57 "GLES2/gl2mojo.h", 68 "GLES2/gl2mojo.h",
58 ] 69 ]
59 70
60 public_deps = [ 71 public_deps = [
61 ":KHR", 72 ":KHR",
62 ] 73 ]
63 } 74 }
64 75
65 mojo_sdk_source_set("KHR") { 76 mojo_sdk_source_set("KHR") {
66 sources = [ 77 sources = [
67 "KHR/khrplatform.h", 78 "KHR/khrplatform.h",
68 ] 79 ]
69 } 80 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698