Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: BUILD.public

Issue 1291603003: Add files from google3 to Git repo. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Remove BUILD, add BUILD.public, and update sync script to replace BUILD.google with BUILD. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LICENSE » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.public
diff --git a/BUILD.public b/BUILD.public
new file mode 100644
index 0000000000000000000000000000000000000000..f69e9b63c1fa9b11d3447c8f81ccf2b863e20ba5
--- /dev/null
+++ b/BUILD.public
@@ -0,0 +1,129 @@
+# Description:
+# Skia graphics library.
+#
+# Definitions for Google BUILD file.
+
+exports_files(["BUILD.public"])
+
+# Platform-independent SRCS
+SRCS = glob(
+ [
+ "google/*.cpp",
+ "src/c/*.cpp",
+ "src/core/*.cpp",
+ "src/device/*.cpp",
+ "src/doc/*.cpp",
+ "src/effects/*.cpp",
+ "src/effects/gradients/*.cpp",
+ "src/image/*.cpp",
+ "src/images/*.cpp",
+ "src/lazy/*.cpp",
+ "src/pathops/*.cpp",
+ "src/pdf/*.cpp",
+ "src/pipe/*.cpp",
+ "src/sfnt/*.cpp",
+ "src/utils/*.cpp",
+ "src/gpu/*.cpp",
+ "src/gpu/effects/*.cpp",
+ "src/gpu/gl/*.cpp",
+ "src/gpu/gl/builders/*.cpp",
+ "src/gpu/gl/debug/*.cpp",
+ "src/gpu/gl/glx/*.cpp",
+ "src/opts/opts_check_x86.cpp",
+ "src/opts/*SSE2*.cpp",
+ "src/opts/SkTextureCompression_opts_none.cpp",
+
+ # TODO(mtklein): might be more maintainable with a blacklist instead?
+ "src/ports/SkBarriers_x86.cpp",
+ "src/ports/SkDebug_stdio.cpp",
+ "src/ports/SkDiscardableMemory_none.cpp",
+ "src/ports/SkFontHost_linux.cpp",
+ "src/ports/SkFontHost_FreeType.cpp",
+ "src/ports/SkFontHost_FreeType_common.cpp",
+ "src/ports/SkGlobalInitialization_default.cpp",
+ "src/ports/SkImageGenerator_skia.cpp",
+ "src/ports/SkMemory_malloc.cpp",
+ "src/ports/SkMutex_pthread.h",
+ "src/ports/SkOSFile_posix.cpp",
+ "src/ports/SkOSFile_stdio.cpp",
+ "src/ports/SkTLS_pthread.cpp",
+ "src/ports/SkTime_Unix.cpp",
+
+ # Third Party
+ "third_party/etc1/*.cpp",
+ "third_party/ktx/*.cpp",
+ ],
+ exclude = [
+ "src/pdf/SkPDFFont.cpp", # Wrapped by google/SkPDFFont_sfntly.cpp
+ "src/gpu/gl/GrGLDefaultInterface_none.cpp",
+ "src/gpu/gl/GrGLCreateNativeInterface_none.cpp",
+ # TODO(mtklein): files below here probably want upstream fixes
+ "src/utils/SkThreadUtils_pthread_mach.cpp", # Mac-only. Move to ports?
+ # Non-Mac-non-Linux. Move to ports?
+ "src/utils/SkThreadUtils_pthread_other.cpp",
+ "src/utils/SkThreadUtils_win.cpp", # Windows-only. Move to ports?
+ "src/doc/*_XPS.cpp",
hal.canary 2015/08/17 21:45:47 exclude src/doc/SkDocument_PDF_None.cpp ?
mtklein 2015/08/17 21:52:54 Yes, this will need to be done before we roll to h
+
+ # TODO(melanielc): These don't compile. Maybe remove them?
+ "src/pathops/SkConicLineIntersection.cpp",
+ "src/pathops/SkPathOpsPostSect.cpp",
+ ],
+)
+
+HDRS = glob(
+ [
+ "include/**/*.h",
+ ],
+)
+
+# Includes needed by Skia implementation. Not public includes.
+INCLUDES = [
+ "include/animator",
+ "include/c",
+ "include/codec",
+ "include/config",
+ "include/core",
+ "include/device",
+ "include/effects",
+ "include/gpu",
+ "include/images",
+ "include/pathops",
+ "include/pdf",
+ "include/pipe",
+ "include/ports",
+ "include/private",
+ "include/utils",
+ "include/views",
+ "include/xml",
+ "src/core",
+ "src/doc",
+ "src/gpu",
+ "src/image",
+ "src/lazy",
+ "src/opts",
+ "src/pdf",
+ "src/ports",
+ "src/sfnt",
+ "src/utils",
+ "third_party/etc1",
+ "third_party/ktx",
+]
+
+COPTS = [
+ "-Wno-deprecated-declarations", # Internal use of deprecated methods. :(
+ "-Wno-implicit-fallthrough", # Some intentional fallthrough.
+]
+
+DEFINES = [
+ # It'd be nice for fastbuild, dbg -> SK_DEBUG, opt -> SK_RELEASE.
+ "SK_RELEASE",
+ # Chrome DEFINES.
+ "SK_USE_FLOATBITS",
+ "SK_USE_FREETYPE_EMBOLDEN",
+ # Turn on a few Google3-specific build fixes.
+ "GOOGLE3",
+ "SK_BUILD_FOR_UNIX",
+ "SK_SAMPLES_FOR_X",
+]
+
+LINKOPTS = ["-ldl"]
« no previous file with comments | « no previous file | LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698