Tidy up includes and add modules to the classic build:

An alternative to the unity build, the classic build compiles each
translation unit individually. This adds more modules to the classic build:

* Remove unity header app.h
* Add missing includes as needed
* Remove obsolete NodeStore backend code
* Add app/, core/, crypto/, json/, net/, overlay/, peerfinder/ to classic build
This commit is contained in:
Vinnie Falco
2014-12-29 08:49:55 -08:00
parent 2e595830b3
commit df54b47cd0
412 changed files with 1736 additions and 1224 deletions

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/rpc/impl/AccountFromString.h>
namespace ripple {

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/rpc/impl/Accounts.h>
namespace ripple {

View File

@@ -21,10 +21,14 @@
#define RIPPLE_RPC_CONTEXT
#include <ripple/core/Config.h>
#include <ripple/net/InfoSub.h>
#include <ripple/rpc/Yield.h>
#include <ripple/server/Role.h>
namespace ripple {
class NetworkOPs;
namespace RPC {
/** The context of information needed to call an RPC. */

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/rpc/Coroutine.h>
#include <ripple/rpc/tests/TestOutputSuite.test.h>

View File

@@ -20,6 +20,7 @@
#ifndef RIPPLE_RPC_PRINT_H_INCLUDED
#define RIPPLE_RPC_PRINT_H_INCLUDED
#include <ripple/app/main/Application.h>
#include <ripple/json/JsonPropertyStream.h>
namespace ripple {

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/rpc/impl/GetMasterGenerator.h>
namespace ripple {

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/rpc/impl/Handler.h>
#include <ripple/rpc/handlers/Handlers.h>

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/rpc/impl/JsonObject.h>
namespace ripple {

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/rpc/impl/JsonWriter.h>
#include <ripple/rpc/impl/WriteJson.h>
#include <beast/unit_test/suite.h>

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/rpc/impl/Tuning.h>
#include <ripple/rpc/impl/LegacyPathFind.h>

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/rpc/impl/LookupLedger.h>
namespace ripple {

View File

@@ -17,10 +17,10 @@
*/
//==============================================================================
#include <beast/cxx14/memory.h>
#include <BeastConfig.h>
#include <ripple/rpc/Manager.h>
#include <ripple/rpc/impl/DoPrint.h>
#include <beast/cxx14/memory.h>
namespace ripple {
namespace RPC {

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/rpc/impl/ParseAccountIds.h>
namespace ripple {

View File

@@ -17,22 +17,24 @@
*/
//==============================================================================
#include <ripple/basics/Log.h>
#include <ripple/core/JobQueue.h>
#include <ripple/json/to_string.h>
#include <ripple/protocol/JsonFields.h>
#include <ripple/net/RPCErr.h>
#include <BeastConfig.h>
#include <ripple/rpc/RPCHandler.h>
#include <ripple/rpc/Yield.h>
#include <ripple/rpc/impl/Tuning.h>
#include <ripple/rpc/impl/Context.h>
#include <ripple/rpc/impl/Handler.h>
#include <ripple/rpc/impl/WriteJson.h>
#include <ripple/server/Role.h>
#include <ripple/app/ledger/LedgerMaster.h>
#include <ripple/app/misc/NetworkOPs.h>
#include <ripple/basics/Log.h>
#include <ripple/core/Config.h>
#include <ripple/core/JobQueue.h>
#include <ripple/json/to_string.h>
#include <ripple/net/InfoSub.h>
#include <ripple/net/RPCErr.h>
#include <ripple/protocol/JsonFields.h>
#include <ripple/rpc/impl/Context.h>
#include <ripple/server/Role.h>
namespace ripple {
namespace RPC {

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/rpc/Status.h>
namespace ripple {

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/app/paths/FindPaths.h>
#include <ripple/basics/StringUtilities.h>
#include <ripple/json/json_reader.h>

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/rpc/impl/WriteJson.h>
#include <ripple/rpc/impl/JsonWriter.h>

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/rpc/Yield.h>
#include <ripple/rpc/tests/TestOutputSuite.test.h>