Cmake - Remove the CONFIGURE_FILE() step for json style files. 72/222572/1
authorVictor Cebollada <v.cebollada@samsung.com>
Thu, 16 Jan 2020 07:58:23 +0000 (07:58 +0000)
committerVictor Cebollada <v.cebollada@samsung.com>
Thu, 16 Jan 2020 08:03:30 +0000 (08:03 +0000)
* Replace the DEMO_STYLE_IMAGE_DIR var is not needed as is not
  used in any style file.

Change-Id: I9f003f4bdfa9260774d2d0696d6816b2b9a1d255
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
30 files changed:
build/tizen/CMakeLists.txt
resources/style/.gitignore [deleted file]
resources/style/animated-gradient-call-active-style.json [moved from resources/style/mobile/animated-gradient-call-active-style.json.in with 100% similarity]
resources/style/base-theme.json [moved from resources/style/base-theme.json.in with 100% similarity]
resources/style/basic-light-theme.json [moved from resources/style/mobile/basic-light-theme.json.in with 100% similarity]
resources/style/contact-cards-example-theme.json [moved from resources/style/contact-cards-example-theme.json.in with 100% similarity]
resources/style/demo-theme.json [moved from resources/style/demo-theme.json.in with 100% similarity]
resources/style/examples-theme.json [moved from resources/style/examples-theme.json.in with 100% similarity]
resources/style/mobile/animated-gradient-call-active-style.json [moved from resources/style/animated-gradient-call-active-style.json.in with 100% similarity]
resources/style/mobile/base-theme.json [moved from resources/style/mobile/base-theme.json.in with 100% similarity]
resources/style/mobile/basic-light-theme.json [moved from resources/style/basic-light-theme.json.in with 100% similarity]
resources/style/mobile/contact-cards-example-theme.json [moved from resources/style/mobile/contact-cards-example-theme.json.in with 100% similarity]
resources/style/mobile/demo-theme.json [moved from resources/style/mobile/demo-theme.json.in with 100% similarity]
resources/style/mobile/examples-theme.json [moved from resources/style/mobile/examples-theme.json.in with 100% similarity]
resources/style/mobile/progress-bar-example-theme.json [moved from resources/style/mobile/progress-bar-example-theme.json.in with 100% similarity]
resources/style/mobile/simple-example-theme.json [moved from resources/style/simple-example-theme.json.in with 100% similarity]
resources/style/mobile/style-example-theme-one.json [moved from resources/style/mobile/style-example-theme-one.json.in with 100% similarity]
resources/style/mobile/style-example-theme-three.json [moved from resources/style/style-example-theme-three.json.in with 100% similarity]
resources/style/mobile/style-example-theme-two.json [moved from resources/style/mobile/style-example-theme-two.json.in with 100% similarity]
resources/style/mobile/tests-theme.json [moved from resources/style/mobile/tests-theme.json.in with 100% similarity]
resources/style/mobile/text-editor-example-theme.json [moved from resources/style/text-editor-example-theme.json.in with 100% similarity]
resources/style/mobile/tooltip-example-theme.json [moved from resources/style/tooltip-example-theme.json.in with 100% similarity]
resources/style/progress-bar-example-theme.json [moved from resources/style/progress-bar-example-theme.json.in with 100% similarity]
resources/style/simple-example-theme.json [moved from resources/style/mobile/simple-example-theme.json.in with 100% similarity]
resources/style/style-example-theme-one.json [moved from resources/style/style-example-theme-one.json.in with 100% similarity]
resources/style/style-example-theme-three.json [moved from resources/style/mobile/style-example-theme-three.json.in with 100% similarity]
resources/style/style-example-theme-two.json [moved from resources/style/style-example-theme-two.json.in with 100% similarity]
resources/style/tests-theme.json [moved from resources/style/tests-theme.json.in with 100% similarity]
resources/style/text-editor-example-theme.json [moved from resources/style/mobile/text-editor-example-theme.json.in with 100% similarity]
resources/style/tooltip-example-theme.json [moved from resources/style/mobile/tooltip-example-theme.json.in with 100% similarity]

index e06014f..a0b8322 100644 (file)
@@ -115,23 +115,6 @@ ENDFOREACH(flag)
 #Create resources location file
 CONFIGURE_FILE( resources-location.in ${DEMO_SHARED}/resources-location.cpp )
 
-#Replace @DEMO_STYLE_IMAGE_DIR@ in following files
-CONFIGURE_FILE( ${LOCAL_STYLE_DIR}/base-theme.json.in ${LOCAL_STYLE_DIR}/base-theme.json )
-CONFIGURE_FILE( ${LOCAL_STYLE_DIR}/demo-theme.json.in ${LOCAL_STYLE_DIR}/demo-theme.json )
-CONFIGURE_FILE( ${LOCAL_STYLE_DIR}/examples-theme.json.in ${LOCAL_STYLE_DIR}/examples-theme.json )
-CONFIGURE_FILE( ${LOCAL_STYLE_DIR}/tests-theme.json.in ${LOCAL_STYLE_DIR}/tests-theme.json )
-CONFIGURE_FILE( ${LOCAL_STYLE_DIR}/animated-gradient-call-active-style.json.in ${LOCAL_STYLE_DIR}/animated-gradient-call-active-style.json )
-CONFIGURE_FILE( ${LOCAL_STYLE_DIR}/contact-cards-example-theme.json.in ${LOCAL_STYLE_DIR}/contact-cards-example-theme.json )
-CONFIGURE_FILE( ${LOCAL_STYLE_DIR}/progress-bar-example-theme.json.in ${LOCAL_STYLE_DIR}/progress-bar-example-theme.json )
-CONFIGURE_FILE( ${LOCAL_STYLE_DIR}/simple-example-theme.json.in ${LOCAL_STYLE_DIR}/simple-example-theme.json )
-CONFIGURE_FILE( ${LOCAL_STYLE_DIR}/style-example-theme-one.json.in ${LOCAL_STYLE_DIR}/style-example-theme-one.json )
-CONFIGURE_FILE( ${LOCAL_STYLE_DIR}/style-example-theme-two.json.in ${LOCAL_STYLE_DIR}/style-example-theme-two.json )
-CONFIGURE_FILE( ${LOCAL_STYLE_DIR}/style-example-theme-three.json.in ${LOCAL_STYLE_DIR}/style-example-theme-three.json )
-CONFIGURE_FILE( ${LOCAL_STYLE_DIR}/tooltip-example-theme.json.in ${LOCAL_STYLE_DIR}/tooltip-example-theme.json )
-CONFIGURE_FILE( ${LOCAL_STYLE_DIR}/basic-light-theme.json.in ${LOCAL_STYLE_DIR}/basic-light-theme.json )
-CONFIGURE_FILE( ${LOCAL_STYLE_DIR}/text-editor-example-theme.json.in ${LOCAL_STYLE_DIR}/text-editor-example-theme.json )
-MESSAGE("Configured ${LOCAL_STYLE_DIR}/style-example-theme<>.json files")
-
 FILE(GLOB LOCAL_STYLES_LIST "${LOCAL_STYLE_DIR}/*.json")
 FOREACH(flag ${LOCAL_STYLES_LIST})
   INSTALL(FILES ${flag} DESTINATION ${STYLE_DIR})
diff --git a/resources/style/.gitignore b/resources/style/.gitignore
deleted file mode 100644 (file)
index 5582fe8..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-base-theme.json
-demo-theme.json
-examples-theme.json
-tests-theme.json
-animated-gradient-call-active-style.json
-contact-cards-example-theme.json
-progress-bar-example-theme.json
-simple-example-theme.json
-style-example-theme-three.json
-style-example-theme-two.json
-style-example-theme-one.json
-tooltip-example-theme.json
-basic-light-theme.json
-text-editor-example-theme.json