| 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 'target_name': 'mojo_gles2', |
| 48 'type': 'static_library', |
| 49 'defines': [ |
| 50 'MOJO_GLES2_IMPLEMENTATION', |
| 51 'GLES2_USE_MOJO', |
| 52 ], |
| 53 'include_dirs': [ |
| 54 '..', |
| 55 ], |
| 56 'dependencies': [ |
| 57 '../third_party/khronos/khronos.gyp:khronos_headers' |
| 58 ], |
| 59 'direct_dependent_settings': { |
| 60 'include_dirs': [ |
| 61 '..', |
| 62 ], |
| 63 'defines': [ |
| 64 'GLES2_USE_MOJO', |
| 65 ], |
| 66 }, |
| 67 'all_dependent_settings': { |
| 68 'conditions': [ |
| 69 # We need to be able to call the MojoSetGLES2Thunks() function in |
| 70 # gles2_thunks.cc |
| 71 ['OS=="android"', { |
| 72 'ldflags!': [ |
| 73 '-Wl,--exclude-libs=ALL', |
| 74 ], |
| 75 }], |
| 76 ], |
| 77 }, |
| 78 'sources': [ |
| 79 'public/c/gles2/gles2.h', |
| 80 'public/c/gles2/gles2_export.h', |
| 81 'public/platform/native/gles2_thunks.cc', |
| 82 'public/platform/native/gles2_thunks.h', |
| 83 ], |
| 84 }, |
| 85 { |
| 47 # GN version: //mojo/public/cpp/bindings | 86 # GN version: //mojo/public/cpp/bindings |
| 48 'target_name': 'mojo_cpp_bindings', | 87 'target_name': 'mojo_cpp_bindings', |
| 49 'type': 'static_library', | 88 'type': 'static_library', |
| 50 'include_dirs': [ | 89 'include_dirs': [ |
| 51 '..' | 90 '..' |
| 52 ], | 91 ], |
| 53 'sources': [ | 92 'sources': [ |
| 54 'public/cpp/bindings/array.h', | 93 'public/cpp/bindings/array.h', |
| 55 'public/cpp/bindings/callback.h', | 94 'public/cpp/bindings/callback.h', |
| 56 'public/cpp/bindings/error_handler.h', | 95 'public/cpp/bindings/error_handler.h', |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 }, | 261 }, |
| 223 'dependencies': [ | 262 'dependencies': [ |
| 224 'mojo_public_java', | 263 'mojo_public_java', |
| 225 ], | 264 ], |
| 226 'includes': [ '../build/java.gypi' ], | 265 'includes': [ '../build/java.gypi' ], |
| 227 }, | 266 }, |
| 228 ], | 267 ], |
| 229 }], | 268 }], |
| 230 ], | 269 ], |
| 231 } | 270 } |
| OLD | NEW |