summaryrefslogtreecommitdiff
path: root/src/bin/edje
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-02-15 10:55:38 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2019-02-27 11:31:46 +0100
commit300b1993d830eaab0bcd85774c22759bf3cb4864 (patch)
treeb51416545c9224440141a2e1178ab66cf7f122f3 /src/bin/edje
parent25470a56d371b12877b461f4af06a86d2022a05a (diff)
meson: edje: setup edje_codegen for cross-builds as well
We had it all setup for edje_cc, but missed edje_codegen which is used in the examples. Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7963
Diffstat (limited to 'src/bin/edje')
-rw-r--r--src/bin/edje/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bin/edje/meson.build b/src/bin/edje/meson.build
index 9269d3338d..2fedb2cf4a 100644
--- a/src/bin/edje/meson.build
+++ b/src/bin/edje/meson.build
@@ -81,6 +81,15 @@ edje_codegen = executable('edje_codegen',
81 c_args : package_c_args, 81 c_args : package_c_args,
82) 82)
83 83
84if meson.is_cross_build()
85 _edje_codegen = find_program('edje_codegen', native: true)
86 edje_codegen_path = _edje_codegen.path()
87 edje_codegen_exe = [_edje_codegen]
88else
89 env = find_program('env', native: true)
90 edje_codegen_exe = [env, 'EFL_RUN_IN_TREE=1', edje_codegen.full_path()]
91endif
92
84edje_pick = executable('edje_pick', 93edje_pick = executable('edje_pick',
85 'edje_pick.c', 94 'edje_pick.c',
86 dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas], 95 dependencies: [edje_bin_deps, eet, ecore, eio, ecore_evas],