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_navigation_interception_jni_headers_gyp 7 LOCAL_MODULE_STEM := navigation_interception_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_navigation_interception_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)/navigation_interception/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java', 'navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.java'], 'action': ['../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/navigation_interception/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)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: gyp_local_path := $(LOCAL_PATH) 20 $(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 21 $(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 22 $(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 23 $(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h: $(LOCAL_PATH)/components/navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.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)/navigation_interception/jni; cd $(gyp_local_path)/components; ../base/android/jni_generator/jni_generator.py --input_file navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java --output_dir "$(gyp_shared_intermediate_dir)/navigation_interception/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type int 25 26 .PHONY: components_navigation_interception_jni_headers_gyp_rule_trigger 27 components_navigation_interception_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h 28 29 $(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: gyp_local_path := $(LOCAL_PATH) 30 $(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 31 $(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 32 $(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 33 $(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h: $(LOCAL_PATH)/components/navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.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)/navigation_interception/jni; cd $(gyp_local_path)/components; ../base/android/jni_generator/jni_generator.py --input_file navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.java --output_dir "$(gyp_shared_intermediate_dir)/navigation_interception/jni" --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type int 35 36 .PHONY: components_navigation_interception_jni_headers_gyp_rule_trigger 37 components_navigation_interception_jni_headers_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h 38 39 ### Finished generating for all rules 40 41 GYP_GENERATED_OUTPUTS := \ 42 $(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h \ 43 $(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h 44 45 # Make sure our deps and generated files are built first. 46 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 47 48 LOCAL_GENERATED_SOURCES := \ 49 $(gyp_shared_intermediate_dir)/navigation_interception/jni/InterceptNavigationDelegate_jni.h \ 50 $(gyp_shared_intermediate_dir)/navigation_interception/jni/NavigationParams_jni.h \ 51 components_navigation_interception_jni_headers_gyp_rule_trigger 52 53 GYP_COPIED_SOURCE_ORIGIN_DIRS := 54 55 LOCAL_SRC_FILES := 56 57 58 # Flags passed to both C and C++ files. 59 MY_CFLAGS_Debug := \ 60 -fstack-protector \ 61 --param=ssp-buffer-size=4 \ 62 -Werror \ 63 -fno-exceptions \ 64 -fno-strict-aliasing \ 65 -Wall \ 66 -Wno-unused-parameter \ 67 -Wno-missing-field-initializers \ 68 -fvisibility=hidden \ 69 -pipe \ 70 -fPIC \ 71 -fno-tree-sra \ 72 -fuse-ld=gold \ 73 -Wno-psabi \ 74 -ffunction-sections \ 75 -funwind-tables \ 76 -g \ 77 -fstack-protector \ 78 -fno-short-enums \ 79 -finline-limit=64 \ 80 -Wa,--noexecstack \ 81 -U_FORTIFY_SOURCE \ 82 -Wno-extra \ 83 -Wno-ignored-qualifiers \ 84 -Wno-type-limits \ 85 -Os \ 86 -g \ 87 -fomit-frame-pointer \ 88 -fdata-sections \ 89 -ffunction-sections 90 91 MY_DEFS_Debug := \ 92 '-DV8_DEPRECATION_WARNINGS' \ 93 '-D_FILE_OFFSET_BITS=64' \ 94 '-DNO_TCMALLOC' \ 95 '-DDISABLE_NACL' \ 96 '-DCHROMIUM_BUILD' \ 97 '-DUSE_LIBJPEG_TURBO=1' \ 98 '-DUSE_PROPRIETARY_CODECS' \ 99 '-DENABLE_CONFIGURATION_POLICY' \ 100 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 101 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 102 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 103 '-DUSE_OPENSSL=1' \ 104 '-DENABLE_EGLIMAGE=1' \ 105 '-DCLD_VERSION=1' \ 106 '-DENABLE_PRINTING=1' \ 107 '-DENABLE_MANAGED_USERS=1' \ 108 '-D__STDC_CONSTANT_MACROS' \ 109 '-D__STDC_FORMAT_MACROS' \ 110 '-DANDROID' \ 111 '-D__GNU_SOURCE=1' \ 112 '-DUSE_STLPORT=1' \ 113 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 114 '-DCHROME_BUILD_ID=""' \ 115 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 116 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 117 '-D_DEBUG' 118 119 120 # Include paths placed before CFLAGS/CPPFLAGS 121 LOCAL_C_INCLUDES_Debug := \ 122 $(PWD)/frameworks/wilhelm/include \ 123 $(PWD)/bionic \ 124 $(PWD)/external/stlport/stlport 125 126 127 # Flags passed to only C++ (and not C) files. 128 LOCAL_CPPFLAGS_Debug := \ 129 -fno-rtti \ 130 -fno-threadsafe-statics \ 131 -fvisibility-inlines-hidden \ 132 -Wsign-compare \ 133 -Wno-abi \ 134 -Wno-error=c++0x-compat \ 135 -Wno-non-virtual-dtor \ 136 -Wno-sign-promo 137 138 139 # Flags passed to both C and C++ files. 140 MY_CFLAGS_Release := \ 141 -fstack-protector \ 142 --param=ssp-buffer-size=4 \ 143 -Werror \ 144 -fno-exceptions \ 145 -fno-strict-aliasing \ 146 -Wall \ 147 -Wno-unused-parameter \ 148 -Wno-missing-field-initializers \ 149 -fvisibility=hidden \ 150 -pipe \ 151 -fPIC \ 152 -fno-tree-sra \ 153 -fuse-ld=gold \ 154 -Wno-psabi \ 155 -ffunction-sections \ 156 -funwind-tables \ 157 -g \ 158 -fstack-protector \ 159 -fno-short-enums \ 160 -finline-limit=64 \ 161 -Wa,--noexecstack \ 162 -U_FORTIFY_SOURCE \ 163 -Wno-extra \ 164 -Wno-ignored-qualifiers \ 165 -Wno-type-limits \ 166 -Os \ 167 -fno-ident \ 168 -fdata-sections \ 169 -ffunction-sections \ 170 -fomit-frame-pointer 171 172 MY_DEFS_Release := \ 173 '-DV8_DEPRECATION_WARNINGS' \ 174 '-D_FILE_OFFSET_BITS=64' \ 175 '-DNO_TCMALLOC' \ 176 '-DDISABLE_NACL' \ 177 '-DCHROMIUM_BUILD' \ 178 '-DUSE_LIBJPEG_TURBO=1' \ 179 '-DUSE_PROPRIETARY_CODECS' \ 180 '-DENABLE_CONFIGURATION_POLICY' \ 181 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 182 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 183 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 184 '-DUSE_OPENSSL=1' \ 185 '-DENABLE_EGLIMAGE=1' \ 186 '-DCLD_VERSION=1' \ 187 '-DENABLE_PRINTING=1' \ 188 '-DENABLE_MANAGED_USERS=1' \ 189 '-D__STDC_CONSTANT_MACROS' \ 190 '-D__STDC_FORMAT_MACROS' \ 191 '-DANDROID' \ 192 '-D__GNU_SOURCE=1' \ 193 '-DUSE_STLPORT=1' \ 194 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 195 '-DCHROME_BUILD_ID=""' \ 196 '-DNDEBUG' \ 197 '-DNVALGRIND' \ 198 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 199 '-D_FORTIFY_SOURCE=2' 200 201 202 # Include paths placed before CFLAGS/CPPFLAGS 203 LOCAL_C_INCLUDES_Release := \ 204 $(PWD)/frameworks/wilhelm/include \ 205 $(PWD)/bionic \ 206 $(PWD)/external/stlport/stlport 207 208 209 # Flags passed to only C++ (and not C) files. 210 LOCAL_CPPFLAGS_Release := \ 211 -fno-rtti \ 212 -fno-threadsafe-statics \ 213 -fvisibility-inlines-hidden \ 214 -Wsign-compare \ 215 -Wno-abi \ 216 -Wno-error=c++0x-compat \ 217 -Wno-non-virtual-dtor \ 218 -Wno-sign-promo 219 220 221 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 222 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 223 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 224 ### Rules for final target. 225 # Add target alias to "gyp_all_modules" target. 226 .PHONY: gyp_all_modules 227 gyp_all_modules: components_navigation_interception_jni_headers_gyp 228 229 # Alias gyp target name. 230 .PHONY: navigation_interception_jni_headers 231 navigation_interception_jni_headers: components_navigation_interception_jni_headers_gyp 232 233 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 234 LOCAL_UNINSTALLABLE_MODULE := true 235 236 include $(BUILD_SYSTEM)/base_rules.mk 237 238 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 239 $(hide) echo "Gyp timestamp: $@" 240 $(hide) mkdir -p $(dir $@) 241 $(hide) touch $@ 242