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

Side by Side Diff: mojo/mojo_public.gypi

Issue 188693006: Mojo interface libraries: set install name and search path properly on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comments 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
« no previous file with comments | « no previous file | 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/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': [
27 ['OS=="mac"', {
28 'xcode_settings': {
29 # Make it a run-path dependent library.
30 'DYLIB_INSTALL_NAME_BASE': '@rpath',
31 },
32 'direct_dependent_settings': {
33 'xcode_settings': {
34 # Look for run-path dependent libraries in the loader's directory.
35 'LD_RUNPATH_SEARCH_PATHS': [ '@loader_path/.', ],
36 },
37 },
38 }],
39 ],
26 }, 40 },
27 { 41 {
28 'target_name': 'mojo_gles2', 42 'target_name': 'mojo_gles2',
29 'type': 'shared_library', 43 'type': 'shared_library',
30 'defines': [ 44 'defines': [
31 'MOJO_GLES2_IMPLEMENTATION', 45 'MOJO_GLES2_IMPLEMENTATION',
32 'GLES2_USE_MOJO', 46 'GLES2_USE_MOJO',
33 ], 47 ],
34 'include_dirs': [ 48 'include_dirs': [
35 '..', 49 '..',
36 ], 50 ],
37 'dependencies': [ 51 'dependencies': [
38 '../third_party/khronos/khronos.gyp:khronos_headers' 52 '../third_party/khronos/khronos.gyp:khronos_headers'
39 ], 53 ],
40 'direct_dependent_settings': { 54 'direct_dependent_settings': {
41 'include_dirs': [ 55 'include_dirs': [
42 '..', 56 '..',
43 ], 57 ],
44 'defines': [ 58 'defines': [
45 'GLES2_USE_MOJO', 59 'GLES2_USE_MOJO',
46 ], 60 ],
47 }, 61 },
48 'sources': [ 62 'sources': [
49 'public/gles2/gles2.h', 63 'public/gles2/gles2.h',
50 'public/gles2/gles2_export.h', 64 'public/gles2/gles2_export.h',
51 'public/gles2/gles2_private.cc', 65 'public/gles2/gles2_private.cc',
52 'public/gles2/gles2_private.h', 66 'public/gles2/gles2_private.h',
53 ], 67 ],
68 'conditions': [
69 ['OS=="mac"', {
70 'xcode_settings': {
71 # Make it a run-path dependent library.
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 },
79 },
80 }],
81 ],
54 }, 82 },
55 { 83 {
56 'target_name': 'mojo_test_support', 84 'target_name': 'mojo_test_support',
57 'type': 'shared_library', 85 'type': 'shared_library',
58 'defines': [ 86 'defines': [
59 'MOJO_TEST_SUPPORT_IMPLEMENTATION', 87 'MOJO_TEST_SUPPORT_IMPLEMENTATION',
60 ], 88 ],
61 'include_dirs': [ 89 'include_dirs': [
62 '..', 90 '..',
63 ], 91 ],
64 'direct_dependent_settings': { 92 'direct_dependent_settings': {
65 'include_dirs': [ 93 'include_dirs': [
66 '..', 94 '..',
67 ], 95 ],
68 }, 96 },
69 'sources': [ 97 'sources': [
70 'public/tests/test_support.h', 98 'public/tests/test_support.h',
71 'public/tests/test_support_private.cc', 99 'public/tests/test_support_private.cc',
72 'public/tests/test_support_private.h', 100 'public/tests/test_support_private.h',
73 'public/tests/test_support_export.h', 101 'public/tests/test_support_export.h',
74 ], 102 ],
103 'conditions': [
104 ['OS=="mac"', {
105 'xcode_settings': {
106 # Make it a run-path dependent library.
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 },
114 },
115 }],
116 ],
75 }, 117 },
76 { 118 {
77 'target_name': 'mojo_public_test_utils', 119 'target_name': 'mojo_public_test_utils',
78 'type': 'static_library', 120 'type': 'static_library',
79 'dependencies': [ 121 'dependencies': [
80 '../base/base.gyp:base', 122 '../base/base.gyp:base',
81 '../testing/gtest.gyp:gtest', 123 '../testing/gtest.gyp:gtest',
82 'mojo_system', 124 'mojo_system',
83 'mojo_test_support', 125 'mojo_test_support',
84 ], 126 ],
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 'public/shell/shell.mojom', 342 'public/shell/shell.mojom',
301 ], 343 ],
302 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], 344 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ],
303 'export_dependent_settings': [ 345 'export_dependent_settings': [
304 'mojo_bindings', 346 'mojo_bindings',
305 'mojo_system', 347 'mojo_system',
306 ], 348 ],
307 }, 349 },
308 ], 350 ],
309 } 351 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698