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

mercurial