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 -fstack-protector \ 73 --param=ssp-buffer-size=4 \ 74 -Werror \ 75 -fno-exceptions \ 76 -fno-strict-aliasing \ 77 -Wall \ 78 -Wno-unused-parameter \ 79 -Wno-missing-field-initializers \ 80 -fvisibility=hidden \ 81 -pipe \ 82 -fPIC \ 83 -fno-tree-sra \ 84 -fuse-ld=gold \ 85 -Wno-psabi \ 86 -ffunction-sections \ 87 -funwind-tables \ 88 -g \ 89 -fstack-protector \ 90 -fno-short-enums \ 91 -finline-limit=64 \ 92 -Wa,--noexecstack \ 93 -U_FORTIFY_SOURCE \ 94 -Wno-extra \ 95 -Wno-ignored-qualifiers \ 96 -Wno-type-limits \ 97 -Os \ 98 -g \ 99 -fomit-frame-pointer \ 100 -fdata-sections \ 101 -ffunction-sections 102 103 MY_DEFS_Debug := \ 104 '-DV8_DEPRECATION_WARNINGS' \ 105 '-D_FILE_OFFSET_BITS=64' \ 106 '-DNO_TCMALLOC' \ 107 '-DDISABLE_NACL' \ 108 '-DCHROMIUM_BUILD' \ 109 '-DUSE_LIBJPEG_TURBO=1' \ 110 '-DUSE_PROPRIETARY_CODECS' \ 111 '-DENABLE_CONFIGURATION_POLICY' \ 112 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 113 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 114 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 115 '-DUSE_OPENSSL=1' \ 116 '-DENABLE_EGLIMAGE=1' \ 117 '-DCLD_VERSION=1' \ 118 '-DENABLE_PRINTING=1' \ 119 '-DENABLE_MANAGED_USERS=1' \ 120 '-D__STDC_CONSTANT_MACROS' \ 121 '-D__STDC_FORMAT_MACROS' \ 122 '-DANDROID' \ 123 '-D__GNU_SOURCE=1' \ 124 '-DUSE_STLPORT=1' \ 125 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 126 '-DCHROME_BUILD_ID=""' \ 127 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 128 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 129 '-D_DEBUG' 130 131 132 # Include paths placed before CFLAGS/CPPFLAGS 133 LOCAL_C_INCLUDES_Debug := \ 134 $(PWD)/frameworks/wilhelm/include \ 135 $(PWD)/bionic \ 136 $(PWD)/external/stlport/stlport 137 138 139 # Flags passed to only C++ (and not C) files. 140 LOCAL_CPPFLAGS_Debug := \ 141 -fno-rtti \ 142 -fno-threadsafe-statics \ 143 -fvisibility-inlines-hidden \ 144 -Wsign-compare \ 145 -Wno-abi \ 146 -Wno-error=c++0x-compat \ 147 -Wno-non-virtual-dtor \ 148 -Wno-sign-promo 149 150 151 # Flags passed to both C and C++ files. 152 MY_CFLAGS_Release := \ 153 -fstack-protector \ 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 -fno-tree-sra \ 165 -fuse-ld=gold \ 166 -Wno-psabi \ 167 -ffunction-sections \ 168 -funwind-tables \ 169 -g \ 170 -fstack-protector \ 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 -Os \ 179 -fno-ident \ 180 -fdata-sections \ 181 -ffunction-sections \ 182 -fomit-frame-pointer 183 184 MY_DEFS_Release := \ 185 '-DV8_DEPRECATION_WARNINGS' \ 186 '-D_FILE_OFFSET_BITS=64' \ 187 '-DNO_TCMALLOC' \ 188 '-DDISABLE_NACL' \ 189 '-DCHROMIUM_BUILD' \ 190 '-DUSE_LIBJPEG_TURBO=1' \ 191 '-DUSE_PROPRIETARY_CODECS' \ 192 '-DENABLE_CONFIGURATION_POLICY' \ 193 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 194 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 195 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 196 '-DUSE_OPENSSL=1' \ 197 '-DENABLE_EGLIMAGE=1' \ 198 '-DCLD_VERSION=1' \ 199 '-DENABLE_PRINTING=1' \ 200 '-DENABLE_MANAGED_USERS=1' \ 201 '-D__STDC_CONSTANT_MACROS' \ 202 '-D__STDC_FORMAT_MACROS' \ 203 '-DANDROID' \ 204 '-D__GNU_SOURCE=1' \ 205 '-DUSE_STLPORT=1' \ 206 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 207 '-DCHROME_BUILD_ID=""' \ 208 '-DNDEBUG' \ 209 '-DNVALGRIND' \ 210 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 211 '-D_FORTIFY_SOURCE=2' 212 213 214 # Include paths placed before CFLAGS/CPPFLAGS 215 LOCAL_C_INCLUDES_Release := \ 216 $(PWD)/frameworks/wilhelm/include \ 217 $(PWD)/bionic \ 218 $(PWD)/external/stlport/stlport 219 220 221 # Flags passed to only C++ (and not C) files. 222 LOCAL_CPPFLAGS_Release := \ 223 -fno-rtti \ 224 -fno-threadsafe-statics \ 225 -fvisibility-inlines-hidden \ 226 -Wsign-compare \ 227 -Wno-abi \ 228 -Wno-error=c++0x-compat \ 229 -Wno-non-virtual-dtor \ 230 -Wno-sign-promo 231 232 233 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 234 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 235 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 236 ### Rules for final target. 237 # Add target alias to "gyp_all_modules" target. 238 .PHONY: gyp_all_modules 239 gyp_all_modules: components_web_contents_delegate_android_jni_headers_gyp 240 241 # Alias gyp target name. 242 .PHONY: web_contents_delegate_android_jni_headers 243 web_contents_delegate_android_jni_headers: components_web_contents_delegate_android_jni_headers_gyp 244 245 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 246 LOCAL_UNINSTALLABLE_MODULE := true 247 248 include $(BUILD_SYSTEM)/base_rules.mk 249 250 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 251 $(hide) echo "Gyp timestamp: $@" 252 $(hide) mkdir -p $(dir $@) 253 $(hide) touch $@ 254