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

mercurial