Move SkTHash.h to include/private.

include/views/SkOSWindow_Win.h includes it.

To move SkTHash.h to include/private, SkChecksum.h needs to go there too.  To move SkChecksum.h to include/private, SkTLogic needs to go there too.

This adds a bunch of -Iinclude/private to tools.gyp I missed in the last CL.

No public API changes.
TBR=reed@google.com

BUG=skia:4126

Review URL: https://codereview.chromium.org/1260613006
This commit is contained in:
mtklein 2015-07-28 09:54:52 -07:00 committed by Commit bot
parent 3073b5fabe
commit fd8ed69447
7 changed files with 18 additions and 4 deletions

View File

@ -175,6 +175,7 @@
'../tools/skpdiff/skpdiff_util.cpp',
],
'include_dirs': [
'../include/private',
'../src/core/', # needed for SkTLList.h
'../tools/', # needed for picture_utils::replace_char
],
@ -229,6 +230,7 @@
'../tools/skpmaker.cpp',
],
'include_dirs': [
'../include/private',
'../src/core',
],
'dependencies': [
@ -271,6 +273,7 @@
'../tools/skpinfo.cpp',
],
'include_dirs': [
'../include/private',
'../src/core/',
],
'dependencies': [
@ -297,6 +300,7 @@
'../tools/LazyDecodeBitmap.cpp',
],
'include_dirs': [
'../include/private',
'../src/core/',
'../src/lazy/',
'../tools/',
@ -316,6 +320,7 @@
'../tools/LazyDecodeBitmap.cpp',
],
'include_dirs': [
'../include/private',
'../src/core/',
'../src/images',
'../src/lazy',
@ -333,6 +338,7 @@
'../src/utils/SkLua.cpp',
],
'include_dirs': [
'../include/private',
# Lua exposes GrReduceClip which in turn requires src/core for SkTLList
'../src/gpu/',
'../src/core/',
@ -355,6 +361,7 @@
'../src/utils/SkLua.cpp',
],
'include_dirs': [
'../include/private',
# Lua exposes GrReduceClip which in turn requires src/core for SkTLList
'../src/gpu/',
'../src/core/',
@ -378,6 +385,7 @@
'../tools/render_pictures_main.cpp',
],
'include_dirs': [
'../include/private',
'../src/core',
'../src/images',
'../src/lazy',
@ -401,6 +409,7 @@
'../tools/bench_pictures_main.cpp',
],
'include_dirs': [
'../include/private',
'../src/core/',
'../bench',
'../src/lazy/',
@ -429,6 +438,7 @@
'../tools/LazyDecodeBitmap.cpp',
],
'include_dirs': [
'../include/private',
'../src/core/',
'../src/images',
'../src/lazy',
@ -456,6 +466,7 @@
'../src/pipe/utils/SamplePipeControllers.cpp',
],
'include_dirs': [
'../include/private',
'../src/core',
'../src/images',
'../src/lazy',
@ -498,6 +509,7 @@
'../tools/render_pdfs_main.cpp',
],
'include_dirs': [
'../include/private',
'../src/core',
'../src/pipe/utils/',
'../src/utils/',
@ -588,6 +600,7 @@
'target_name': 'filter',
'type': 'executable',
'include_dirs' : [
'../include/private',
'../src/core',
'../src/utils/debugger',
],
@ -715,6 +728,7 @@
'../src/utils/SkLua.cpp',
],
'include_dirs': [
'../include/private',
# Lua exposes GrReduceClip which in turn requires src/core for SkTLList
'../src/gpu/',
'../src/core/',
@ -778,6 +792,7 @@
'../tools/create_test_font.cpp',
],
'include_dirs': [
'../include/private',
'../src/core',
],
'dependencies': [

View File

@ -101,7 +101,6 @@
'<(skia_src_path)/utils/SkThreadUtils_win.cpp',
'<(skia_src_path)/utils/SkThreadUtils_win.h',
'<(skia_src_path)/utils/SkTFitsIn.h',
'<(skia_src_path)/utils/SkTLogic.h',
#mac
'<(skia_include_path)/utils/mac/SkCGUtils.h',

View File

@ -7,7 +7,7 @@
*/
#include "GrTypes.h"
#include "../../src/utils/SkTLogic.h"
#include "../private/SkTLogic.h"
#ifndef GrBlend_DEFINED
#define GrBlend_DEFINED

View File

@ -10,9 +10,9 @@
#ifndef SkOSWindow_Win_DEFINED
#define SkOSWindow_Win_DEFINED
#include "SkWindow.h"
#include "../../src/core/SkFunction.h"
#include "../../src/core/SkTHash.h"
#include "../private/SkTHash.h"
#include "SkWindow.h"
#if SK_ANGLE
#include "EGL/egl.h"