OLD | NEW |
1 { | 1 { |
2 'targets': [ | 2 'targets': [ |
3 { | 3 { |
4 'target_name': 'mojo_gles2_bindings', | 4 'target_name': 'mojo_gles2_bindings', |
5 'type': 'static_library', | 5 'type': 'static_library', |
6 'sources': [ | 6 'sources': [ |
7 'services/gles2/command_buffer.mojom', | 7 'services/gles2/command_buffer.mojom', |
8 'services/gles2/command_buffer_type_conversions.cc', | 8 'services/gles2/command_buffer_type_conversions.cc', |
9 'services/gles2/command_buffer_type_conversions.h', | 9 'services/gles2/command_buffer_type_conversions.h', |
10 'services/gles2/mojo_buffer_backing.cc', | 10 'services/gles2/mojo_buffer_backing.cc', |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 'conditions': [ | 90 'conditions': [ |
91 ['OS=="win" or OS=="android" or OS=="linux" or OS=="mac"', { | 91 ['OS=="win" or OS=="android" or OS=="linux" or OS=="mac"', { |
92 'sources!': [ | 92 'sources!': [ |
93 'services/native_viewport/native_viewport_stub.cc', | 93 'services/native_viewport/native_viewport_stub.cc', |
94 ], | 94 ], |
95 }], | 95 }], |
96 ['OS=="android"', { | 96 ['OS=="android"', { |
97 'dependencies': [ | 97 'dependencies': [ |
98 'mojo_jni_headers', | 98 'mojo_jni_headers', |
99 ], | 99 ], |
| 100 'ldflags!': [ |
| 101 # Remove default export list because this lib has different exports. |
| 102 '-Wl,--version-script="<(android_linker_script)"', |
| 103 ], |
| 104 'ldflags': [ |
| 105 # Don't export symbols from statically linked libraries. |
| 106 '-Wl,--exclude-libs=ALL', |
| 107 ], |
100 }], | 108 }], |
101 ], | 109 ], |
102 }, | 110 }, |
103 ], | 111 ], |
104 } | 112 } |
OLD | NEW |