Home | History | Annotate | Download | only in net
      1 # This file is generated by gyp; do not edit.
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
      6 LOCAL_MODULE := net_http_server_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
      9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
     10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     11 
     12 # Make sure our deps are built first.
     13 GYP_TARGET_DEPENDENCIES :=
     14 
     15 GYP_GENERATED_OUTPUTS :=
     16 
     17 # Make sure our deps and generated files are built first.
     18 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     19 
     20 LOCAL_CPP_EXTENSION := .cc
     21 LOCAL_GENERATED_SOURCES :=
     22 
     23 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     24 
     25 LOCAL_SRC_FILES := \
     26 	net/server/http_connection.cc \
     27 	net/server/http_server.cc \
     28 	net/server/http_server_request_info.cc \
     29 	net/server/http_server_response_info.cc \
     30 	net/server/web_socket.cc
     31 
     32 
     33 # Flags passed to both C and C++ files.
     34 MY_CFLAGS_Debug := \
     35 	--param=ssp-buffer-size=4 \
     36 	-Werror \
     37 	-fno-strict-aliasing \
     38 	-Wall \
     39 	-Wno-unused-parameter \
     40 	-Wno-missing-field-initializers \
     41 	-fvisibility=hidden \
     42 	-pipe \
     43 	-fPIC \
     44 	-Wno-unused-local-typedefs \
     45 	-ffunction-sections \
     46 	-funwind-tables \
     47 	-g \
     48 	-fno-short-enums \
     49 	-finline-limit=64 \
     50 	-Wa,--noexecstack \
     51 	-U_FORTIFY_SOURCE \
     52 	-Wno-extra \
     53 	-Wno-ignored-qualifiers \
     54 	-Wno-type-limits \
     55 	-Wno-unused-but-set-variable \
     56 	-Os \
     57 	-g \
     58 	-gdwarf-4 \
     59 	-fdata-sections \
     60 	-ffunction-sections \
     61 	-funwind-tables
     62 
     63 MY_DEFS_Debug := \
     64 	'-DV8_DEPRECATION_WARNINGS' \
     65 	'-D_FILE_OFFSET_BITS=64' \
     66 	'-DNO_TCMALLOC' \
     67 	'-DDISABLE_NACL' \
     68 	'-DCHROMIUM_BUILD' \
     69 	'-DUSE_LIBJPEG_TURBO=1' \
     70 	'-DENABLE_WEBRTC=1' \
     71 	'-DUSE_PROPRIETARY_CODECS' \
     72 	'-DENABLE_BROWSER_CDMS' \
     73 	'-DENABLE_CONFIGURATION_POLICY' \
     74 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     75 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     76 	'-DENABLE_EGLIMAGE=1' \
     77 	'-DCLD_VERSION=1' \
     78 	'-DENABLE_PRINTING=1' \
     79 	'-DENABLE_MANAGED_USERS=1' \
     80 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
     81 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
     82 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
     83 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
     84 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
     85 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
     86 	'-DVIDEO_HOLE=1' \
     87 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
     88 	'-DPOSIX_AVOID_MMAP' \
     89 	'-DUSE_OPENSSL=1' \
     90 	'-DUSE_OPENSSL_CERTS=1' \
     91 	'-D__STDC_CONSTANT_MACROS' \
     92 	'-D__STDC_FORMAT_MACROS' \
     93 	'-DANDROID' \
     94 	'-D__GNU_SOURCE=1' \
     95 	'-DUSE_STLPORT=1' \
     96 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
     97 	'-DCHROME_BUILD_ID=""' \
     98 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
     99 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    100 	'-D_DEBUG'
    101 
    102 
    103 # Include paths placed before CFLAGS/CPPFLAGS
    104 LOCAL_C_INCLUDES_Debug := \
    105 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    106 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    107 	$(gyp_shared_intermediate_dir) \
    108 	$(LOCAL_PATH) \
    109 	$(PWD)/frameworks/wilhelm/include \
    110 	$(PWD)/bionic \
    111 	$(PWD)/external/stlport/stlport
    112 
    113 
    114 # Flags passed to only C++ (and not C) files.
    115 LOCAL_CPPFLAGS_Debug := \
    116 	-fno-exceptions \
    117 	-fno-rtti \
    118 	-fno-threadsafe-statics \
    119 	-fvisibility-inlines-hidden \
    120 	-Wsign-compare \
    121 	-std=gnu++11 \
    122 	-Wno-narrowing \
    123 	-Wno-literal-suffix \
    124 	-Wno-non-virtual-dtor \
    125 	-Wno-sign-promo
    126 
    127 
    128 # Flags passed to both C and C++ files.
    129 MY_CFLAGS_Release := \
    130 	--param=ssp-buffer-size=4 \
    131 	-Werror \
    132 	-fno-strict-aliasing \
    133 	-Wall \
    134 	-Wno-unused-parameter \
    135 	-Wno-missing-field-initializers \
    136 	-fvisibility=hidden \
    137 	-pipe \
    138 	-fPIC \
    139 	-Wno-unused-local-typedefs \
    140 	-ffunction-sections \
    141 	-funwind-tables \
    142 	-g \
    143 	-fno-short-enums \
    144 	-finline-limit=64 \
    145 	-Wa,--noexecstack \
    146 	-U_FORTIFY_SOURCE \
    147 	-Wno-extra \
    148 	-Wno-ignored-qualifiers \
    149 	-Wno-type-limits \
    150 	-Wno-unused-but-set-variable \
    151 	-Os \
    152 	-fno-ident \
    153 	-fdata-sections \
    154 	-ffunction-sections \
    155 	-funwind-tables
    156 
    157 MY_DEFS_Release := \
    158 	'-DV8_DEPRECATION_WARNINGS' \
    159 	'-D_FILE_OFFSET_BITS=64' \
    160 	'-DNO_TCMALLOC' \
    161 	'-DDISABLE_NACL' \
    162 	'-DCHROMIUM_BUILD' \
    163 	'-DUSE_LIBJPEG_TURBO=1' \
    164 	'-DENABLE_WEBRTC=1' \
    165 	'-DUSE_PROPRIETARY_CODECS' \
    166 	'-DENABLE_BROWSER_CDMS' \
    167 	'-DENABLE_CONFIGURATION_POLICY' \
    168 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    169 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    170 	'-DENABLE_EGLIMAGE=1' \
    171 	'-DCLD_VERSION=1' \
    172 	'-DENABLE_PRINTING=1' \
    173 	'-DENABLE_MANAGED_USERS=1' \
    174 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    175 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    176 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    177 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    178 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    179 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    180 	'-DVIDEO_HOLE=1' \
    181 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    182 	'-DPOSIX_AVOID_MMAP' \
    183 	'-DUSE_OPENSSL=1' \
    184 	'-DUSE_OPENSSL_CERTS=1' \
    185 	'-D__STDC_CONSTANT_MACROS' \
    186 	'-D__STDC_FORMAT_MACROS' \
    187 	'-DANDROID' \
    188 	'-D__GNU_SOURCE=1' \
    189 	'-DUSE_STLPORT=1' \
    190 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    191 	'-DCHROME_BUILD_ID=""' \
    192 	'-DNDEBUG' \
    193 	'-DNVALGRIND' \
    194 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    195 	'-D_FORTIFY_SOURCE=2'
    196 
    197 
    198 # Include paths placed before CFLAGS/CPPFLAGS
    199 LOCAL_C_INCLUDES_Release := \
    200 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    201 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    202 	$(gyp_shared_intermediate_dir) \
    203 	$(LOCAL_PATH) \
    204 	$(PWD)/frameworks/wilhelm/include \
    205 	$(PWD)/bionic \
    206 	$(PWD)/external/stlport/stlport
    207 
    208 
    209 # Flags passed to only C++ (and not C) files.
    210 LOCAL_CPPFLAGS_Release := \
    211 	-fno-exceptions \
    212 	-fno-rtti \
    213 	-fno-threadsafe-statics \
    214 	-fvisibility-inlines-hidden \
    215 	-Wsign-compare \
    216 	-std=gnu++11 \
    217 	-Wno-narrowing \
    218 	-Wno-literal-suffix \
    219 	-Wno-non-virtual-dtor \
    220 	-Wno-sign-promo
    221 
    222 
    223 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    224 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    225 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    226 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    227 ### Rules for final target.
    228 
    229 LOCAL_SHARED_LIBRARIES := \
    230 	libstlport \
    231 	libdl
    232 
    233 # Add target alias to "gyp_all_modules" target.
    234 .PHONY: gyp_all_modules
    235 gyp_all_modules: net_http_server_gyp
    236 
    237 # Alias gyp target name.
    238 .PHONY: http_server
    239 http_server: net_http_server_gyp
    240 
    241 include $(BUILD_STATIC_LIBRARY)
    242