Merge "Fix RemoveText code in text-controller.cpp" into devel/master
[platform/core/uifw/dali-toolkit.git] / node-addon / binding.gyp
1 {
2   "variables": {
3     'DALI_JS_DIR%':'../plugins/dali-script-v8/src/'
4   },
5   "targets": [
6     {
7       'target_name': 'dali',
8       'include_dirs': ['<(DALI_JS_DIR)/',
9                        '<(DALI_JS_DIR)/utils'],
10       'sources': [ 'dali-addon.cpp',
11       'javascript-application-options.cpp',
12       '<(DALI_JS_DIR)/utils/v8-utils.cpp',
13       '<(DALI_JS_DIR)/dali-wrapper.cpp',
14       '<(DALI_JS_DIR)/shared/base-wrapped-object.cpp',
15       '<(DALI_JS_DIR)/shared/object-template-helper.cpp',
16       '<(DALI_JS_DIR)/actors/actor-wrapper.cpp',
17       '<(DALI_JS_DIR)/actors/actor-api.cpp',
18       '<(DALI_JS_DIR)/actors/layer-api.cpp',
19       '<(DALI_JS_DIR)/actors/camera-actor-api.cpp',
20       '<(DALI_JS_DIR)/constants/constants-wrapper.cpp',
21       '<(DALI_JS_DIR)/controls/control-wrapper.cpp',
22       '<(DALI_JS_DIR)/controls/item-factory-wrapper.cpp',
23       '<(DALI_JS_DIR)/controls/item-view-api.cpp',
24       '<(DALI_JS_DIR)/controls/scroll-view-api.cpp',
25       '<(DALI_JS_DIR)/animation/animation-api.cpp',
26       '<(DALI_JS_DIR)/animation/animation-wrapper.cpp',
27       '<(DALI_JS_DIR)/animation/constrainer-api.cpp',
28       '<(DALI_JS_DIR)/animation/linear-constrainer-wrapper.cpp',
29       '<(DALI_JS_DIR)/animation/path-api.cpp',
30       '<(DALI_JS_DIR)/animation/path-constrainer-wrapper.cpp',
31       '<(DALI_JS_DIR)/animation/path-wrapper.cpp',
32       '<(DALI_JS_DIR)/stage/stage-wrapper.cpp',
33       '<(DALI_JS_DIR)/events/event-object-generator.cpp',
34       '<(DALI_JS_DIR)/events/pan-gesture-detector-api.cpp',
35       '<(DALI_JS_DIR)/events/pan-gesture-detector-wrapper.cpp',
36       '<(DALI_JS_DIR)/stage/stage-api.cpp',
37       '<(DALI_JS_DIR)/image/image-wrapper.cpp',
38       '<(DALI_JS_DIR)/image/image-api.cpp',
39       '<(DALI_JS_DIR)/image/buffer-image-api.cpp',
40       '<(DALI_JS_DIR)/image/frame-buffer-image-api.cpp',
41       '<(DALI_JS_DIR)/image/resource-image-api.cpp',
42       '<(DALI_JS_DIR)/object/handle-wrapper.cpp',
43       '<(DALI_JS_DIR)/object/property-buffer-api.cpp',
44       '<(DALI_JS_DIR)/object/property-buffer-wrapper.cpp',
45       '<(DALI_JS_DIR)/object/property-value-wrapper.cpp',
46       '<(DALI_JS_DIR)/signals/signal-manager.cpp',
47       '<(DALI_JS_DIR)/render-tasks/render-task-list-api.cpp',
48       '<(DALI_JS_DIR)/render-tasks/render-task-list-wrapper.cpp',
49       '<(DALI_JS_DIR)/render-tasks/render-task-api.cpp',
50       '<(DALI_JS_DIR)/render-tasks/render-task-wrapper.cpp',
51       '<(DALI_JS_DIR)/rendering/geometry-api.cpp',
52       '<(DALI_JS_DIR)/rendering/geometry-wrapper.cpp',
53       '<(DALI_JS_DIR)/rendering/renderer-api.cpp',
54       '<(DALI_JS_DIR)/rendering/renderer-wrapper.cpp',
55       '<(DALI_JS_DIR)/rendering/sampler-api.cpp',
56       '<(DALI_JS_DIR)/rendering/sampler-wrapper.cpp',
57       '<(DALI_JS_DIR)/rendering/shader-api.cpp',
58       '<(DALI_JS_DIR)/rendering/shader-wrapper.cpp',
59       '<(DALI_JS_DIR)/rendering/texture-set-api.cpp',
60       '<(DALI_JS_DIR)/rendering/texture-set-wrapper.cpp',
61       '<(DALI_JS_DIR)/toolkit/builder/builder-api.cpp',
62       '<(DALI_JS_DIR)/toolkit/builder/builder-wrapper.cpp',
63       '<(DALI_JS_DIR)/toolkit/focus-manager/keyboard-focus-manager-api.cpp',
64       '<(DALI_JS_DIR)/toolkit/focus-manager/keyboard-focus-manager-wrapper.cpp',
65       '<(DALI_JS_DIR)/signals/dali-any-javascript-converter.cpp',
66       '<(DALI_JS_DIR)/garbage-collector/garbage-collector.cpp',
67       '<(DALI_JS_DIR)/module-loader/module.cpp',
68       '<(DALI_JS_DIR)/module-loader/module-loader.cpp'
69      ],
70       'cflags': [
71             '-fPIC',
72             '-frtti',
73             '<!@(pkg-config --cflags dali-core dali-adaptor-uv dali-toolkit)'
74         ],
75
76     'cflags_cc': [
77             '-fexceptions', # Enable exception handler
78             '-frtti'    # needed for typeinfo with dali-any
79         ],
80       'ldflags': [
81             '<!@(pkg-config --libs-only-L --libs-only-other dali-core dali-adaptor-uv dali-toolkit)'
82         ],
83       'libraries': [
84         '<!@(pkg-config --libs-only-l dali-core dali-adaptor-uv dali-toolkit)'
85       ]
86     }]
87 }