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