| 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/c/system/async_waiter.h', | 18 'public/c/system/async_waiter.h', |
| 19 'public/c/system/core.h', | 19 'public/c/system/core.h', |
| 20 'public/c/system/macros.h', | 20 'public/c/system/macros.h', |
| 21 'public/c/system/system_export.h', | 21 'public/c/system/system_export.h', |
| 22 'public/cpp/system/core.h', | 22 'public/cpp/system/core.h', |
| 23 'public/cpp/system/macros.h', | 23 'public/cpp/system/macros.h', |
| 24 'public/system/core_private.cc', | 24 'public/system/core_private.cc', |
| 25 'public/system/core_private.h', | 25 'public/system/core_private.h', |
| 26 ], | 26 ], |
| 27 'conditions': [ | 27 'conditions': [ |
| 28 ['OS=="mac"', { | 28 ['OS=="mac"', { |
| 29 'xcode_settings': { | 29 'xcode_settings': { |
| 30 # Make it a loader-path dependent library. | 30 # Make it a run-path dependent library. |
| 31 'DYLIB_INSTALL_NAME_BASE': '@loader_path', | 31 'DYLIB_INSTALL_NAME_BASE': '@rpath', |
| 32 }, | 32 }, |
| 33 'conditions': [ | 33 'direct_dependent_settings': { |
| 34 ['mac_breakpad==1', { | 34 'xcode_settings': { |
| 35 'variables': { | 35 # Look for run-path dependent libraries in the loader's directory. |
| 36 # A real .dSYM is needed for dump_syms to operate on. | 36 'LD_RUNPATH_SEARCH_PATHS': [ '@loader_path/.', ], |
| 37 'mac_real_dsym': 1, | 37 }, |
| 38 }, | 38 }, |
| 39 }], | |
| 40 ], | |
| 41 }], | 39 }], |
| 42 ], | 40 ], |
| 43 }, | 41 }, |
| 44 { | 42 { |
| 45 'target_name': 'mojo_gles2', | 43 'target_name': 'mojo_gles2', |
| 46 'type': 'shared_library', | 44 'type': 'shared_library', |
| 47 'defines': [ | 45 'defines': [ |
| 48 'MOJO_GLES2_IMPLEMENTATION', | 46 'MOJO_GLES2_IMPLEMENTATION', |
| 49 'GLES2_USE_MOJO', | 47 'GLES2_USE_MOJO', |
| 50 ], | 48 ], |
| (...skipping 13 matching lines...) Expand all Loading... |
| 64 }, | 62 }, |
| 65 'sources': [ | 63 'sources': [ |
| 66 'public/gles2/gles2.h', | 64 'public/gles2/gles2.h', |
| 67 'public/gles2/gles2_export.h', | 65 'public/gles2/gles2_export.h', |
| 68 'public/gles2/gles2_private.cc', | 66 'public/gles2/gles2_private.cc', |
| 69 'public/gles2/gles2_private.h', | 67 'public/gles2/gles2_private.h', |
| 70 ], | 68 ], |
| 71 'conditions': [ | 69 'conditions': [ |
| 72 ['OS=="mac"', { | 70 ['OS=="mac"', { |
| 73 'xcode_settings': { | 71 'xcode_settings': { |
| 74 # Make it a loader-path dependent library. | 72 # Make it a run-path dependent library. |
| 75 'DYLIB_INSTALL_NAME_BASE': '@loader_path', | 73 'DYLIB_INSTALL_NAME_BASE': '@rpath', |
| 74 }, |
| 75 'direct_dependent_settings': { |
| 76 'xcode_settings': { |
| 77 # Look for run-path dependent libraries in the loader's directory. |
| 78 'LD_RUNPATH_SEARCH_PATHS': [ '@loader_path/.', ], |
| 79 }, |
| 76 }, | 80 }, |
| 77 }], | 81 }], |
| 78 ], | 82 ], |
| 79 }, | 83 }, |
| 80 { | 84 { |
| 81 'target_name': 'mojo_test_support', | 85 'target_name': 'mojo_test_support', |
| 82 'type': 'shared_library', | 86 'type': 'shared_library', |
| 83 'defines': [ | 87 'defines': [ |
| 84 'MOJO_TEST_SUPPORT_IMPLEMENTATION', | 88 'MOJO_TEST_SUPPORT_IMPLEMENTATION', |
| 85 ], | 89 ], |
| 86 'include_dirs': [ | 90 'include_dirs': [ |
| 87 '..', | 91 '..', |
| 88 ], | 92 ], |
| 89 'direct_dependent_settings': { | 93 'direct_dependent_settings': { |
| 90 'include_dirs': [ | 94 'include_dirs': [ |
| 91 '..', | 95 '..', |
| 92 ], | 96 ], |
| 93 }, | 97 }, |
| 94 'sources': [ | 98 'sources': [ |
| 95 'public/tests/test_support.h', | 99 'public/tests/test_support.h', |
| 96 'public/tests/test_support_private.cc', | 100 'public/tests/test_support_private.cc', |
| 97 'public/tests/test_support_private.h', | 101 'public/tests/test_support_private.h', |
| 98 'public/tests/test_support_export.h', | 102 'public/tests/test_support_export.h', |
| 99 ], | 103 ], |
| 100 'conditions': [ | 104 'conditions': [ |
| 101 ['OS=="mac"', { | 105 ['OS=="mac"', { |
| 102 'xcode_settings': { | 106 'xcode_settings': { |
| 103 # Make it a loader-path dependent library. | 107 # Make it a run-path dependent library. |
| 104 'DYLIB_INSTALL_NAME_BASE': '@loader_path', | 108 'DYLIB_INSTALL_NAME_BASE': '@rpath', |
| 109 }, |
| 110 'direct_dependent_settings': { |
| 111 'xcode_settings': { |
| 112 # Look for run-path dependent libraries in the loader's directory. |
| 113 'LD_RUNPATH_SEARCH_PATHS': [ '@loader_path/.', ], |
| 114 }, |
| 105 }, | 115 }, |
| 106 }], | 116 }], |
| 107 ], | 117 ], |
| 108 }, | 118 }, |
| 109 { | 119 { |
| 110 'target_name': 'mojo_public_test_utils', | 120 'target_name': 'mojo_public_test_utils', |
| 111 'type': 'static_library', | 121 'type': 'static_library', |
| 112 'dependencies': [ | 122 'dependencies': [ |
| 113 '../base/base.gyp:base', | 123 '../base/base.gyp:base', |
| 114 '../testing/gtest.gyp:gtest', | 124 '../testing/gtest.gyp:gtest', |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 ], | 385 ], |
| 376 'dependencies': [ | 386 'dependencies': [ |
| 377 'mojo_shell_bindings', | 387 'mojo_shell_bindings', |
| 378 ], | 388 ], |
| 379 'export_dependent_settings': [ | 389 'export_dependent_settings': [ |
| 380 'mojo_shell_bindings', | 390 'mojo_shell_bindings', |
| 381 ], | 391 ], |
| 382 }, | 392 }, |
| 383 ], | 393 ], |
| 384 } | 394 } |
| OLD | NEW |