Speculative fix for Google3 iOS build
authormsarett <msarett@google.com>
Wed, 17 Feb 2016 22:14:25 +0000 (14:14 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Feb 2016 22:14:25 +0000 (14:14 -0800)
Now that SkImageGenerator is hooked up to use SkCodec by default,
we need to compile SkCodec in order to compile Skia.

The good news is that we can now turn on/off individual codecs.

This CL enables SkCodec on iOS, but does not turn on any of the
codecs that require third_party libraries.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1710493002

Review URL: https://codereview.chromium.org/1710493002

public.bzl

index 987d7c5..a8913fc 100644 (file)
@@ -215,6 +215,8 @@ BASE_SRCS_ANDROID = struct(
 # Platform-dependent SRCS for google3-default iOS.
 BASE_SRCS_IOS = struct(
     include = [
+        "src/android/*",
+        "src/codec/*",
         "src/gpu/gl/GrGLDefaultInterface_native.cpp",
         "src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp",
         "src/opts/**/*.cpp",
@@ -224,6 +226,12 @@ BASE_SRCS_IOS = struct(
         "src/utils/mac/*.cpp",
     ],
     exclude = [
+        "src/codec/*Gif*.cpp",
+        "src/codec/*Ico*.cpp",
+        "src/codec/*Jpeg*.cpp",
+        "src/codec/*Webp*.cpp",
+        "src/codec/*Png*",
+        "src/codec/*Raw*.cpp",
         "src/opts/*mips*",
         "src/opts/*NEON*",
         "src/opts/*neon*",