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