aboutsummaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorBrian Osman <brianosman@google.com>2018-10-25 13:03:02 +0000
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2018-10-25 13:03:10 +0000
commit7d1c9ec49f8a846cef833a0f956cf9c91a298145 (patch)
treee60bf113acc9e1d4276826dec128704204111e16 /third_party
parentdfca8f6adb6bcfdeb250bacf399717dbe3fdac8e (diff)
downloadskqp-7d1c9ec49f8a846cef833a0f956cf9c91a298145.tar.gz
Revert "New GIF codec; new third_party/wuffs dep"
This reverts commit 60009388be154f9f65b9e3336c0b460851541aef. Reason for revert: Breaking Google3 roll. Original change's description: > New GIF codec; new third_party/wuffs dep > > Bug: skia:8235 > Change-Id: I883e05bc50c48f822b5ac3884f25ae67d21c94a9 > Reviewed-on: https://skia-review.googlesource.com/c/136940 > Commit-Queue: Leon Scroggins <scroggo@google.com> > Reviewed-by: Leon Scroggins <scroggo@google.com> TBR=scroggo@google.com,nigeltao@google.com Change-Id: I515c5144d0475173ce8f854f4f00f59c4655fdc4 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia:8235 Reviewed-on: https://skia-review.googlesource.com/c/164903 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/wuffs/BUILD.gn13
-rw-r--r--third_party/wuffs/wuffs.c42
2 files changed, 0 insertions, 55 deletions
diff --git a/third_party/wuffs/BUILD.gn b/third_party/wuffs/BUILD.gn
deleted file mode 100644
index 377b60932d..0000000000
--- a/third_party/wuffs/BUILD.gn
+++ /dev/null
@@ -1,13 +0,0 @@
-# Copyright 2018 Google Inc.
-#
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import("../third_party.gni")
-
-third_party("wuffs") {
- public_include_dirs = [ "../externals/wuffs/release/c" ]
- sources = [
- "wuffs.c",
- ]
-}
diff --git a/third_party/wuffs/wuffs.c b/third_party/wuffs/wuffs.c
deleted file mode 100644
index 9c6eb9d05d..0000000000
--- a/third_party/wuffs/wuffs.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright 2018 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-// The Wuffs library ships as a single file - a .h file - which GN does not
-// recognize as something to be compiled, because it ends in .h and not .c or
-// .cpp. Instead, this trivial file is a placeholder .c file that is a BUILD.gn
-// target for the third party Wuffs library.
-//
-// Copy/pasting from the Wuffs .h file's comments:
-//
-// ----
-//
-// Wuffs ships as a "single file C library" or "header file library" as per
-// https://github.com/nothings/stb/blob/master/docs/stb_howto.txt
-//
-// To use that single file as a "foo.c"-like implementation, instead of a
-// "foo.h"-like header, #define WUFFS_IMPLEMENTATION before #include'ing or
-// compiling it.
-//
-// ----
-#define WUFFS_IMPLEMENTATION
-
-// Defining the WUFFS_CONFIG__MODULE* macros are optional, but it lets users of
-// Wuffs' .h file whitelist which parts of Wuffs to build. That file contains
-// the entire Wuffs standard library, implementing a variety of codecs and file
-// formats. Without this macro definition, an optimizing compiler or linker may
-// very well discard Wuffs code for unused codecs, but listing the Wuffs
-// modules we use makes that process explicit. Preprocessing means that such
-// code simply isn't compiled.
-//
-// For Skia, we're only interested in particular image codes (e.g. GIF) and
-// their dependencies (e.g. BASE, LZW).
-#define WUFFS_CONFIG__MODULES
-#define WUFFS_CONFIG__MODULE__BASE
-#define WUFFS_CONFIG__MODULE__GIF
-#define WUFFS_CONFIG__MODULE__LZW
-
-#include "wuffs-v0.2.h"