Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: trunk/src/mojo/mojo_public.gypi

Issue 214833004: Revert 259788 "Fixup mojo dylibs" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « trunk/src/content/content_shell.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/system/core_cpp.h', 22 'public/system/core_cpp.h',
23 'public/system/core_private.cc', 23 'public/system/core_private.cc',
24 'public/system/core_private.h', 24 'public/system/core_private.h',
25 ], 25 ],
26 'conditions': [ 26 'conditions': [
27 ['OS=="mac"', { 27 ['OS=="mac"', {
28 'xcode_settings': { 28 'xcode_settings': {
29 # Make it a loader-path dependent library. 29 # Make it a run-path dependent library.
30 'DYLIB_INSTALL_NAME_BASE': '@loader_path', 30 'DYLIB_INSTALL_NAME_BASE': '@rpath',
31 }, 31 },
32 'conditions': [ 32 'direct_dependent_settings': {
33 ['mac_breakpad==1', { 33 'xcode_settings': {
34 'variables': { 34 # Look for run-path dependent libraries in the loader's directory.
35 # A real .dSYM is needed for dump_syms to operate on. 35 'LD_RUNPATH_SEARCH_PATHS': [ '@loader_path/.', ],
36 'mac_real_dsym': 1, 36 },
37 }, 37 },
38 }],
39 ],
40 }], 38 }],
41 ], 39 ],
42 }, 40 },
43 { 41 {
44 'target_name': 'mojo_gles2', 42 'target_name': 'mojo_gles2',
45 'type': 'shared_library', 43 'type': 'shared_library',
46 'defines': [ 44 'defines': [
47 'MOJO_GLES2_IMPLEMENTATION', 45 'MOJO_GLES2_IMPLEMENTATION',
48 'GLES2_USE_MOJO', 46 'GLES2_USE_MOJO',
49 ], 47 ],
(...skipping 13 matching lines...) Expand all
63 }, 61 },
64 'sources': [ 62 'sources': [
65 'public/gles2/gles2.h', 63 'public/gles2/gles2.h',
66 'public/gles2/gles2_export.h', 64 'public/gles2/gles2_export.h',
67 'public/gles2/gles2_private.cc', 65 'public/gles2/gles2_private.cc',
68 'public/gles2/gles2_private.h', 66 'public/gles2/gles2_private.h',
69 ], 67 ],
70 'conditions': [ 68 'conditions': [
71 ['OS=="mac"', { 69 ['OS=="mac"', {
72 'xcode_settings': { 70 'xcode_settings': {
73 # Make it a loader-path dependent library. 71 # Make it a run-path dependent library.
74 'DYLIB_INSTALL_NAME_BASE': '@loader_path', 72 'DYLIB_INSTALL_NAME_BASE': '@rpath',
73 },
74 'direct_dependent_settings': {
75 'xcode_settings': {
76 # Look for run-path dependent libraries in the loader's directory.
77 'LD_RUNPATH_SEARCH_PATHS': [ '@loader_path/.', ],
78 },
75 }, 79 },
76 }], 80 }],
77 ], 81 ],
78 }, 82 },
79 { 83 {
80 'target_name': 'mojo_test_support', 84 'target_name': 'mojo_test_support',
81 'type': 'shared_library', 85 'type': 'shared_library',
82 'defines': [ 86 'defines': [
83 'MOJO_TEST_SUPPORT_IMPLEMENTATION', 87 'MOJO_TEST_SUPPORT_IMPLEMENTATION',
84 ], 88 ],
85 'include_dirs': [ 89 'include_dirs': [
86 '..', 90 '..',
87 ], 91 ],
88 'direct_dependent_settings': { 92 'direct_dependent_settings': {
89 'include_dirs': [ 93 'include_dirs': [
90 '..', 94 '..',
91 ], 95 ],
92 }, 96 },
93 'sources': [ 97 'sources': [
94 'public/tests/test_support.h', 98 'public/tests/test_support.h',
95 'public/tests/test_support_private.cc', 99 'public/tests/test_support_private.cc',
96 'public/tests/test_support_private.h', 100 'public/tests/test_support_private.h',
97 'public/tests/test_support_export.h', 101 'public/tests/test_support_export.h',
98 ], 102 ],
99 'conditions': [ 103 'conditions': [
100 ['OS=="mac"', { 104 ['OS=="mac"', {
101 'xcode_settings': { 105 'xcode_settings': {
102 # Make it a loader-path dependent library. 106 # Make it a run-path dependent library.
103 'DYLIB_INSTALL_NAME_BASE': '@loader_path', 107 'DYLIB_INSTALL_NAME_BASE': '@rpath',
108 },
109 'direct_dependent_settings': {
110 'xcode_settings': {
111 # Look for run-path dependent libraries in the loader's directory.
112 'LD_RUNPATH_SEARCH_PATHS': [ '@loader_path/.', ],
113 },
104 }, 114 },
105 }], 115 }],
106 ], 116 ],
107 }, 117 },
108 { 118 {
109 'target_name': 'mojo_public_test_utils', 119 'target_name': 'mojo_public_test_utils',
110 'type': 'static_library', 120 'type': 'static_library',
111 'dependencies': [ 121 'dependencies': [
112 '../base/base.gyp:base', 122 '../base/base.gyp:base',
113 '../testing/gtest.gyp:gtest', 123 '../testing/gtest.gyp:gtest',
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 ], 382 ],
373 'dependencies': [ 383 'dependencies': [
374 'mojo_shell_bindings', 384 'mojo_shell_bindings',
375 ], 385 ],
376 'export_dependent_settings': [ 386 'export_dependent_settings': [
377 'mojo_shell_bindings', 387 'mojo_shell_bindings',
378 ], 388 ],
379 }, 389 },
380 ], 390 ],
381 } 391 }
OLDNEW
« no previous file with comments | « trunk/src/content/content_shell.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698