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

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

Issue 1317173003: Stop using //third_party/khronos headers in SDK (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
« no previous file with comments | « mojo/public/c/gles2/BUILD.gn ('k') | no next file » | 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 "gles2_impl_oes_vertex_array_object_thunks.cc", 89 "gles2_impl_oes_vertex_array_object_thunks.cc",
90 "gles2_impl_oes_vertex_array_object_thunks.h", 90 "gles2_impl_oes_vertex_array_object_thunks.h",
91 "gles2_impl_thunks.cc", 91 "gles2_impl_thunks.cc",
92 "gles2_impl_thunks.h", 92 "gles2_impl_thunks.h",
93 "gles2_thunks.cc", 93 "gles2_thunks.cc",
94 "gles2_thunks.h", 94 "gles2_thunks.h",
95 ] 95 ]
96 96
97 defines = [ "MOJO_GLES2_IMPLEMENTATION" ] 97 defines = [ "MOJO_GLES2_IMPLEMENTATION" ]
98 98
99 configs = [ "//third_party/khronos:khronos_headers" ] 99 configs = [ "../../c/gpu:gpu_configs" ]
100 100
101 mojo_sdk_deps = [ 101 mojo_sdk_deps = [
102 "mojo/public/c/gles2:headers", 102 "mojo/public/c/gles2:headers",
103 "mojo/public/c/environment", 103 "mojo/public/c/environment",
104 "mojo/public/c/system", 104 "mojo/public/c/system",
105 ] 105 ]
106
107 if (is_mac) {
108 # TODO(GYP): Make it a run-path dependent library.
109 # 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
110 }
111 } 106 }
112 107
113 mojo_sdk_source_set("gpu_thunks") { 108 mojo_sdk_source_set("gpu_thunks") {
114 sources = [] 109 sources = []
115 } 110 }
116 111
117 mojo_sdk_source_set("mgl_thunks") { 112 mojo_sdk_source_set("mgl_thunks") {
118 sources = [ 113 sources = [
119 "mgl_thunks.c", 114 "mgl_thunks.c",
120 "mgl_thunks.h", 115 "mgl_thunks.h",
121 ] 116 ]
122 117
123 mojo_sdk_deps = [ "mojo/public/c/gpu:MGL" ] 118 mojo_sdk_deps = [ "mojo/public/c/gpu:MGL" ]
124 } 119 }
125 120
126 mojo_sdk_source_set("mgl_onscreen_thunks") { 121 mojo_sdk_source_set("mgl_onscreen_thunks") {
127 sources = [ 122 sources = [
128 "mgl_onscreen_thunks.c", 123 "mgl_onscreen_thunks.c",
129 "mgl_onscreen_thunks.h", 124 "mgl_onscreen_thunks.h",
130 ] 125 ]
131 126
132 mojo_sdk_deps = [ "mojo/public/c/gpu:MGL_onscreen" ] 127 mojo_sdk_deps = [ "mojo/public/c/gpu:MGL_onscreen" ]
133 } 128 }
OLDNEW
« no previous file with comments | « mojo/public/c/gles2/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698