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 { | |
87 # GN version: //mojo/public/cpp/bindings | 47 # GN version: //mojo/public/cpp/bindings |
88 'target_name': 'mojo_cpp_bindings', | 48 'target_name': 'mojo_cpp_bindings', |
89 'type': 'static_library', | 49 'type': 'static_library', |
90 'include_dirs': [ | 50 'include_dirs': [ |
91 '..' | 51 '..' |
92 ], | 52 ], |
93 'sources': [ | 53 'sources': [ |
94 'public/cpp/bindings/array.h', | 54 'public/cpp/bindings/array.h', |
95 'public/cpp/bindings/callback.h', | 55 'public/cpp/bindings/callback.h', |
96 'public/cpp/bindings/error_handler.h', | 56 'public/cpp/bindings/error_handler.h', |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 }, | 226 }, |
267 'dependencies': [ | 227 'dependencies': [ |
268 'mojo_public_java', | 228 'mojo_public_java', |
269 ], | 229 ], |
270 'includes': [ '../build/java.gypi' ], | 230 'includes': [ '../build/java.gypi' ], |
271 }, | 231 }, |
272 ], | 232 ], |
273 }], | 233 }], |
274 ], | 234 ], |
275 } | 235 } |
OLD | NEW |