1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := GYP 6 LOCAL_MODULE := net_cert_verify_status_android_java_gyp 7 LOCAL_MODULE_STEM := cert_verify_status_android_java 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 17 ### Generated for rule "net_net_gyp_cert_verify_status_android_java_target_generate_java_constants": 18 # "{'inputs': ['../build/android/gyp/util/build_utils.py', '../build/android/gyp/gcc_preprocess.py', 'android/cert_verify_status_android_list.h'], 'extension': 'template', 'outputs': ['$(gyp_shared_intermediate_dir)/templates/org/chromium/net/%(INPUT_ROOT)s.java'], 'variables': {'output_path': '$(gyp_shared_intermediate_dir)/templates/org/chromium/net/%(INPUT_ROOT)s.java'}, 'rule_name': 'generate_java_constants', 'rule_sources': ['android/java/CertVerifyStatusAndroid.template'], 'action': ['python', '../build/android/gyp/gcc_preprocess.py', '--include-path=..', '--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/net/%(INPUT_ROOT)s.java', '--template=$(RULE_SOURCES)'], 'message': 'Generating Java from cpp template $(RULE_SOURCES)'}": 19 $(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyStatusAndroid.java: gyp_local_path := $(LOCAL_PATH) 20 $(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyStatusAndroid.java: gyp_var_prefix := $(GYP_VAR_PREFIX) 21 $(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyStatusAndroid.java: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 22 $(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyStatusAndroid.java: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 23 $(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyStatusAndroid.java: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 24 $(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyStatusAndroid.java: $(LOCAL_PATH)/net/android/java/CertVerifyStatusAndroid.template $(LOCAL_PATH)/build/android/gyp/util/build_utils.py $(LOCAL_PATH)/build/android/gyp/gcc_preprocess.py $(LOCAL_PATH)/net/android/cert_verify_status_android_list.h $(GYP_TARGET_DEPENDENCIES) 25 mkdir -p $(gyp_shared_intermediate_dir)/templates/org/chromium/net; cd $(gyp_local_path)/net; python ../build/android/gyp/gcc_preprocess.py "--include-path=.." "--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyStatusAndroid.java" "--template=android/java/CertVerifyStatusAndroid.template" 26 27 28 29 GYP_GENERATED_OUTPUTS := \ 30 $(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyStatusAndroid.java 31 32 # Make sure our deps and generated files are built first. 33 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 34 35 LOCAL_GENERATED_SOURCES := 36 37 GYP_COPIED_SOURCE_ORIGIN_DIRS := 38 39 LOCAL_SRC_FILES := 40 41 42 # Flags passed to both C and C++ files. 43 MY_CFLAGS_Debug := \ 44 -fstack-protector \ 45 --param=ssp-buffer-size=4 \ 46 -Werror \ 47 -fno-strict-aliasing \ 48 -Wall \ 49 -Wno-unused-parameter \ 50 -Wno-missing-field-initializers \ 51 -fvisibility=hidden \ 52 -pipe \ 53 -fPIC \ 54 -Wno-unused-local-typedefs \ 55 -fno-tree-sra \ 56 -fno-caller-saves \ 57 -Wno-psabi \ 58 -fno-partial-inlining \ 59 -fno-early-inlining \ 60 -fno-tree-copy-prop \ 61 -fno-tree-loop-optimize \ 62 -fno-move-loop-invariants \ 63 -ffunction-sections \ 64 -funwind-tables \ 65 -g \ 66 -fstack-protector \ 67 -fno-short-enums \ 68 -finline-limit=64 \ 69 -Wa,--noexecstack \ 70 -U_FORTIFY_SOURCE \ 71 -Wno-extra \ 72 -Wno-ignored-qualifiers \ 73 -Wno-type-limits \ 74 -Wno-unused-but-set-variable \ 75 -Os \ 76 -g \ 77 -gdwarf-4 \ 78 -fdata-sections \ 79 -ffunction-sections \ 80 -fomit-frame-pointer \ 81 -funwind-tables 82 83 MY_DEFS_Debug := \ 84 '-DV8_DEPRECATION_WARNINGS' \ 85 '-D_FILE_OFFSET_BITS=64' \ 86 '-DNO_TCMALLOC' \ 87 '-DDISABLE_NACL' \ 88 '-DCHROMIUM_BUILD' \ 89 '-DUSE_LIBJPEG_TURBO=1' \ 90 '-DENABLE_WEBRTC=1' \ 91 '-DUSE_PROPRIETARY_CODECS' \ 92 '-DENABLE_BROWSER_CDMS' \ 93 '-DENABLE_CONFIGURATION_POLICY' \ 94 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 95 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 96 '-DENABLE_EGLIMAGE=1' \ 97 '-DCLD_VERSION=1' \ 98 '-DENABLE_PRINTING=1' \ 99 '-DENABLE_MANAGED_USERS=1' \ 100 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 101 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 102 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 103 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 104 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 105 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 106 '-DVIDEO_HOLE=1' \ 107 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 108 '-DUSE_OPENSSL=1' \ 109 '-DUSE_OPENSSL_CERTS=1' \ 110 '-D__STDC_CONSTANT_MACROS' \ 111 '-D__STDC_FORMAT_MACROS' \ 112 '-DANDROID' \ 113 '-D__GNU_SOURCE=1' \ 114 '-DUSE_STLPORT=1' \ 115 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 116 '-DCHROME_BUILD_ID=""' \ 117 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 118 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 119 '-D_DEBUG' 120 121 122 # Include paths placed before CFLAGS/CPPFLAGS 123 LOCAL_C_INCLUDES_Debug := \ 124 $(gyp_shared_intermediate_dir) \ 125 $(PWD)/frameworks/wilhelm/include \ 126 $(PWD)/bionic \ 127 $(PWD)/external/stlport/stlport 128 129 130 # Flags passed to only C++ (and not C) files. 131 LOCAL_CPPFLAGS_Debug := \ 132 -fno-exceptions \ 133 -fno-rtti \ 134 -fno-threadsafe-statics \ 135 -fvisibility-inlines-hidden \ 136 -Wsign-compare \ 137 -Wno-abi \ 138 -std=gnu++11 \ 139 -Wno-narrowing \ 140 -Wno-literal-suffix \ 141 -Wno-non-virtual-dtor \ 142 -Wno-sign-promo 143 144 145 # Flags passed to both C and C++ files. 146 MY_CFLAGS_Release := \ 147 -fstack-protector \ 148 --param=ssp-buffer-size=4 \ 149 -Werror \ 150 -fno-strict-aliasing \ 151 -Wall \ 152 -Wno-unused-parameter \ 153 -Wno-missing-field-initializers \ 154 -fvisibility=hidden \ 155 -pipe \ 156 -fPIC \ 157 -Wno-unused-local-typedefs \ 158 -fno-tree-sra \ 159 -fno-caller-saves \ 160 -Wno-psabi \ 161 -fno-partial-inlining \ 162 -fno-early-inlining \ 163 -fno-tree-copy-prop \ 164 -fno-tree-loop-optimize \ 165 -fno-move-loop-invariants \ 166 -ffunction-sections \ 167 -funwind-tables \ 168 -g \ 169 -fstack-protector \ 170 -fno-short-enums \ 171 -finline-limit=64 \ 172 -Wa,--noexecstack \ 173 -U_FORTIFY_SOURCE \ 174 -Wno-extra \ 175 -Wno-ignored-qualifiers \ 176 -Wno-type-limits \ 177 -Wno-unused-but-set-variable \ 178 -Os \ 179 -fno-ident \ 180 -fdata-sections \ 181 -ffunction-sections \ 182 -fomit-frame-pointer \ 183 -funwind-tables 184 185 MY_DEFS_Release := \ 186 '-DV8_DEPRECATION_WARNINGS' \ 187 '-D_FILE_OFFSET_BITS=64' \ 188 '-DNO_TCMALLOC' \ 189 '-DDISABLE_NACL' \ 190 '-DCHROMIUM_BUILD' \ 191 '-DUSE_LIBJPEG_TURBO=1' \ 192 '-DENABLE_WEBRTC=1' \ 193 '-DUSE_PROPRIETARY_CODECS' \ 194 '-DENABLE_BROWSER_CDMS' \ 195 '-DENABLE_CONFIGURATION_POLICY' \ 196 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 197 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 198 '-DENABLE_EGLIMAGE=1' \ 199 '-DCLD_VERSION=1' \ 200 '-DENABLE_PRINTING=1' \ 201 '-DENABLE_MANAGED_USERS=1' \ 202 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 203 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 204 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 205 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 206 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 207 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 208 '-DVIDEO_HOLE=1' \ 209 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 210 '-DUSE_OPENSSL=1' \ 211 '-DUSE_OPENSSL_CERTS=1' \ 212 '-D__STDC_CONSTANT_MACROS' \ 213 '-D__STDC_FORMAT_MACROS' \ 214 '-DANDROID' \ 215 '-D__GNU_SOURCE=1' \ 216 '-DUSE_STLPORT=1' \ 217 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 218 '-DCHROME_BUILD_ID=""' \ 219 '-DNDEBUG' \ 220 '-DNVALGRIND' \ 221 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 222 '-D_FORTIFY_SOURCE=2' 223 224 225 # Include paths placed before CFLAGS/CPPFLAGS 226 LOCAL_C_INCLUDES_Release := \ 227 $(gyp_shared_intermediate_dir) \ 228 $(PWD)/frameworks/wilhelm/include \ 229 $(PWD)/bionic \ 230 $(PWD)/external/stlport/stlport 231 232 233 # Flags passed to only C++ (and not C) files. 234 LOCAL_CPPFLAGS_Release := \ 235 -fno-exceptions \ 236 -fno-rtti \ 237 -fno-threadsafe-statics \ 238 -fvisibility-inlines-hidden \ 239 -Wsign-compare \ 240 -Wno-abi \ 241 -std=gnu++11 \ 242 -Wno-narrowing \ 243 -Wno-literal-suffix \ 244 -Wno-non-virtual-dtor \ 245 -Wno-sign-promo 246 247 248 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 249 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 250 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 251 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 252 ### Rules for final target. 253 # Add target alias to "gyp_all_modules" target. 254 .PHONY: gyp_all_modules 255 gyp_all_modules: net_cert_verify_status_android_java_gyp 256 257 # Alias gyp target name. 258 .PHONY: cert_verify_status_android_java 259 cert_verify_status_android_java: net_cert_verify_status_android_java_gyp 260 261 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 262 LOCAL_UNINSTALLABLE_MODULE := true 263 LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 264 265 include $(BUILD_SYSTEM)/base_rules.mk 266 267 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 268 $(hide) echo "Gyp timestamp: $@" 269 $(hide) mkdir -p $(dir $@) 270 $(hide) touch $@ 271 272 LOCAL_2ND_ARCH_VAR_PREFIX := 273