Clean: remove useless headers 37/14637/3
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Fri, 22 Jun 2018 23:42:45 +0000 (08:42 +0900)
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Mon, 25 Jun 2018 01:33:18 +0000 (01:33 +0000)
* Shorten build time
* Remove unnecessary dependencies

Change-Id: I960b2a21124cabc62ef73436fb5a7ab5191c4e0d
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/CMakeLists.txt
src/app.cpp
src/app.hpp
src/json_helper.hpp
src/layers.cpp
src/layers.hpp
src/layout.hpp
src/main.cpp
src/wayland_ivi_wm.cpp

index cc3efc3..47d4bf8 100644 (file)
@@ -28,22 +28,13 @@ set(TARGETS_WM windowmanager-service)
 add_library(${TARGETS_WM} MODULE
    main.cpp
    wayland_ivi_wm.cpp
-   wayland_ivi_wm.hpp
    util.cpp
-   util.hpp
    layout.cpp
-   layout.hpp
    ${IVI_CON_PROTO}
    json_helper.cpp
-   json_helper.hpp
-   app.hpp app.cpp
-   result.hpp
+   app.cpp
    layers.cpp
-   layers.hpp
-   controller_hooks.hpp
-   config.cpp
-   config.hpp
-   policy.hpp)
+   config.cpp)
 
 target_include_directories(${TARGETS_WM}
     PRIVATE
index 4076f85..e7048c4 100644 (file)
  * limitations under the License.
  */
 
-#include "app.hpp"
-#include "json_helper.hpp"
-#include "layers.hpp"
-#include "layout.hpp"
-#include "util.hpp"
-#include "wayland_ivi_wm.hpp"
-
-#include <cstdio>
-#include <memory>
-
-#include <cassert>
-
-#include <json-c/json.h>
-
-#include <algorithm>
-#include <csignal>
 #include <fstream>
-#include <json.hpp>
 #include <regex>
-#include <thread>
+
+#include "app.hpp"
+#include "../include/json.hpp"
+
 
 namespace wm {
 
index a0da1ba..0db2e06 100644 (file)
 #define TMCAGLWM_APP_HPP
 
 #include <json-c/json.h>
-
 #include <atomic>
 #include <memory>
 #include <unordered_map>
-#include <unordered_set>
 #include <experimental/optional>
 #include "config.hpp"
 #include "controller_hooks.hpp"
 #include "layers.hpp"
 #include "layout.hpp"
 #include "policy.hpp"
-#include "result.hpp"
 #include "wayland_ivi_wm.hpp"
 #include "hmi-debug.h"
 
index 6c9cdab..125473e 100644 (file)
@@ -17,9 +17,8 @@
 #ifndef TMCAGLWM_JSON_HELPER_HPP
 #define TMCAGLWM_JSON_HELPER_HPP
 
-#include "result.hpp"
+#include "../include/json.hpp"
 #include "wayland_ivi_wm.hpp"
-#include <json.hpp>
 
 struct json_object;
 
index 4e7af91..92c19bf 100644 (file)
  * limitations under the License.
  */
 
-#include <algorithm>
 #include <regex>
 
-#include "json_helper.hpp"
 #include "layers.hpp"
-#include "util.hpp"
 #include "hmi-debug.h"
 
 namespace wm
index 6ecf2e7..e4160a5 100644 (file)
 #ifndef TMCAGLWM_LAYERS_H
 #define TMCAGLWM_LAYERS_H
 
-#include <json.hpp>
-
-#include <regex>
-#include <set>
 #include <string>
 
+#include "../include/json.hpp"
 #include "layout.hpp"
 #include "result.hpp"
 #include "wayland_ivi_wm.hpp"
index d8c9b88..3430ef3 100644 (file)
 #ifndef TMCAGLWM_LAYOUT_HPP
 #define TMCAGLWM_LAYOUT_HPP
 
-#include <cstdint>
-#include <string>
-
-#include "result.hpp"
-
 namespace wm
 {
 
index f7c6dd0..602e1f6 100644 (file)
 #include <algorithm>
 #include <mutex>
 #include <json.h>
-#include <json.hpp>
+#include "../include/json.hpp"
 #include "app.hpp"
-#include "result.hpp"
 #include "json_helper.hpp"
-#include "util.hpp"
 #include "wayland_ivi_wm.hpp"
 
 extern "C"
index 5cc16b2..6a1c84a 100644 (file)
@@ -14,9 +14,6 @@
  * limitations under the License.
  */
 
-#include <utility>
-
-#include "util.hpp"
 #include "wayland_ivi_wm.hpp"
 #include "hmi-debug.h"