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