summaryrefslogtreecommitdiff
path: root/src/tests/edje
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-12-04 17:43:10 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2018-12-06 15:13:34 +0100
commit5b98ebab4a990bf943de2db726f9086553187350 (patch)
tree538742ea60707c2b4ae7aee373c00df0454c283d /src/tests/edje
parent29c388a35be1b216a4af8f4aa8727060e7edd1d7 (diff)
meson: abstract edje_cc exec lines
the array is calling the shell etc. this makes cross building easier. Differential Revision: https://phab.enlightenment.org/D7413
Diffstat (limited to 'src/tests/edje')
-rw-r--r--src/tests/edje/data/meson.build2
-rw-r--r--src/tests/edje/tests/meson.build4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/edje/data/meson.build b/src/tests/edje/data/meson.build
index af7e04b..cf10bd9 100644
--- a/src/tests/edje/data/meson.build
+++ b/src/tests/edje/data/meson.build
@@ -25,7 +25,7 @@ foreach edc_file : edc_files
25 themes += custom_target('edje_cc_' + edc_file, 25 themes += custom_target('edje_cc_' + edc_file,
26 input : edc_file, 26 input : edc_file,
27 output : '@BASENAME@.edj', 27 output : '@BASENAME@.edj',
28 command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', edje_cc.full_path(), '-beta', 28 command : edje_cc_exe + [ '-beta',
29 '-id', join_paths(meson.source_root(), 'src', 'tests', 'emotion', 'data'), 29 '-id', join_paths(meson.source_root(), 'src', 'tests', 'emotion', 'data'),
30 '-fd', meson.current_source_dir(), 30 '-fd', meson.current_source_dir(),
31 '-sd', meson.current_source_dir(), 31 '-sd', meson.current_source_dir(),
diff --git a/src/tests/edje/tests/meson.build b/src/tests/edje/tests/meson.build
index 4780bca..6b1e43e 100644
--- a/src/tests/edje/tests/meson.build
+++ b/src/tests/edje/tests/meson.build
@@ -6,7 +6,7 @@ foreach edc_file : edc_files
6 themes += custom_target('edje_cc_' + edc_file, 6 themes += custom_target('edje_cc_' + edc_file,
7 input : edc_file, 7 input : edc_file,
8 output : '@BASENAME@.edj', 8 output : '@BASENAME@.edj',
9 command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', edje_cc.full_path(), '-beta', 9 command : edje_cc_exe + [ '-beta',
10 '-id', join_paths(meson.source_root(), 'src', 'tests', 'emotion', 'data'), 10 '-id', join_paths(meson.source_root(), 'src', 'tests', 'emotion', 'data'),
11 '-fd', meson.current_source_dir(), 11 '-fd', meson.current_source_dir(),
12 '-sd', meson.current_source_dir(), 12 '-sd', meson.current_source_dir(),
@@ -16,4 +16,4 @@ foreach edc_file : edc_files
16 '-td', meson.current_source_dir(), 16 '-td', meson.current_source_dir(),
17 '@INPUT@', '@OUTPUT@'], 17 '@INPUT@', '@OUTPUT@'],
18 depends : edje_cc) 18 depends : edje_cc)
19endforeach \ No newline at end of file 19endforeach