|
| 1 | +{ |
| 2 | + 'includes': |
| 3 | + [ |
| 4 | + '../common.gypi', |
| 5 | + ], |
| 6 | + |
| 7 | + 'targets': |
| 8 | + [ |
| 9 | + { |
| 10 | + 'target_name': 'extensions', |
| 11 | + 'type': 'none', |
| 12 | + |
| 13 | + 'dependencies': |
| 14 | + [ |
| 15 | + '../toolchain/lc-compile/lc-compile.gyp:lc-compile', |
| 16 | + '../engine/lcb-modules.gyp:engine_lcb_modules', |
| 17 | + ], |
| 18 | + |
| 19 | + 'sources': |
| 20 | + [ |
| 21 | + 'libraries/canvas/canvas.lcb', |
| 22 | + 'libraries/iconsvg/iconsvg.lcb', |
| 23 | + |
| 24 | + 'widgets/button/button.lcb', |
| 25 | + #'widgets/button-popup/button-popup.lcb', |
| 26 | + 'widgets/chart/chart.lcb', |
| 27 | + 'widgets/checkbox/checkbox.lcb', |
| 28 | + 'widgets/clock/clock.lcb', |
| 29 | + 'widgets/graph/graph.lcb', |
| 30 | + 'widgets/header/header.lcb', |
| 31 | + 'widgets/iconpicker/iconpicker.lcb', |
| 32 | + 'widgets/list/list.lcb', |
| 33 | + 'widgets/multilist/multilist.lcb', |
| 34 | + 'widgets/navbar/navbar.lcb', |
| 35 | + 'widgets/paletteactions/paletteactions.lcb', |
| 36 | + 'widgets/pinkcircle/pinkcircle.lcb', |
| 37 | + 'widgets/progressbar/progressbar.lcb', |
| 38 | + 'widgets/radiobutton/radiobutton.lcb', |
| 39 | + 'widgets/segmented/segmented.lcb', |
| 40 | + #'widgets/segmented-popup/segmented-popup.lcb', |
| 41 | + 'widgets/selector/selector.lcb', |
| 42 | + #'widgets/svgicon/svgicon.lcb', |
| 43 | + 'widgets/svgpath/svgpath.lcb', |
| 44 | + 'widgets/switchbutton/switchbutton.lcb', |
| 45 | + 'widgets/treeview/treeview.lcb', |
| 46 | + ], |
| 47 | + |
| 48 | + 'all_dependent_settings': |
| 49 | + { |
| 50 | + 'variables': |
| 51 | + { |
| 52 | + 'dist_aux_files': |
| 53 | + [ |
| 54 | + '<(PRODUCT_DIR)/packaged_extensions', |
| 55 | + ], |
| 56 | + }, |
| 57 | + }, |
| 58 | + |
| 59 | + 'rules': |
| 60 | + [ |
| 61 | + { |
| 62 | + 'rule_name': 'build_extension', |
| 63 | + 'extension': 'lcb', |
| 64 | + |
| 65 | + 'inputs': |
| 66 | + [ |
| 67 | + '../util/build-widget.sh', |
| 68 | + ], |
| 69 | + |
| 70 | + 'outputs': |
| 71 | + [ |
| 72 | + '<(PRODUCT_DIR)/packaged_extensions/com.livecode.extensions.livecode.<(RULE_INPUT_ROOT)/module.lcb', |
| 73 | + ], |
| 74 | + |
| 75 | + 'message': 'Building extension <(RULE_INPUT_ROOT)', |
| 76 | + |
| 77 | + 'conditions': |
| 78 | + [ |
| 79 | + [ |
| 80 | + 'OS == "win"', |
| 81 | + { |
| 82 | + 'variables': |
| 83 | + { |
| 84 | + 'build_command': [ '$(ProjectDir)../../../util/invoke-unix.bat', '$(ProjectDir)../../../util/build-widget.sh' ], |
| 85 | + }, |
| 86 | + }, |
| 87 | + { |
| 88 | + 'variables': |
| 89 | + { |
| 90 | + 'build_command': [ '../util/build-widget.sh' ], |
| 91 | + }, |
| 92 | + }, |
| 93 | + ], |
| 94 | + ], |
| 95 | + |
| 96 | + 'action': |
| 97 | + [ |
| 98 | + '<@(build_command)', |
| 99 | + '<(RULE_INPUT_DIRNAME)', |
| 100 | + '<(PRODUCT_DIR)', |
| 101 | + '<(PRODUCT_DIR)/modules/lci', |
| 102 | + '>(lc-compile_host)', |
| 103 | + ], |
| 104 | + }, |
| 105 | + ], |
| 106 | + }, |
| 107 | + ], |
| 108 | +} |
0 commit comments