| 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 source_set("system") { | 7 source_set("system") { |
| 8 sources = [ | 8 sources = [ |
| 9 "system_thunks.cc", | 9 "system_thunks.cc", |
| 10 "system_thunks.h", | 10 "system_thunks.h", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 "gles2_impl_thunks.h", | 32 "gles2_impl_thunks.h", |
| 33 "gles2_thunks.cc", | 33 "gles2_thunks.cc", |
| 34 "gles2_thunks.h", | 34 "gles2_thunks.h", |
| 35 ] | 35 ] |
| 36 | 36 |
| 37 defines = [ "MOJO_GLES2_IMPLEMENTATION" ] | 37 defines = [ "MOJO_GLES2_IMPLEMENTATION" ] |
| 38 | 38 |
| 39 configs += [ "//third_party/khronos:khronos_headers" ] | 39 configs += [ "//third_party/khronos:khronos_headers" ] |
| 40 | 40 |
| 41 deps = [ | 41 deps = [ |
| 42 "//mojo/public/c/environment", |
| 42 "//mojo/public/c/gles2", | 43 "//mojo/public/c/gles2", |
| 43 "//mojo/public/c/environment", | |
| 44 "//mojo/public/c/system", | 44 "//mojo/public/c/system", |
| 45 ] | 45 ] |
| 46 | 46 |
| 47 if (is_mac) { | 47 if (is_mac) { |
| 48 # TODO(GYP): Make it a run-path dependent library. | 48 # TODO(GYP): Make it a run-path dependent library. |
| 49 # 'DYLIB_INSTALL_NAME_BASE': '@loader_path', | 49 # 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
| 50 } | 50 } |
| 51 } | 51 } |
| 52 | 52 |
| 53 source_set("gpu_thunks") { | 53 source_set("gpu_thunks") { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 68 source_set("mgl_onscreen_thunks") { | 68 source_set("mgl_onscreen_thunks") { |
| 69 sources = [ | 69 sources = [ |
| 70 "mgl_onscreen_thunks.c", | 70 "mgl_onscreen_thunks.c", |
| 71 "mgl_onscreen_thunks.h", | 71 "mgl_onscreen_thunks.h", |
| 72 ] | 72 ] |
| 73 | 73 |
| 74 deps = [ | 74 deps = [ |
| 75 "//mojo/public/c/gpu:MGL_onscreen", | 75 "//mojo/public/c/gpu:MGL_onscreen", |
| 76 ] | 76 ] |
| 77 } | 77 } |
| OLD | NEW |