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