OLD | NEW |
1 { | 1 { |
2 'targets': [ | 2 'targets': [ |
3 { | 3 { |
4 'target_name': 'mojo_system', | 4 'target_name': 'mojo_system', |
5 'type': 'shared_library', | 5 'type': 'shared_library', |
6 'defines': [ | 6 'defines': [ |
7 'MOJO_SYSTEM_IMPLEMENTATION', | 7 'MOJO_SYSTEM_IMPLEMENTATION', |
8 ], | 8 ], |
9 'include_dirs': [ | 9 'include_dirs': [ |
10 '..', | 10 '..', |
11 ], | 11 ], |
12 'direct_dependent_settings': { | 12 'direct_dependent_settings': { |
13 'include_dirs': [ | 13 'include_dirs': [ |
14 '..', | 14 '..', |
15 ], | 15 ], |
16 }, | 16 }, |
17 'sources': [ | 17 'sources': [ |
18 'public/system/async_waiter.h', | 18 'public/system/async_waiter.h', |
19 'public/system/core.h', | 19 'public/system/core.h', |
20 'public/system/core_cpp.h', | 20 'public/system/core_cpp.h', |
21 'public/system/core_private.cc', | 21 'public/system/core_private.cc', |
22 'public/system/core_private.h', | 22 'public/system/core_private.h', |
23 'public/system/macros.h', | 23 'public/system/macros.h', |
24 'public/system/system_export.h', | 24 'public/system/system_export.h', |
25 ], | 25 ], |
26 'conditions': [ | 26 'conditions': [ |
27 ['OS=="mac"', { | 27 ['OS=="mac"', { |
28 'xcode_settings': { | 28 'xcode_settings': { |
29 # Make it a run-path dependent library. | 29 # Make it a loader-path dependent library. |
30 'DYLIB_INSTALL_NAME_BASE': '@rpath', | 30 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
31 }, | 31 }, |
32 'direct_dependent_settings': { | 32 'conditions': [ |
33 'xcode_settings': { | 33 ['mac_breakpad==1', { |
34 # Look for run-path dependent libraries in the loader's directory. | 34 'variables': { |
35 'LD_RUNPATH_SEARCH_PATHS': [ '@loader_path/.', ], | 35 # A real .dSYM is needed for dump_syms to operate on. |
36 }, | 36 'mac_real_dsym': 1, |
37 }, | 37 }, |
| 38 }], |
| 39 ], |
38 }], | 40 }], |
39 ], | 41 ], |
40 }, | 42 }, |
41 { | 43 { |
42 'target_name': 'mojo_gles2', | 44 'target_name': 'mojo_gles2', |
43 'type': 'shared_library', | 45 'type': 'shared_library', |
44 'defines': [ | 46 'defines': [ |
45 'MOJO_GLES2_IMPLEMENTATION', | 47 'MOJO_GLES2_IMPLEMENTATION', |
46 'GLES2_USE_MOJO', | 48 'GLES2_USE_MOJO', |
47 ], | 49 ], |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 ], | 373 ], |
372 'dependencies': [ | 374 'dependencies': [ |
373 'mojo_shell_bindings', | 375 'mojo_shell_bindings', |
374 ], | 376 ], |
375 'export_dependent_settings': [ | 377 'export_dependent_settings': [ |
376 'mojo_shell_bindings', | 378 'mojo_shell_bindings', |
377 ], | 379 ], |
378 }, | 380 }, |
379 ], | 381 ], |
380 } | 382 } |
OLD | NEW |