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 gyp_intermediate_dir := $(call local-intermediates-dir) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := 15 16 17 ### Generated for rule "components_components_gyp_web_contents_delegate_android_jni_headers_target_generate_jni_headers": 18 # "{'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', '--optimize_generation', '0', '--jarjar', '../android_webview/build/jarjar-rules.txt', '--ptr_type', 'int'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}": 19 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h: gyp_local_path := $(LOCAL_PATH) 20 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 21 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 22 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 23 $(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) 24 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" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type int 25 26 .PHONY: components_web_contents_delegate_android_jni_headers_gyp_rule_trigger 27 components_web_contents_delegate_android_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h 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_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 31 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ValidationMessageBubble_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 32 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ValidationMessageBubble_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 33 $(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) 34 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" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type int 35 36 .PHONY: components_web_contents_delegate_android_jni_headers_gyp_rule_trigger 37 components_web_contents_delegate_android_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ValidationMessageBubble_jni.h 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_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" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type int 45 46 .PHONY: components_web_contents_delegate_android_jni_headers_gyp_rule_trigger 47 components_web_contents_delegate_android_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/WebContentsDelegateAndroid_jni.h 48 49 ### Finished generating for all rules 50 51 GYP_GENERATED_OUTPUTS := \ 52 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h \ 53 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ValidationMessageBubble_jni.h \ 54 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/WebContentsDelegateAndroid_jni.h 55 56 # Make sure our deps and generated files are built first. 57 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 58 59 LOCAL_GENERATED_SOURCES := \ 60 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h \ 61 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ValidationMessageBubble_jni.h \ 62 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/WebContentsDelegateAndroid_jni.h \ 63 components_web_contents_delegate_android_jni_headers_gyp_rule_trigger 64 65 GYP_COPIED_SOURCE_ORIGIN_DIRS := 66 67 LOCAL_SRC_FILES := 68 69 70 # Flags passed to both C and C++ files. 71 MY_CFLAGS_Debug := \ 72 --param=ssp-buffer-size=4 \ 73 -Werror \ 74 -fno-exceptions \ 75 -fno-strict-aliasing \ 76 -Wall \ 77 -Wno-unused-parameter \ 78 -Wno-missing-field-initializers \ 79 -fvisibility=hidden \ 80 -pipe \ 81 -fPIC \ 82 -m32 \ 83 -mmmx \ 84 -march=pentium4 \ 85 -msse2 \ 86 -mfpmath=sse \ 87 -fuse-ld=gold \ 88 -ffunction-sections \ 89 -funwind-tables \ 90 -g \ 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 -fno-stack-protector \ 99 -Os \ 100 -g \ 101 -fomit-frame-pointer \ 102 -fdata-sections \ 103 -ffunction-sections 104 105 MY_DEFS_Debug := \ 106 '-DV8_DEPRECATION_WARNINGS' \ 107 '-D_FILE_OFFSET_BITS=64' \ 108 '-DNO_TCMALLOC' \ 109 '-DDISABLE_NACL' \ 110 '-DCHROMIUM_BUILD' \ 111 '-DUSE_LIBJPEG_TURBO=1' \ 112 '-DUSE_PROPRIETARY_CODECS' \ 113 '-DENABLE_CONFIGURATION_POLICY' \ 114 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 115 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 116 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 117 '-DUSE_OPENSSL=1' \ 118 '-DENABLE_EGLIMAGE=1' \ 119 '-DCLD_VERSION=1' \ 120 '-DENABLE_PRINTING=1' \ 121 '-DENABLE_MANAGED_USERS=1' \ 122 '-D__STDC_CONSTANT_MACROS' \ 123 '-D__STDC_FORMAT_MACROS' \ 124 '-DANDROID' \ 125 '-D__GNU_SOURCE=1' \ 126 '-DUSE_STLPORT=1' \ 127 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 128 '-DCHROME_BUILD_ID=""' \ 129 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 130 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 131 '-D_DEBUG' 132 133 134 # Include paths placed before CFLAGS/CPPFLAGS 135 LOCAL_C_INCLUDES_Debug := \ 136 $(PWD)/frameworks/wilhelm/include \ 137 $(PWD)/bionic \ 138 $(PWD)/external/stlport/stlport 139 140 141 # Flags passed to only C++ (and not C) files. 142 LOCAL_CPPFLAGS_Debug := \ 143 -fno-rtti \ 144 -fno-threadsafe-statics \ 145 -fvisibility-inlines-hidden \ 146 -Wsign-compare \ 147 -Wno-error=c++0x-compat \ 148 -Wno-non-virtual-dtor \ 149 -Wno-sign-promo 150 151 152 # Flags passed to both C and C++ files. 153 MY_CFLAGS_Release := \ 154 --param=ssp-buffer-size=4 \ 155 -Werror \ 156 -fno-exceptions \ 157 -fno-strict-aliasing \ 158 -Wall \ 159 -Wno-unused-parameter \ 160 -Wno-missing-field-initializers \ 161 -fvisibility=hidden \ 162 -pipe \ 163 -fPIC \ 164 -m32 \ 165 -mmmx \ 166 -march=pentium4 \ 167 -msse2 \ 168 -mfpmath=sse \ 169 -fuse-ld=gold \ 170 -ffunction-sections \ 171 -funwind-tables \ 172 -g \ 173 -fno-short-enums \ 174 -finline-limit=64 \ 175 -Wa,--noexecstack \ 176 -U_FORTIFY_SOURCE \ 177 -Wno-extra \ 178 -Wno-ignored-qualifiers \ 179 -Wno-type-limits \ 180 -fno-stack-protector \ 181 -Os \ 182 -fno-ident \ 183 -fdata-sections \ 184 -ffunction-sections \ 185 -fomit-frame-pointer \ 186 -fno-unwind-tables \ 187 -fno-asynchronous-unwind-tables 188 189 MY_DEFS_Release := \ 190 '-DV8_DEPRECATION_WARNINGS' \ 191 '-D_FILE_OFFSET_BITS=64' \ 192 '-DNO_TCMALLOC' \ 193 '-DDISABLE_NACL' \ 194 '-DCHROMIUM_BUILD' \ 195 '-DUSE_LIBJPEG_TURBO=1' \ 196 '-DUSE_PROPRIETARY_CODECS' \ 197 '-DENABLE_CONFIGURATION_POLICY' \ 198 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 199 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 200 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 201 '-DUSE_OPENSSL=1' \ 202 '-DENABLE_EGLIMAGE=1' \ 203 '-DCLD_VERSION=1' \ 204 '-DENABLE_PRINTING=1' \ 205 '-DENABLE_MANAGED_USERS=1' \ 206 '-D__STDC_CONSTANT_MACROS' \ 207 '-D__STDC_FORMAT_MACROS' \ 208 '-DANDROID' \ 209 '-D__GNU_SOURCE=1' \ 210 '-DUSE_STLPORT=1' \ 211 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 212 '-DCHROME_BUILD_ID=""' \ 213 '-DNDEBUG' \ 214 '-DNVALGRIND' \ 215 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 216 '-D_FORTIFY_SOURCE=2' 217 218 219 # Include paths placed before CFLAGS/CPPFLAGS 220 LOCAL_C_INCLUDES_Release := \ 221 $(PWD)/frameworks/wilhelm/include \ 222 $(PWD)/bionic \ 223 $(PWD)/external/stlport/stlport 224 225 226 # Flags passed to only C++ (and not C) files. 227 LOCAL_CPPFLAGS_Release := \ 228 -fno-rtti \ 229 -fno-threadsafe-statics \ 230 -fvisibility-inlines-hidden \ 231 -Wsign-compare \ 232 -Wno-error=c++0x-compat \ 233 -Wno-non-virtual-dtor \ 234 -Wno-sign-promo 235 236 237 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 238 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 239 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 240 ### Rules for final target. 241 # Add target alias to "gyp_all_modules" target. 242 .PHONY: gyp_all_modules 243 gyp_all_modules: components_web_contents_delegate_android_jni_headers_gyp 244 245 # Alias gyp target name. 246 .PHONY: web_contents_delegate_android_jni_headers 247 web_contents_delegate_android_jni_headers: components_web_contents_delegate_android_jni_headers_gyp 248 249 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 250 LOCAL_UNINSTALLABLE_MODULE := true 251 252 include $(BUILD_SYSTEM)/base_rules.mk 253 254 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 255 $(hide) echo "Gyp timestamp: $@" 256 $(hide) mkdir -p $(dir $@) 257 $(hide) touch $@ 258