media/webrtc/trunk/testing/gtest.target.mk

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 # This file is generated by gyp; do not edit.
michael@0 2
michael@0 3 TOOLSET := target
michael@0 4 TARGET := gtest
michael@0 5 DEFS_Debug := '-D_FILE_OFFSET_BITS=64' \
michael@0 6 '-DCHROMIUM_BUILD' \
michael@0 7 '-DUSE_NSS=1' \
michael@0 8 '-DTOOLKIT_USES_GTK=1' \
michael@0 9 '-DGTK_DISABLE_SINGLE_INCLUDES=1' \
michael@0 10 '-DENABLE_REMOTING=1' \
michael@0 11 '-DENABLE_P2P_APIS=1' \
michael@0 12 '-DENABLE_CONFIGURATION_POLICY' \
michael@0 13 '-DENABLE_INPUT_SPEECH' \
michael@0 14 '-DENABLE_NOTIFICATIONS' \
michael@0 15 '-DENABLE_GPU=1' \
michael@0 16 '-DENABLE_EGLIMAGE=1' \
michael@0 17 '-DUSE_SKIA=1' \
michael@0 18 '-DENABLE_REGISTER_PROTOCOL_HANDLER=1' \
michael@0 19 '-DENABLE_WEB_INTENTS=1' \
michael@0 20 '-DENABLE_PLUGIN_INSTALLATION=1' \
michael@0 21 '-DGTEST_HAS_RTTI=0' \
michael@0 22 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
michael@0 23 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
michael@0 24 '-D_DEBUG'
michael@0 25
michael@0 26 # Flags passed to all source files.
michael@0 27 CFLAGS_Debug := -pthread \
michael@0 28 -fno-exceptions \
michael@0 29 -fno-strict-aliasing \
michael@0 30 -Wno-unused-parameter \
michael@0 31 -Wno-missing-field-initializers \
michael@0 32 -fvisibility=hidden \
michael@0 33 -pipe \
michael@0 34 -fPIC \
michael@0 35 -Wno-format \
michael@0 36 -Wno-unused-result \
michael@0 37 -O0 \
michael@0 38 -g
michael@0 39
michael@0 40 # Flags passed to only C files.
michael@0 41 CFLAGS_C_Debug :=
michael@0 42
michael@0 43 # Flags passed to only C++ files.
michael@0 44 CFLAGS_CC_Debug := -fno-rtti \
michael@0 45 -fno-threadsafe-statics \
michael@0 46 -fvisibility-inlines-hidden \
michael@0 47 -Wno-deprecated
michael@0 48
michael@0 49 INCS_Debug := -Itesting/gtest \
michael@0 50 -Itesting/gtest/include
michael@0 51
michael@0 52 DEFS_Release := '-D_FILE_OFFSET_BITS=64' \
michael@0 53 '-DCHROMIUM_BUILD' \
michael@0 54 '-DUSE_NSS=1' \
michael@0 55 '-DTOOLKIT_USES_GTK=1' \
michael@0 56 '-DGTK_DISABLE_SINGLE_INCLUDES=1' \
michael@0 57 '-DENABLE_REMOTING=1' \
michael@0 58 '-DENABLE_P2P_APIS=1' \
michael@0 59 '-DENABLE_CONFIGURATION_POLICY' \
michael@0 60 '-DENABLE_INPUT_SPEECH' \
michael@0 61 '-DENABLE_NOTIFICATIONS' \
michael@0 62 '-DENABLE_GPU=1' \
michael@0 63 '-DENABLE_EGLIMAGE=1' \
michael@0 64 '-DUSE_SKIA=1' \
michael@0 65 '-DENABLE_REGISTER_PROTOCOL_HANDLER=1' \
michael@0 66 '-DENABLE_WEB_INTENTS=1' \
michael@0 67 '-DENABLE_PLUGIN_INSTALLATION=1' \
michael@0 68 '-DGTEST_HAS_RTTI=0' \
michael@0 69 '-DNDEBUG' \
michael@0 70 '-DNVALGRIND' \
michael@0 71 '-DDYNAMIC_ANNOTATIONS_ENABLED=0'
michael@0 72
michael@0 73 # Flags passed to all source files.
michael@0 74 CFLAGS_Release := -pthread \
michael@0 75 -fno-exceptions \
michael@0 76 -fno-strict-aliasing \
michael@0 77 -Wno-unused-parameter \
michael@0 78 -Wno-missing-field-initializers \
michael@0 79 -fvisibility=hidden \
michael@0 80 -pipe \
michael@0 81 -fPIC \
michael@0 82 -Wno-format \
michael@0 83 -Wno-unused-result \
michael@0 84 -O2 \
michael@0 85 -fno-ident \
michael@0 86 -fdata-sections \
michael@0 87 -ffunction-sections
michael@0 88
michael@0 89 # Flags passed to only C files.
michael@0 90 CFLAGS_C_Release :=
michael@0 91
michael@0 92 # Flags passed to only C++ files.
michael@0 93 CFLAGS_CC_Release := -fno-rtti \
michael@0 94 -fno-threadsafe-statics \
michael@0 95 -fvisibility-inlines-hidden \
michael@0 96 -Wno-deprecated
michael@0 97
michael@0 98 INCS_Release := -Itesting/gtest \
michael@0 99 -Itesting/gtest/include
michael@0 100
michael@0 101 OBJS := $(obj).target/$(TARGET)/testing/gtest/src/gtest-death-test.o \
michael@0 102 $(obj).target/$(TARGET)/testing/gtest/src/gtest-filepath.o \
michael@0 103 $(obj).target/$(TARGET)/testing/gtest/src/gtest-port.o \
michael@0 104 $(obj).target/$(TARGET)/testing/gtest/src/gtest-printers.o \
michael@0 105 $(obj).target/$(TARGET)/testing/gtest/src/gtest-test-part.o \
michael@0 106 $(obj).target/$(TARGET)/testing/gtest/src/gtest-typed-test.o \
michael@0 107 $(obj).target/$(TARGET)/testing/gtest/src/gtest.o \
michael@0 108 $(obj).target/$(TARGET)/testing/multiprocess_func_list.o
michael@0 109
michael@0 110 # Add to the list of files we specially track dependencies for.
michael@0 111 all_deps += $(OBJS)
michael@0 112
michael@0 113 # Make sure our dependencies are built before any of us.
michael@0 114 $(OBJS): | $(obj).target/testing/gtest_prod.stamp
michael@0 115
michael@0 116 # CFLAGS et al overrides must be target-local.
michael@0 117 # See "Target-specific Variable Values" in the GNU Make manual.
michael@0 118 $(OBJS): TOOLSET := $(TOOLSET)
michael@0 119 $(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
michael@0 120 $(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
michael@0 121
michael@0 122 # Suffix rules, putting all outputs into $(obj).
michael@0 123
michael@0 124 $(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
michael@0 125 @$(call do_cmd,cxx,1)
michael@0 126
michael@0 127 # Try building from generated source, too.
michael@0 128
michael@0 129 $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
michael@0 130 @$(call do_cmd,cxx,1)
michael@0 131
michael@0 132 $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
michael@0 133 @$(call do_cmd,cxx,1)
michael@0 134
michael@0 135 # End of this set of suffix rules
michael@0 136 ### Rules for final target.
michael@0 137 LDFLAGS_Debug := -pthread \
michael@0 138 -Wl,-z,noexecstack \
michael@0 139 -fPIC \
michael@0 140 -B$(builddir)/../../third_party/gold
michael@0 141
michael@0 142 LDFLAGS_Release := -pthread \
michael@0 143 -Wl,-z,noexecstack \
michael@0 144 -fPIC \
michael@0 145 -B$(builddir)/../../third_party/gold \
michael@0 146 -Wl,-O1 \
michael@0 147 -Wl,--as-needed \
michael@0 148 -Wl,--gc-sections
michael@0 149
michael@0 150 LIBS :=
michael@0 151
michael@0 152 $(obj).target/testing/libgtest.a: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
michael@0 153 $(obj).target/testing/libgtest.a: LIBS := $(LIBS)
michael@0 154 $(obj).target/testing/libgtest.a: TOOLSET := $(TOOLSET)
michael@0 155 $(obj).target/testing/libgtest.a: $(OBJS) FORCE_DO_CMD
michael@0 156 $(call do_cmd,alink)
michael@0 157
michael@0 158 all_deps += $(obj).target/testing/libgtest.a
michael@0 159 # Add target alias
michael@0 160 .PHONY: gtest
michael@0 161 gtest: $(obj).target/testing/libgtest.a
michael@0 162

mercurial