[svg] Post-relocation cleanup

Remove transitional headers and build file workarounds.

Change-Id: Iebe63d44b6ae3a736c7b31a45975056ec92b91cd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/327716
Commit-Queue: Florin Malita <fmalita@google.com>
Reviewed-by: Tyler Denniston <tdenniston@google.com>
This commit is contained in:
Florin Malita 2020-10-16 10:53:27 -04:00 committed by Skia Commit-Bot
parent 27f7fe32f4
commit a5e8f6b402
31 changed files with 2 additions and 297 deletions

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGAttribute.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGAttributeParser.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGCircle.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGClipPath.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGContainer.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGDOM.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGDefs.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGEllipse.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGG.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGGradient.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGHiddenContainer.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGIDMapper.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGLine.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGLinearGradient.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGNode.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGPath.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGPattern.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGPoly.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGRadialGradient.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGRect.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGRenderContext.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGSVG.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGShape.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGStop.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGText.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGTransformableNode.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGTypes.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGUse.h"

View File

@ -1,10 +0,0 @@
/*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Transitional forwarding header. To be removed.
#include "modules/svg/include/SkSVGValue.h"

View File

@ -988,11 +988,7 @@ SKOTTIE_IOS_LIB_SDK_FRAMEWORKS = [
################################################################################ ################################################################################
def svg_lib_hdrs(): def svg_lib_hdrs():
return native.glob([ return native.glob(["modules/svg/include/*.h"])
# transitional headers, to be removed
"experimental/svg/model/*.h",
"modules/svg/include/*.h",
])
def svg_lib_srcs(): def svg_lib_srcs():
return native.glob(["modules/svg/src/*.cpp"]) return native.glob(["modules/svg/src/*.cpp"])

View File

@ -39,8 +39,7 @@ roots = [
# Don't count our local Vulkan headers as Skia headers; # Don't count our local Vulkan headers as Skia headers;
# we don't want #include <vulkan/vulkan_foo.h> rewritten to point to them. # we don't want #include <vulkan/vulkan_foo.h> rewritten to point to them.
# Nor do we care about things in node_modules, used by *Kits. # Nor do we care about things in node_modules, used by *Kits.
# Also ignore transitional SVG headers. ignorelist = ['include/third_party/vulkan', 'node_modules']
ignorelist = ['include/third_party/vulkan', 'node_modules', 'experimental/svg/model']
assert '/' in [os.sep, os.altsep] assert '/' in [os.sep, os.altsep]
def fix_path(p): def fix_path(p):