OLD | NEW |
1 { | 1 { |
2 'targets': [ | 2 'targets': [ |
3 { | 3 { |
4 'target_name': 'mojo_system', | 4 'target_name': 'mojo_system', |
5 'type': 'static_library', | 5 'type': 'static_library', |
6 'defines': [ | 6 'defines': [ |
7 'MOJO_SYSTEM_IMPLEMENTATION', | 7 'MOJO_SYSTEM_IMPLEMENTATION', |
8 ], | 8 ], |
9 'include_dirs': [ | 9 'include_dirs': [ |
10 '..', | 10 '..', |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 'GLES2_USE_MOJO', | 44 'GLES2_USE_MOJO', |
45 ], | 45 ], |
46 }, | 46 }, |
47 'sources': [ | 47 'sources': [ |
48 'public/c/gles2/gles2.h', | 48 'public/c/gles2/gles2.h', |
49 'public/c/gles2/gles2_export.h', | 49 'public/c/gles2/gles2_export.h', |
50 'public/gles2/gles2_private.cc', | 50 'public/gles2/gles2_private.cc', |
51 'public/gles2/gles2_private.h', | 51 'public/gles2/gles2_private.h', |
52 ], | 52 ], |
53 'conditions': [ | 53 'conditions': [ |
| 54 ['OS=="android"', { |
| 55 'ldflags!': [ |
| 56 # Remove default export list because this lib has different exports. |
| 57 '-Wl,--version-script="<(android_linker_script)"', |
| 58 ], |
| 59 'ldflags': [ |
| 60 # Don't export symbols from statically linked libraries. |
| 61 '-Wl,--exclude-libs=ALL', |
| 62 ], |
| 63 }], |
54 ['OS=="mac"', { | 64 ['OS=="mac"', { |
55 'xcode_settings': { | 65 'xcode_settings': { |
56 # Make it a run-path dependent library. | 66 # Make it a run-path dependent library. |
57 'DYLIB_INSTALL_NAME_BASE': '@loader_path', | 67 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
58 }, | 68 }, |
59 }], | 69 }], |
60 ], | 70 ], |
61 }, | 71 }, |
62 { | 72 { |
63 'target_name': 'mojo_test_support', | 73 'target_name': 'mojo_test_support', |
64 'type': 'shared_library', | 74 'type': 'shared_library', |
65 'defines': [ | 75 'defines': [ |
66 'MOJO_TEST_SUPPORT_IMPLEMENTATION', | 76 'MOJO_TEST_SUPPORT_IMPLEMENTATION', |
67 ], | 77 ], |
68 'include_dirs': [ | 78 'include_dirs': [ |
69 '..', | 79 '..', |
70 ], | 80 ], |
71 'direct_dependent_settings': { | 81 'direct_dependent_settings': { |
72 'include_dirs': [ | 82 'include_dirs': [ |
73 '..', | 83 '..', |
74 ], | 84 ], |
75 }, | 85 }, |
76 'sources': [ | 86 'sources': [ |
77 'public/c/test_support/test_support.h', | 87 'public/c/test_support/test_support.h', |
78 'public/c/test_support/test_support_export.h', | 88 'public/c/test_support/test_support_export.h', |
79 'public/tests/test_support_private.cc', | 89 'public/tests/test_support_private.cc', |
80 'public/tests/test_support_private.h', | 90 'public/tests/test_support_private.h', |
81 ], | 91 ], |
82 'conditions': [ | 92 'conditions': [ |
| 93 ['OS=="android"', { |
| 94 'ldflags!': [ |
| 95 # Remove default export list because this lib has different exports. |
| 96 '-Wl,--version-script="<(android_linker_script)"', |
| 97 ], |
| 98 'ldflags': [ |
| 99 # Don't export symbols from statically linked libraries. |
| 100 '-Wl,--exclude-libs=ALL', |
| 101 ], |
| 102 }], |
83 ['OS=="mac"', { | 103 ['OS=="mac"', { |
84 'xcode_settings': { | 104 'xcode_settings': { |
85 # Make it a run-path dependent library. | 105 # Make it a run-path dependent library. |
86 'DYLIB_INSTALL_NAME_BASE': '@loader_path', | 106 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
87 }, | 107 }, |
88 }], | 108 }], |
89 ], | 109 ], |
90 }, | 110 }, |
91 { | 111 { |
92 'target_name': 'mojo_public_test_utils', | 112 'target_name': 'mojo_public_test_utils', |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 ], | 368 ], |
349 'dependencies': [ | 369 'dependencies': [ |
350 'mojo_shell_bindings', | 370 'mojo_shell_bindings', |
351 ], | 371 ], |
352 'export_dependent_settings': [ | 372 'export_dependent_settings': [ |
353 'mojo_shell_bindings', | 373 'mojo_shell_bindings', |
354 ], | 374 ], |
355 }, | 375 }, |
356 ], | 376 ], |
357 } | 377 } |
OLD | NEW |