From: Adrian Szyndela Date: Wed, 23 Jun 2021 14:33:37 +0000 (+0200) Subject: remove gdbus remainings X-Git-Tag: submit/tizen/20210629.011533~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=098197afb46b2ba2132c173b3bef0506008489d8;p=platform%2Fcore%2Fapi%2Fperipheral-io.git remove gdbus remainings Change-Id: I5a527db12075b70b9c9cf092199ead6726dccc01 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 34b4bab..73645cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,22 +16,11 @@ SET(CMAKE_INSTALL_PREFIX ${prefix}) SET(PREFIX $(CMAKE_INSTALL_PREFIX)) SET(VERSION ${version}) -FIND_PROGRAM(GDBUS_CODEGEN NAMES gdbus-codegen) -EXEC_PROGRAM(${GDBUS_CODEGEN} ARGS - " \\ - --generate-c-code ${CMAKE_SOURCE_DIR}/src/gdbus/peripheral_io_gdbus \\ - --c-namespace PeripheralIoGdbus \\ - --interface-prefix org.tizen.peripheral_io. \\ - ${CMAKE_SOURCE_DIR}/src/gdbus/peripheral_io.xml \\ - ") - SET(INC_DIR include) INCLUDE_DIRECTORIES(${INC_DIR}) -INCLUDE_DIRECTORIES(${INC_DIR}/gdbus) INCLUDE_DIRECTORIES(${INC_DIR}/interface) SET(SRC_DIR src) -INCLUDE_DIRECTORIES(${SRC_DIR}/gdbus) INCLUDE(FindPkgConfig) pkg_check_modules(${fw_name} REQUIRED ${dependents}) @@ -60,8 +49,7 @@ SET(SOURCES src/peripheral_gpio.c src/peripheral_adc.c src/peripheral_uart.c src/peripheral_spi.c - src/interface/peripheral_interface_pwm.c - src/gdbus/peripheral_io_gdbus.c) + src/interface/peripheral_interface_pwm.c) ADD_LIBRARY(${fw_name} SHARED ${SOURCES}) diff --git a/include/gdbus/peripheral_gdbus_common.h b/include/gdbus/peripheral_gdbus_common.h deleted file mode 100644 index 803faf3..0000000 --- a/include/gdbus/peripheral_gdbus_common.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2017-2018 Samsung Electronics Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef __PERIPHERAL_GDBUS_COMMON_H__ -#define __PERIPHERAL_GDBUS_COMMON_H__ - -#include -#include -#include - -#include "peripheral_io.h" -#include "peripheral_handle.h" -#include "peripheral_io_gdbus.h" -#include "peripheral_log.h" - -#define PERIPHERAL_GDBUS_INTERFACE "org.tizen.peripheral_io" -#define PERIPHERAL_GDBUS_GPIO_PATH "/Org/Tizen/Peripheral_io/Gpio" -#define PERIPHERAL_GDBUS_I2C_PATH "/Org/Tizen/Peripheral_io/I2c" -#define PERIPHERAL_GDBUS_PWM_PATH "/Org/Tizen/Peripheral_io/Pwm" -#define PERIPHERAL_GDBUS_ADC_PATH "/Org/Tizen/Peripheral_io/Adc" -#define PERIPHERAL_GDBUS_UART_PATH "/Org/Tizen/Peripheral_io/Uart" -#define PERIPHERAL_GDBUS_SPI_PATH "/Org/Tizen/Peripheral_io/Spi" -#define PERIPHERAL_GDBUS_NAME "org.tizen.peripheral_io" - -#endif /* __PERIPHERAL_GDBUS_COMMON_H__ */ diff --git a/src/gdbus/peripheral_io.xml b/src/gdbus/peripheral_io.xml deleted file mode 100644 index c868cdf..0000000 --- a/src/gdbus/peripheral_io.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -