media/webrtc/trunk/testing/gtest_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.

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

mercurial