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

Unified Diff: third_party/snappy/snappy_unittest.target.mk

Issue 1276073004: Offline By Default (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add missing explicits. Created 5 years, 3 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 | « third_party/snappy/snappy.target.mk ('k') | third_party/snappy/win32/snappy-stubs-public.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/snappy/snappy_unittest.target.mk
diff --git a/third_party/snappy/snappy_unittest.target.mk b/third_party/snappy/snappy_unittest.target.mk
new file mode 100644
index 0000000000000000000000000000000000000000..680b2208b9ff68bb2a5abf5321398d9575bf7495
--- /dev/null
+++ b/third_party/snappy/snappy_unittest.target.mk
@@ -0,0 +1,269 @@
+# This file is generated by gyp; do not edit.
+
+TOOLSET := target
+TARGET := snappy_unittest
+DEFS_Debug := \
+ '-D_FILE_OFFSET_BITS=64' \
+ '-DUSE_LINUX_BREAKPAD' \
+ '-DCHROMIUM_BUILD' \
+ '-DUSE_DEFAULT_RENDER_THEME=1' \
+ '-DUSE_LIBJPEG_TURBO=1' \
+ '-DUSE_NSS=1' \
+ '-DUSE_X11=1' \
+ '-DENABLE_ONE_CLICK_SIGNIN' \
+ '-DGTK_DISABLE_SINGLE_INCLUDES=1' \
+ '-DENABLE_REMOTING=1' \
+ '-DENABLE_WEBRTC=1' \
+ '-DENABLE_CONFIGURATION_POLICY' \
+ '-DENABLE_INPUT_SPEECH' \
+ '-DENABLE_NOTIFICATIONS' \
+ '-DENABLE_GPU=1' \
+ '-DENABLE_EGLIMAGE=1' \
+ '-DENABLE_TASK_MANAGER=1' \
+ '-DENABLE_EXTENSIONS=1' \
+ '-DENABLE_PLUGIN_INSTALLATION=1' \
+ '-DENABLE_PLUGINS=1' \
+ '-DENABLE_SESSION_SERVICE=1' \
+ '-DENABLE_THEMES=1' \
+ '-DENABLE_BACKGROUND=1' \
+ '-DENABLE_AUTOMATION=1' \
+ '-DENABLE_GOOGLE_NOW=1' \
+ '-DENABLE_LANGUAGE_DETECTION=1' \
+ '-DENABLE_PRINTING=1' \
+ '-DENABLE_CAPTIVE_PORTAL_DETECTION=1' \
+ '-DENABLE_MANAGED_USERS=1' \
+ '-DUNIT_TEST' \
+ '-DGTEST_HAS_RTTI=0' \
+ '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
+ '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
+ '-D_DEBUG'
+
+# Flags passed to all source files.
+CFLAGS_Debug := \
+ -fstack-protector \
+ --param=ssp-buffer-size=4 \
+ -pthread \
+ -fno-exceptions \
+ -fno-strict-aliasing \
+ -Wno-unused-parameter \
+ -Wno-missing-field-initializers \
+ -fvisibility=hidden \
+ -pipe \
+ -fPIC \
+ -pthread \
+ -I/usr/include/glib-2.0 \
+ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include \
+ -I/usr/include/gtk-2.0 \
+ -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include \
+ -I/usr/include/atk-1.0 \
+ -I/usr/include/cairo \
+ -I/usr/include/gdk-pixbuf-2.0 \
+ -I/usr/include/pango-1.0 \
+ -I/usr/include/gio-unix-2.0/ \
+ -I/usr/include/pixman-1 \
+ -I/usr/include/freetype2 \
+ -I/usr/include/libpng12 \
+ -pthread \
+ -I/usr/include/glib-2.0 \
+ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include \
+ -Wno-format \
+ -Wno-unused-result \
+ -O0 \
+ -g
+
+# Flags passed to only C files.
+CFLAGS_C_Debug :=
+
+# Flags passed to only C++ files.
+CFLAGS_CC_Debug := \
+ -fno-rtti \
+ -fno-threadsafe-statics \
+ -fvisibility-inlines-hidden \
+ -Wno-deprecated
+
+INCS_Debug := \
+ -Ithird_party/snappy/linux \
+ -Ithird_party/snappy/src \
+ -I. \
+ -Itesting/gtest/include \
+ -Ithird_party/zlib
+
+DEFS_Release := \
+ '-D_FILE_OFFSET_BITS=64' \
+ '-DUSE_LINUX_BREAKPAD' \
+ '-DCHROMIUM_BUILD' \
+ '-DUSE_DEFAULT_RENDER_THEME=1' \
+ '-DUSE_LIBJPEG_TURBO=1' \
+ '-DUSE_NSS=1' \
+ '-DUSE_X11=1' \
+ '-DENABLE_ONE_CLICK_SIGNIN' \
+ '-DGTK_DISABLE_SINGLE_INCLUDES=1' \
+ '-DENABLE_REMOTING=1' \
+ '-DENABLE_WEBRTC=1' \
+ '-DENABLE_CONFIGURATION_POLICY' \
+ '-DENABLE_INPUT_SPEECH' \
+ '-DENABLE_NOTIFICATIONS' \
+ '-DENABLE_GPU=1' \
+ '-DENABLE_EGLIMAGE=1' \
+ '-DENABLE_TASK_MANAGER=1' \
+ '-DENABLE_EXTENSIONS=1' \
+ '-DENABLE_PLUGIN_INSTALLATION=1' \
+ '-DENABLE_PLUGINS=1' \
+ '-DENABLE_SESSION_SERVICE=1' \
+ '-DENABLE_THEMES=1' \
+ '-DENABLE_BACKGROUND=1' \
+ '-DENABLE_AUTOMATION=1' \
+ '-DENABLE_GOOGLE_NOW=1' \
+ '-DENABLE_LANGUAGE_DETECTION=1' \
+ '-DENABLE_PRINTING=1' \
+ '-DENABLE_CAPTIVE_PORTAL_DETECTION=1' \
+ '-DENABLE_MANAGED_USERS=1' \
+ '-DUNIT_TEST' \
+ '-DGTEST_HAS_RTTI=0' \
+ '-DNDEBUG' \
+ '-DNVALGRIND' \
+ '-DDYNAMIC_ANNOTATIONS_ENABLED=0'
+
+# Flags passed to all source files.
+CFLAGS_Release := \
+ -fstack-protector \
+ --param=ssp-buffer-size=4 \
+ -pthread \
+ -fno-exceptions \
+ -fno-strict-aliasing \
+ -Wno-unused-parameter \
+ -Wno-missing-field-initializers \
+ -fvisibility=hidden \
+ -pipe \
+ -fPIC \
+ -pthread \
+ -I/usr/include/glib-2.0 \
+ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include \
+ -I/usr/include/gtk-2.0 \
+ -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include \
+ -I/usr/include/atk-1.0 \
+ -I/usr/include/cairo \
+ -I/usr/include/gdk-pixbuf-2.0 \
+ -I/usr/include/pango-1.0 \
+ -I/usr/include/gio-unix-2.0/ \
+ -I/usr/include/pixman-1 \
+ -I/usr/include/freetype2 \
+ -I/usr/include/libpng12 \
+ -pthread \
+ -I/usr/include/glib-2.0 \
+ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include \
+ -Wno-format \
+ -Wno-unused-result \
+ -O2 \
+ -fno-ident \
+ -fdata-sections \
+ -ffunction-sections
+
+# Flags passed to only C files.
+CFLAGS_C_Release :=
+
+# Flags passed to only C++ files.
+CFLAGS_CC_Release := \
+ -fno-rtti \
+ -fno-threadsafe-statics \
+ -fvisibility-inlines-hidden \
+ -Wno-deprecated
+
+INCS_Release := \
+ -Ithird_party/snappy/linux \
+ -Ithird_party/snappy/src \
+ -I. \
+ -Itesting/gtest/include \
+ -Ithird_party/zlib
+
+OBJS := \
+ $(obj).target/$(TARGET)/third_party/snappy/src/snappy-test.o \
+ $(obj).target/$(TARGET)/third_party/snappy/src/snappy_unittest.o
+
+# Add to the list of files we specially track dependencies for.
+all_deps += $(OBJS)
+
+# Make sure our dependencies are built before any of us.
+$(OBJS): | $(obj).target/third_party/snappy/libsnappy.a $(obj).target/base/libbase.a $(obj).target/testing/libgtest.a $(obj).target/third_party/zlib/libchrome_zlib.a $(obj).target/base/libbase_static.a $(obj).target/base/allocator/liballocator_extension_thunks.a $(obj).target/testing/gtest_prod.stamp $(obj).target/third_party/modp_b64/libmodp_b64.a $(obj).target/base/third_party/dynamic_annotations/libdynamic_annotations.a $(obj).target/base/libsymbolize.a $(obj).target/build/linux/glib.stamp $(obj).target/base/libxdg_mime.a $(obj).target/build/linux/gtk.stamp $(obj).target/build/linux/x11.stamp $(obj).target/third_party/libevent/libevent.a
+
+# CFLAGS et al overrides must be target-local.
+# See "Target-specific Variable Values" in the GNU Make manual.
+$(OBJS): TOOLSET := $(TOOLSET)
+$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
+$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
+
+# Suffix rules, putting all outputs into $(obj).
+
+$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+
+# Try building from generated source, too.
+
+$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+
+$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
+ @$(call do_cmd,cxx,1)
+
+# End of this set of suffix rules
+### Rules for final target.
+LDFLAGS_Debug := \
+ -Wl,-z,now \
+ -Wl,-z,relro \
+ -pthread \
+ -Wl,-z,noexecstack \
+ -fPIC \
+ -Wl,--threads \
+ -Wl,--thread-count=4 \
+ -B$(builddir)/../../third_party/gold \
+ -Wl,--icf=none
+
+LDFLAGS_Release := \
+ -Wl,-z,now \
+ -Wl,-z,relro \
+ -pthread \
+ -Wl,-z,noexecstack \
+ -fPIC \
+ -Wl,--threads \
+ -Wl,--thread-count=4 \
+ -B$(builddir)/../../third_party/gold \
+ -Wl,--icf=none \
+ -Wl,-O1 \
+ -Wl,--as-needed \
+ -Wl,--gc-sections
+
+LIBS := \
+ \
+ -lrt \
+ -ldl \
+ -lgmodule-2.0 \
+ -lgobject-2.0 \
+ -lgthread-2.0 \
+ -lglib-2.0 \
+ -lXtst \
+ -lgtk-x11-2.0 \
+ -lgdk-x11-2.0 \
+ -latk-1.0 \
+ -lgio-2.0 \
+ -lpangoft2-1.0 \
+ -lpangocairo-1.0 \
+ -lgdk_pixbuf-2.0 \
+ -lcairo \
+ -lpango-1.0 \
+ -lfreetype \
+ -lfontconfig \
+ -lX11 \
+ -lXi
+
+$(builddir)/snappy_unittest: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
+$(builddir)/snappy_unittest: LIBS := $(LIBS)
+$(builddir)/snappy_unittest: LD_INPUTS := $(OBJS) $(obj).target/third_party/snappy/libsnappy.a $(obj).target/base/libbase.a $(obj).target/testing/libgtest.a $(obj).target/third_party/zlib/libchrome_zlib.a $(obj).target/base/libbase_static.a $(obj).target/base/allocator/liballocator_extension_thunks.a $(obj).target/third_party/modp_b64/libmodp_b64.a $(obj).target/base/third_party/dynamic_annotations/libdynamic_annotations.a $(obj).target/base/libsymbolize.a $(obj).target/base/libxdg_mime.a $(obj).target/third_party/libevent/libevent.a
+$(builddir)/snappy_unittest: TOOLSET := $(TOOLSET)
+$(builddir)/snappy_unittest: $(OBJS) $(obj).target/third_party/snappy/libsnappy.a $(obj).target/base/libbase.a $(obj).target/testing/libgtest.a $(obj).target/third_party/zlib/libchrome_zlib.a $(obj).target/base/libbase_static.a $(obj).target/base/allocator/liballocator_extension_thunks.a $(obj).target/third_party/modp_b64/libmodp_b64.a $(obj).target/base/third_party/dynamic_annotations/libdynamic_annotations.a $(obj).target/base/libsymbolize.a $(obj).target/base/libxdg_mime.a $(obj).target/third_party/libevent/libevent.a FORCE_DO_CMD
+ $(call do_cmd,link)
+
+all_deps += $(builddir)/snappy_unittest
+# Add target alias
+.PHONY: snappy_unittest
+snappy_unittest: $(builddir)/snappy_unittest
+
« no previous file with comments | « third_party/snappy/snappy.target.mk ('k') | third_party/snappy/win32/snappy-stubs-public.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698