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