Skip to content

Commit 137ccbb

Browse files
author
Alex Sakhartchouk
committed
Starting to untangle header spaghetti.
Change-Id: I31f38d05dc8b55c659e8c7e9c0a87b94b9ac1db5
1 parent 3b88729 commit 137ccbb

File tree

15 files changed

+11
-10
lines changed

15 files changed

+11
-10
lines changed

libs/rs/RenderScript.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <string.h>
2222

2323
#include "RenderScript.h"
24+
#include "rs.h"
2425

2526
bool RenderScript::gInitialized = false;
2627
pthread_mutex_t RenderScript::gInitMutex = PTHREAD_MUTEX_INITIALIZER;

libs/rs/RenderScript.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <utils/String8.h>
2323
#include <utils/Vector.h>
2424

25-
#include "rs.h"
25+
#include "rsDefines.h"
2626

2727
class Element;
2828
class Type;

libs/rs/rsComponent.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#define ANDROID_COMPONENT_H
1919

2020
#include "rsUtils.h"
21+
#include "rsDefines.h"
2122

2223
// ---------------------------------------------------------------------------
2324
namespace android {

libs/rs/rsContext.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17+
#include "rs.h"
1718
#include "rsDevice.h"
1819
#include "rsContext.h"
1920
#include "rsThreadIO.h"

libs/rs/rsElement.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#include "rsComponent.h"
2121
#include "rsUtils.h"
22+
#include "rsDefines.h"
2223
#include "rsObjectBase.h"
2324

2425
// ---------------------------------------------------------------------------

libs/rs/rsFileA3D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
#include "rsMesh.h"
2222
#include "rsAnimation.h"
23-
23+
#include "rs.h"
2424

2525
using namespace android;
2626
using namespace android::renderscript;

libs/rs/rsFileA3D.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#ifndef ANDROID_RS_FILE_A3D_H
1818
#define ANDROID_RS_FILE_A3D_H
1919

20-
#include "rs.h"
2120
#include "rsMesh.h"
2221

2322
#include <androidfw/Asset.h>

libs/rs/rsFont.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717

1818
#include "rsContext.h"
19-
19+
#include "rs.h"
2020
#include "rsFont.h"
2121
#include "rsProgramFragment.h"
2222
#include <cutils/properties.h>

libs/rs/rsFont.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#ifndef ANDROID_RS_FONT_H
1818
#define ANDROID_RS_FONT_H
1919

20-
#include "rs.h"
2120
#include "rsStream.h"
2221
#include <utils/String8.h>
2322
#include <utils/Vector.h>

libs/rs/rsMesh.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616

1717
#include "rsContext.h"
18+
#include "rs.h"
1819

1920
using namespace android;
2021
using namespace android::renderscript;

0 commit comments

Comments
 (0)