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