|
11 | 11 | 'target_name': 'inih', |
12 | 12 | 'type': 'none', |
13 | 13 |
|
14 | | - 'dependencies': |
15 | | - [ |
16 | | - 'inih-build', |
17 | | - ], |
18 | | - |
19 | 14 | 'conditions': |
20 | 15 | [ |
21 | 16 | [ |
22 | 17 | 'OS == "ios" and "iphoneos" in target_sdk', |
23 | 18 | { |
24 | | - 'copies': |
| 19 | + 'dependencies': |
25 | 20 | [ |
26 | | - { |
27 | | - 'destination': '<(PRODUCT_DIR)/packaged_extensions/com.livecode.library.ini/code/<(platform_id)/', |
28 | | - 'files': |
29 | | - [ |
30 | | - '<(PRODUCT_DIR)/inih<(STATIC_LIB_SUFFIX)', |
31 | | - ], |
32 | | - }, |
| 21 | + 'inih-lcext', |
33 | 22 | ], |
34 | 23 | }, |
35 | 24 | { |
36 | | - |
| 25 | + |
| 26 | + 'dependencies': |
| 27 | + [ |
| 28 | + 'inih-build', |
| 29 | + ], |
| 30 | + |
37 | 31 | 'copies': |
38 | 32 | [ |
39 | 33 | { |
|
76 | 70 | ], |
77 | 71 | ], |
78 | 72 | }, |
| 73 | + { |
| 74 | + 'target_name': 'inih-lcext', |
| 75 | + 'product_prefix': '', |
| 76 | + 'product_name': 'inih', |
| 77 | + 'dependencies': |
| 78 | + [ |
| 79 | + '../../../../toolchain/lc-compile/lc-compile.gyp:lc-compile', |
| 80 | + 'inih-build', |
| 81 | + ], |
| 82 | + |
| 83 | + 'type': 'none', |
| 84 | + |
| 85 | + 'actions': |
| 86 | + [ |
| 87 | + { |
| 88 | + 'action_name': 'ini_output_auxc', |
| 89 | + |
| 90 | + 'sources': |
| 91 | + [ |
| 92 | + '../ini.lcb', |
| 93 | + ], |
| 94 | + |
| 95 | + 'inputs': |
| 96 | + [ |
| 97 | + '<(_sources)', |
| 98 | + ], |
| 99 | + |
| 100 | + 'outputs': |
| 101 | + [ |
| 102 | + '<(SHARED_INTERMEDIATE_DIR)/ini.cpp', |
| 103 | + ], |
| 104 | + |
| 105 | + 'message': 'Output module as auxc', |
| 106 | + |
| 107 | + 'action': |
| 108 | + [ |
| 109 | + '>(lc-compile_host)', |
| 110 | + '--forcebuiltins', |
| 111 | + '--modulepath', |
| 112 | + '<(PRODUCT_DIR)/modules/lci', |
| 113 | + '--outputauxc', |
| 114 | + '<(SHARED_INTERMEDIATE_DIR)/ini.cpp', |
| 115 | + '<(_sources)', |
| 116 | + ], |
| 117 | + }, |
| 118 | + { |
| 119 | + 'action_name': 'link_ini_lcext', |
| 120 | + |
| 121 | + 'inputs': |
| 122 | + [ |
| 123 | + '../../../../tools/build-module-lcext-ios.sh', |
| 124 | + '<(SHARED_INTERMEDIATE_DIR)/ini.cpp', |
| 125 | + 'ini.ios', |
| 126 | + '<(PRODUCT_DIR)/inih<(STATIC_LIB_SUFFIX)', |
| 127 | + ], |
| 128 | + |
| 129 | + 'outputs': |
| 130 | + [ |
| 131 | + '<(PRODUCT_DIR)/inih.lcext', |
| 132 | + '<(PRODUCT_DIR)/packaged_extensions/com.livecode.library.ini/code/<(platform_id)/module.lcm' |
| 133 | + ], |
| 134 | + |
| 135 | + 'message': 'Link lcext', |
| 136 | + |
| 137 | + 'action': |
| 138 | + [ |
| 139 | + '../../../../tools/build-module-lcext-ios.sh', |
| 140 | + '<(SHARED_INTERMEDIATE_DIR)/ini.cpp', |
| 141 | + 'ini.ios', |
| 142 | + '<(PRODUCT_DIR)/packaged_extensions/com.livecode.library.ini/code/<(platform_id)/inih.lcext', |
| 143 | + '$(not_a_real_variable)com.livecode.library.ini', |
| 144 | + '<(PRODUCT_DIR)/packaged_extensions/com.livecode.library.ini/code/<(platform_id)/module.lcm', |
| 145 | + '<(PRODUCT_DIR)/inih<(STATIC_LIB_SUFFIX)', |
| 146 | + ], |
| 147 | + }, |
| 148 | + |
| 149 | + ], |
| 150 | + }, |
79 | 151 | ], |
80 | 152 |
|
81 | 153 | } |
0 commit comments