[EFL] Default.edj should be generated although ENABLE_WEBKIT disabled.
[WebKit-https.git] / Source / WebKit / efl / DefaultTheme / CMakeLists.txt
1 SET(DefaultTheme_RESOURCE_NAME default.edj)
2 SET(DefaultTheme_DIR "${WEBKIT_DIR}/efl/DefaultTheme")
3
4 SET(DefaultTheme_DEFINITION "")
5 IF (ENABLE_PROGRESS_ELEMENT)
6     LIST(APPEND DefaultTheme_DEFINITION "-DENABLE_PROGRESS_ELEMENT")
7 ENDIF ()
8
9 ADD_CUSTOM_COMMAND(
10     OUTPUT ${THEME_BINARY_DIR}/${DefaultTheme_RESOURCE_NAME}
11     COMMAND ${EDJE_CC_EXECUTABLE} -v ${DefaultTheme_DEFINITION} default.edc ${THEME_BINARY_DIR}/${DefaultTheme_RESOURCE_NAME}
12     DEPENDS
13         default.edc
14         widget/button/button.edc
15         widget/button/img_button_focus.png
16         widget/button/img_button_hover.png
17         widget/button/img_button_normal.png
18         widget/button/img_button_press.png
19         widget/check/check.edc
20         widget/check/img_check_off_focus.png
21         widget/check/img_check_off_hover.png
22         widget/check/img_check_off.png
23         widget/check/img_check_on_focus.png
24         widget/check/img_check_on_hover.png
25         widget/check/img_check_on.png
26         widget/combo/combo.edc
27         widget/combo/combo_focus_button.png
28         widget/combo/combo_focus.png
29         widget/combo/combo_hover_button.png
30         widget/combo/combo_hover.png
31         widget/combo/combo_normal_button.png
32         widget/combo/combo_normal.png
33         widget/combo/combo_press_button.png
34         widget/combo/combo_press.png
35         widget/combo/icon.png
36         widget/entry/entry.edc
37         widget/entry/img_focused.png
38         widget/entry/img_hovered.png
39         widget/entry/img_normal.png
40         widget/file/file.edc
41         widget/file/file_focus.png
42         widget/file/file_hover.png
43         widget/file/file_normal.png
44         widget/file/file_press.png
45         widget/mediacontrol/fullscreenbutton/enterfullscreenbutton.png
46         widget/mediacontrol/fullscreenbutton/exitfullscreenbutton.png
47         widget/mediacontrol/fullscreenbutton/fullscreen_button.edc
48         widget/mediacontrol/mutebutton/mute_button.edc
49         widget/mediacontrol/mutebutton/mutebutton.png
50         widget/mediacontrol/mutebutton/unmutebutton.png
51         widget/mediacontrol/playpausebutton/pausebutton.png
52         widget/mediacontrol/playpausebutton/playbutton.png
53         widget/mediacontrol/playpausebutton/playpause_button.edc
54         widget/mediacontrol/seekbackwardbutton/seekbackward_button.edc
55         widget/mediacontrol/seekbackwardbutton/seekbackwardbutton.png
56         widget/mediacontrol/seekforwardbutton/seekforward_button.edc
57         widget/mediacontrol/seekforwardbutton/seekforwardbutton.png
58         widget/mediacontrol/togglecaptionsbutton/closedcaption_disabled.png
59         widget/mediacontrol/togglecaptionsbutton/closedcaption.png
60         widget/mediacontrol/togglecaptionsbutton/toggle_captions_button.edc
61         widget/progressbar/bt_base.png
62         widget/progressbar/progressbar.edc
63         widget/progressbar/shelf_inset.png
64         widget/radio/img_radio_off_focus.png
65         widget/radio/img_radio_off_hover.png
66         widget/radio/img_radio_off.png
67         widget/radio/img_radio_on_focus.png
68         widget/radio/img_radio_on_hover.png
69         widget/radio/img_radio_on.png
70         widget/radio/radio.edc
71         widget/scrollbar/scrollbar.edc
72         widget/scrollbar/scrollbar_h.png
73         widget/scrollbar/scrollbar_knob_h.png
74         widget/scrollbar/scrollbar_knob_v.png
75         widget/scrollbar/scrollbar_v.png
76         widget/search/cancel/cancel_normal_button2.png
77         widget/search/cancel/cancel_normal_button.png
78         widget/search/cancel/search_cancel.edc
79         widget/search/decoration/decoration_normal_button.png
80         widget/search/decoration/search_decoration.edc
81         widget/search/field/field_focused.png
82         widget/search/field/field_hovered.png
83         widget/search/field/field_normal.png
84         widget/search/field/search_field.edc
85         widget/slider/slider.edc
86         widget/slider/slider_fill_h.png
87         widget/slider/slider_fill_v.png
88         widget/slider/slider_h.png
89         widget/slider/slider_thumb_h.png
90         widget/slider/slider_thumb_press_h.png
91         widget/slider/slider_thumb_press_v.png
92         widget/slider/slider_thumb_v.png
93         widget/slider/slider_v.png
94         widget/spinner/sp_bg.png
95         widget/spinner/sp_down_default.png
96         widget/spinner/sp_down_hover.png
97         widget/spinner/sp_down_pressed.png
98         widget/spinner/spinner.edc
99         widget/spinner/sp_up_default.png
100         widget/spinner/sp_up_hover.png
101         widget/spinner/sp_up_pressed.png
102     WORKING_DIRECTORY ${DefaultTheme_DIR}
103     VERBATIM
104 )
105
106 ADD_CUSTOM_TARGET(DefaultTheme ALL
107     DEPENDS ${THEME_BINARY_DIR}/${DefaultTheme_RESOURCE_NAME}
108 )
109
110 INSTALL(FILES ${THEME_BINARY_DIR}/${DefaultTheme_RESOURCE_NAME} DESTINATION ${DATA_INSTALL_DIR}/themes)