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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //mojo/public/c/system | 8 # GN version: //mojo/public/c/system |
9 'target_name': 'mojo_system', | 9 'target_name': 'mojo_system', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 26 matching lines...) Expand all Loading... |
37 'public/c/system/functions.h', | 37 'public/c/system/functions.h', |
38 'public/c/system/macros.h', | 38 'public/c/system/macros.h', |
39 'public/c/system/message_pipe.h', | 39 'public/c/system/message_pipe.h', |
40 'public/c/system/system_export.h', | 40 'public/c/system/system_export.h', |
41 'public/c/system/types.h', | 41 'public/c/system/types.h', |
42 'public/platform/native/system_thunks.cc', | 42 'public/platform/native/system_thunks.cc', |
43 'public/platform/native/system_thunks.h', | 43 'public/platform/native/system_thunks.h', |
44 ], | 44 ], |
45 }, | 45 }, |
46 { | 46 { |
| 47 # GN version: //mojo/public/gles2 |
| 48 'target_name': 'mojo_gles2', |
| 49 'type': 'static_library', |
| 50 'defines': [ |
| 51 'MOJO_GLES2_IMPLEMENTATION', |
| 52 'GLES2_USE_MOJO', |
| 53 ], |
| 54 'include_dirs': [ |
| 55 '..', |
| 56 ], |
| 57 'dependencies': [ |
| 58 '../third_party/khronos/khronos.gyp:khronos_headers' |
| 59 ], |
| 60 'direct_dependent_settings': { |
| 61 'include_dirs': [ |
| 62 '..', |
| 63 ], |
| 64 'defines': [ |
| 65 'GLES2_USE_MOJO', |
| 66 ], |
| 67 }, |
| 68 'all_dependent_settings': { |
| 69 'conditions': [ |
| 70 # We need to be able to call the MojoSetGLES2Thunks() function in |
| 71 # gles2_thunks.cc |
| 72 ['OS=="android"', { |
| 73 'ldflags!': [ |
| 74 '-Wl,--exclude-libs=ALL', |
| 75 ], |
| 76 }], |
| 77 ], |
| 78 }, |
| 79 'sources': [ |
| 80 'public/c/gles2/gles2.h', |
| 81 'public/c/gles2/gles2_export.h', |
| 82 'public/platform/native/gles2_thunks.cc', |
| 83 'public/platform/native/gles2_thunks.h', |
| 84 ], |
| 85 }, |
| 86 { |
47 # GN version: //mojo/public/cpp/bindings | 87 # GN version: //mojo/public/cpp/bindings |
48 'target_name': 'mojo_cpp_bindings', | 88 'target_name': 'mojo_cpp_bindings', |
49 'type': 'static_library', | 89 'type': 'static_library', |
50 'include_dirs': [ | 90 'include_dirs': [ |
51 '..' | 91 '..' |
52 ], | 92 ], |
53 'sources': [ | 93 'sources': [ |
54 'public/cpp/bindings/array.h', | 94 'public/cpp/bindings/array.h', |
55 'public/cpp/bindings/callback.h', | 95 'public/cpp/bindings/callback.h', |
56 'public/cpp/bindings/error_handler.h', | 96 'public/cpp/bindings/error_handler.h', |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 }, | 266 }, |
227 'dependencies': [ | 267 'dependencies': [ |
228 'mojo_public_java', | 268 'mojo_public_java', |
229 ], | 269 ], |
230 'includes': [ '../build/java.gypi' ], | 270 'includes': [ '../build/java.gypi' ], |
231 }, | 271 }, |
232 ], | 272 ], |
233 }], | 273 }], |
234 ], | 274 ], |
235 } | 275 } |
OLD | NEW |