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