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 --param=ssp-buffer-size=4 \ 31 -Werror \ 32 -fno-strict-aliasing \ 33 -Wall \ 34 -Wno-unused-parameter \ 35 -Wno-missing-field-initializers \ 36 -fvisibility=hidden \ 37 -pipe \ 38 -fPIC \ 39 -Wno-unused-local-typedefs \ 40 -ffunction-sections \ 41 -funwind-tables \ 42 -g \ 43 -fno-short-enums \ 44 -finline-limit=64 \ 45 -Wa,--noexecstack \ 46 -U_FORTIFY_SOURCE \ 47 -Wno-extra \ 48 -Wno-ignored-qualifiers \ 49 -Wno-type-limits \ 50 -Wno-unused-but-set-variable \ 51 -Os \ 52 -g \ 53 -gdwarf-4 \ 54 -fdata-sections \ 55 -ffunction-sections \ 56 -funwind-tables 57 58 MY_DEFS_Debug := \ 59 '-DV8_DEPRECATION_WARNINGS' \ 60 '-D_FILE_OFFSET_BITS=64' \ 61 '-DNO_TCMALLOC' \ 62 '-DDISABLE_NACL' \ 63 '-DCHROMIUM_BUILD' \ 64 '-DUSE_LIBJPEG_TURBO=1' \ 65 '-DENABLE_WEBRTC=1' \ 66 '-DUSE_PROPRIETARY_CODECS' \ 67 '-DENABLE_BROWSER_CDMS' \ 68 '-DENABLE_CONFIGURATION_POLICY' \ 69 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 70 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 71 '-DENABLE_EGLIMAGE=1' \ 72 '-DCLD_VERSION=1' \ 73 '-DENABLE_PRINTING=1' \ 74 '-DENABLE_MANAGED_USERS=1' \ 75 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 76 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 77 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 78 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 79 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 80 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 81 '-DVIDEO_HOLE=1' \ 82 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 83 '-DUSE_OPENSSL=1' \ 84 '-DUSE_OPENSSL_CERTS=1' \ 85 '-D__STDC_CONSTANT_MACROS' \ 86 '-D__STDC_FORMAT_MACROS' \ 87 '-DANDROID' \ 88 '-D__GNU_SOURCE=1' \ 89 '-DUSE_STLPORT=1' \ 90 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 91 '-DCHROME_BUILD_ID=""' \ 92 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 93 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 94 '-D_DEBUG' 95 96 97 # Include paths placed before CFLAGS/CPPFLAGS 98 LOCAL_C_INCLUDES_Debug := \ 99 $(gyp_shared_intermediate_dir) \ 100 $(LOCAL_PATH)/sandbox \ 101 $(PWD)/frameworks/wilhelm/include \ 102 $(PWD)/bionic \ 103 $(PWD)/external/stlport/stlport 104 105 106 # Flags passed to only C++ (and not C) files. 107 LOCAL_CPPFLAGS_Debug := \ 108 -fno-exceptions \ 109 -fno-rtti \ 110 -fno-threadsafe-statics \ 111 -fvisibility-inlines-hidden \ 112 -Wsign-compare \ 113 -std=gnu++11 \ 114 -Wno-narrowing \ 115 -Wno-literal-suffix \ 116 -Wno-non-virtual-dtor \ 117 -Wno-sign-promo 118 119 120 # Flags passed to both C and C++ files. 121 MY_CFLAGS_Release := \ 122 --param=ssp-buffer-size=4 \ 123 -Werror \ 124 -fno-strict-aliasing \ 125 -Wall \ 126 -Wno-unused-parameter \ 127 -Wno-missing-field-initializers \ 128 -fvisibility=hidden \ 129 -pipe \ 130 -fPIC \ 131 -Wno-unused-local-typedefs \ 132 -ffunction-sections \ 133 -funwind-tables \ 134 -g \ 135 -fno-short-enums \ 136 -finline-limit=64 \ 137 -Wa,--noexecstack \ 138 -U_FORTIFY_SOURCE \ 139 -Wno-extra \ 140 -Wno-ignored-qualifiers \ 141 -Wno-type-limits \ 142 -Wno-unused-but-set-variable \ 143 -Os \ 144 -fno-ident \ 145 -fdata-sections \ 146 -ffunction-sections \ 147 -funwind-tables 148 149 MY_DEFS_Release := \ 150 '-DV8_DEPRECATION_WARNINGS' \ 151 '-D_FILE_OFFSET_BITS=64' \ 152 '-DNO_TCMALLOC' \ 153 '-DDISABLE_NACL' \ 154 '-DCHROMIUM_BUILD' \ 155 '-DUSE_LIBJPEG_TURBO=1' \ 156 '-DENABLE_WEBRTC=1' \ 157 '-DUSE_PROPRIETARY_CODECS' \ 158 '-DENABLE_BROWSER_CDMS' \ 159 '-DENABLE_CONFIGURATION_POLICY' \ 160 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 161 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 162 '-DENABLE_EGLIMAGE=1' \ 163 '-DCLD_VERSION=1' \ 164 '-DENABLE_PRINTING=1' \ 165 '-DENABLE_MANAGED_USERS=1' \ 166 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 167 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 168 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 169 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 170 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 171 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 172 '-DVIDEO_HOLE=1' \ 173 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 174 '-DUSE_OPENSSL=1' \ 175 '-DUSE_OPENSSL_CERTS=1' \ 176 '-D__STDC_CONSTANT_MACROS' \ 177 '-D__STDC_FORMAT_MACROS' \ 178 '-DANDROID' \ 179 '-D__GNU_SOURCE=1' \ 180 '-DUSE_STLPORT=1' \ 181 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 182 '-DCHROME_BUILD_ID=""' \ 183 '-DNDEBUG' \ 184 '-DNVALGRIND' \ 185 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 186 '-D_FORTIFY_SOURCE=2' 187 188 189 # Include paths placed before CFLAGS/CPPFLAGS 190 LOCAL_C_INCLUDES_Release := \ 191 $(gyp_shared_intermediate_dir) \ 192 $(LOCAL_PATH)/sandbox \ 193 $(PWD)/frameworks/wilhelm/include \ 194 $(PWD)/bionic \ 195 $(PWD)/external/stlport/stlport 196 197 198 # Flags passed to only C++ (and not C) files. 199 LOCAL_CPPFLAGS_Release := \ 200 -fno-exceptions \ 201 -fno-rtti \ 202 -fno-threadsafe-statics \ 203 -fvisibility-inlines-hidden \ 204 -Wsign-compare \ 205 -std=gnu++11 \ 206 -Wno-narrowing \ 207 -Wno-literal-suffix \ 208 -Wno-non-virtual-dtor \ 209 -Wno-sign-promo 210 211 212 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 213 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 214 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 215 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 216 ### Rules for final target. 217 # Add target alias to "gyp_all_modules" target. 218 .PHONY: gyp_all_modules 219 gyp_all_modules: sandbox_sandbox_services_headers_gyp 220 221 # Alias gyp target name. 222 .PHONY: sandbox_services_headers 223 sandbox_services_headers: sandbox_sandbox_services_headers_gyp 224 225 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 226 LOCAL_UNINSTALLABLE_MODULE := true 227 LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 228 229 include $(BUILD_SYSTEM)/base_rules.mk 230 231 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 232 $(hide) echo "Gyp timestamp: $@" 233 $(hide) mkdir -p $(dir $@) 234 $(hide) touch $@ 235 236 LOCAL_2ND_ARCH_VAR_PREFIX := 237