CMakeLists maintenance (#1826)

Removed various superfluous declarations, and rewrote some parts to
be nicer or more consistent.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2017-06-06 09:08:14 +02:00
committed by GitHub
parent 11d5402c35
commit 905cd705ef
12 changed files with 75 additions and 96 deletions
+4 -4
View File
@@ -13,6 +13,10 @@
* limitations under the License.
*/
#include "jcontext.h"
#include "jerry-debugger.h"
#include "jerryscript-port.h"
#ifdef JERRY_DEBUGGER
#include <arpa/inet.h>
@@ -20,10 +24,6 @@
#include <fcntl.h>
#include <unistd.h>
#include "jcontext.h"
#include "jerry-debugger.h"
#include "jerryscript-port.h"
/**
* Debugger socket communication port.
*/
+2 -2
View File
@@ -16,10 +16,10 @@
#ifndef JERRY_DEBUGGER_WS_H
#define JERRY_DEBUGGER_WS_H
#ifdef JERRY_DEBUGGER
#include "ecma-globals.h"
#ifdef JERRY_DEBUGGER
/* JerryScript debugger protocol is a simplified version of RFC-6455 (WebSockets). */
/**
+2 -2
View File
@@ -13,8 +13,6 @@
* limitations under the License.
*/
#ifdef JERRY_DEBUGGER
#include "byte-code.h"
#include "ecma-builtin-helpers.h"
#include "ecma-conversion.h"
@@ -25,6 +23,8 @@
#include "jerryscript-port.h"
#include "lit-char-helpers.h"
#ifdef JERRY_DEBUGGER
/**
* Type cast the debugger send buffer into a specific type.
*/
+2 -2
View File
@@ -16,11 +16,11 @@
#ifndef JERRY_DEBUGGER_H
#define JERRY_DEBUGGER_H
#ifdef JERRY_DEBUGGER
#include "jerry-debugger-ws.h"
#include "ecma-globals.h"
#ifdef JERRY_DEBUGGER
/* JerryScript debugger protocol is a simplified version of RFC-6455 (WebSockets). */
/**
+2 -2
View File
@@ -40,10 +40,10 @@
* http://www.itl.nist.gov/fipspubs/fip180-1.htm
*/
#ifdef JERRY_DEBUGGER
#include "jerry-debugger.h"
#ifdef JERRY_DEBUGGER
/**
* SHA-1 context structure.
*/