OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |