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