1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := GYP 6LOCAL_MODULE := net_net_errors_java_gyp 7LOCAL_MODULE_STEM := net_errors_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_net_errors_java_target_generate_java_constants": 19# "{'inputs': ['../build/android/gyp/util/build_utils.py', '../build/android/gyp/gcc_preprocess.py', 'base/net_error_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/NetError.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/NetError.java: gyp_local_path := $(LOCAL_PATH) 21$(gyp_shared_intermediate_dir)/templates/org/chromium/net/NetError.java: gyp_var_prefix := $(GYP_VAR_PREFIX) 22$(gyp_shared_intermediate_dir)/templates/org/chromium/net/NetError.java: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 23$(gyp_shared_intermediate_dir)/templates/org/chromium/net/NetError.java: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 24$(gyp_shared_intermediate_dir)/templates/org/chromium/net/NetError.java: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 25$(gyp_shared_intermediate_dir)/templates/org/chromium/net/NetError.java: $(LOCAL_PATH)/net/android/java/NetError.template $(LOCAL_PATH)/build/android/gyp/util/build_utils.py $(LOCAL_PATH)/build/android/gyp/gcc_preprocess.py $(LOCAL_PATH)/net/base/net_error_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/NetError.java" "--template=android/java/NetError.template" 27 28 29 30GYP_GENERATED_OUTPUTS := \ 31 $(gyp_shared_intermediate_dir)/templates/org/chromium/net/NetError.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 --param=ssp-buffer-size=4 \ 46 -Werror \ 47 -fno-exceptions \ 48 -fno-strict-aliasing \ 49 -Wall \ 50 -Wno-unused-parameter \ 51 -Wno-missing-field-initializers \ 52 -fvisibility=hidden \ 53 -pipe \ 54 -fPIC \ 55 -Wno-unused-local-typedefs \ 56 -ffunction-sections \ 57 -funwind-tables \ 58 -g \ 59 -fno-short-enums \ 60 -finline-limit=64 \ 61 -Wa,--noexecstack \ 62 -U_FORTIFY_SOURCE \ 63 -Wno-extra \ 64 -Wno-ignored-qualifiers \ 65 -Wno-type-limits \ 66 -Wno-unused-but-set-variable \ 67 -Os \ 68 -g \ 69 -fdata-sections \ 70 -ffunction-sections \ 71 -funwind-tables 72 73MY_DEFS_Debug := \ 74 '-DV8_DEPRECATION_WARNINGS' \ 75 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 76 '-D_FILE_OFFSET_BITS=64' \ 77 '-DNO_TCMALLOC' \ 78 '-DDISABLE_NACL' \ 79 '-DCHROMIUM_BUILD' \ 80 '-DUSE_LIBJPEG_TURBO=1' \ 81 '-DENABLE_WEBRTC=1' \ 82 '-DUSE_PROPRIETARY_CODECS' \ 83 '-DENABLE_BROWSER_CDMS' \ 84 '-DENABLE_CONFIGURATION_POLICY' \ 85 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 86 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 87 '-DENABLE_EGLIMAGE=1' \ 88 '-DCLD_VERSION=1' \ 89 '-DENABLE_PRINTING=1' \ 90 '-DENABLE_MANAGED_USERS=1' \ 91 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 92 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 93 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 94 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 95 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 96 '-DVIDEO_HOLE=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 112LOCAL_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. 120LOCAL_CPPFLAGS_Debug := \ 121 -fno-rtti \ 122 -fno-threadsafe-statics \ 123 -fvisibility-inlines-hidden \ 124 -Wsign-compare \ 125 -Wno-non-virtual-dtor \ 126 -Wno-sign-promo 127 128 129LOCAL_FDO_SUPPORT_Debug := false 130 131# Flags passed to both C and C++ files. 132MY_CFLAGS_Release := \ 133 --param=ssp-buffer-size=4 \ 134 -Werror \ 135 -fno-exceptions \ 136 -fno-strict-aliasing \ 137 -Wall \ 138 -Wno-unused-parameter \ 139 -Wno-missing-field-initializers \ 140 -fvisibility=hidden \ 141 -pipe \ 142 -fPIC \ 143 -Wno-unused-local-typedefs \ 144 -ffunction-sections \ 145 -funwind-tables \ 146 -g \ 147 -fno-short-enums \ 148 -finline-limit=64 \ 149 -Wa,--noexecstack \ 150 -U_FORTIFY_SOURCE \ 151 -Wno-extra \ 152 -Wno-ignored-qualifiers \ 153 -Wno-type-limits \ 154 -Wno-unused-but-set-variable \ 155 -Os \ 156 -fno-ident \ 157 -fdata-sections \ 158 -ffunction-sections \ 159 -funwind-tables 160 161MY_DEFS_Release := \ 162 '-DV8_DEPRECATION_WARNINGS' \ 163 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 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="http://proxy-dev.googlezip.net:80/"' \ 181 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 182 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 183 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 184 '-DVIDEO_HOLE=1' \ 185 '-DUSE_OPENSSL=1' \ 186 '-DUSE_OPENSSL_CERTS=1' \ 187 '-D__STDC_CONSTANT_MACROS' \ 188 '-D__STDC_FORMAT_MACROS' \ 189 '-DANDROID' \ 190 '-D__GNU_SOURCE=1' \ 191 '-DUSE_STLPORT=1' \ 192 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 193 '-DCHROME_BUILD_ID=""' \ 194 '-DNDEBUG' \ 195 '-DNVALGRIND' \ 196 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 197 '-D_FORTIFY_SOURCE=2' 198 199 200# Include paths placed before CFLAGS/CPPFLAGS 201LOCAL_C_INCLUDES_Release := \ 202 $(gyp_shared_intermediate_dir) \ 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. 209LOCAL_CPPFLAGS_Release := \ 210 -fno-rtti \ 211 -fno-threadsafe-statics \ 212 -fvisibility-inlines-hidden \ 213 -Wsign-compare \ 214 -Wno-non-virtual-dtor \ 215 -Wno-sign-promo 216 217 218LOCAL_FDO_SUPPORT_Release := false 219 220LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 221LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 222LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 223LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 224LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 225### Rules for final target. 226# Add target alias to "gyp_all_modules" target. 227.PHONY: gyp_all_modules 228gyp_all_modules: net_net_errors_java_gyp 229 230# Alias gyp target name. 231.PHONY: net_errors_java 232net_errors_java: net_net_errors_java_gyp 233 234LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 235LOCAL_UNINSTALLABLE_MODULE := true 236LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 237 238include $(BUILD_SYSTEM)/base_rules.mk 239 240$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 241 $(hide) echo "Gyp timestamp: $@" 242 $(hide) mkdir -p $(dir $@) 243 $(hide) touch $@ 244 245LOCAL_2ND_ARCH_VAR_PREFIX := 246