1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := GYP 6 LOCAL_MODULE := ui_gfx_gfx_jni_headers_gyp 7 LOCAL_MODULE_STEM := gfx_jni_headers 8 LOCAL_MODULE_SUFFIX := .stamp 9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,GYP,build_android_android_exports_gyp,,,$(GYP_VAR_PREFIX))/android_exports.stamp 16 17 18 ### Generated for rule "ui_gfx_gfx_gyp_gfx_jni_headers_target_generate_jni_headers": 19 # "{'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)/ui/gfx/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['../android/java/src/org/chromium/ui/gfx/BitmapHelper.java', '../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java', '../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java'], 'action': ['../../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/ui/gfx/jni', '--includes', 'base/android/jni_generator/jni_generator_helper.h', '--optimize_generation', '0', '--jarjar', '../../android_webview/build/jarjar-rules.txt', '--ptr_type', 'long', '--native_exports'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}": 20 $(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_local_path := $(LOCAL_PATH) 21 $(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 22 $(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 23 $(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 24 $(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 25 $(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 26 mkdir -p $(gyp_shared_intermediate_dir)/ui/gfx/jni; cd $(gyp_local_path)/ui/gfx; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/gfx/BitmapHelper.java --output_dir "$(gyp_shared_intermediate_dir)/ui/gfx/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 27 28 29 $(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_local_path := $(LOCAL_PATH) 30 $(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 31 $(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 32 $(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 33 $(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 34 $(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 35 mkdir -p $(gyp_shared_intermediate_dir)/ui/gfx/jni; cd $(gyp_local_path)/ui/gfx; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java --output_dir "$(gyp_shared_intermediate_dir)/ui/gfx/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 36 37 38 $(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: gyp_local_path := $(LOCAL_PATH) 39 $(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 40 $(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 41 $(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 42 $(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 43 $(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.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)/ui/gfx/jni; cd $(gyp_local_path)/ui/gfx; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java --output_dir "$(gyp_shared_intermediate_dir)/ui/gfx/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports 45 46 47 48 GYP_GENERATED_OUTPUTS := \ 49 $(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h \ 50 $(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h \ 51 $(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h 52 53 # Make sure our deps and generated files are built first. 54 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 55 56 LOCAL_GENERATED_SOURCES := \ 57 $(gyp_shared_intermediate_dir)/ui/gfx/jni/BitmapHelper_jni.h \ 58 $(gyp_shared_intermediate_dir)/ui/gfx/jni/DeviceDisplayInfo_jni.h \ 59 $(gyp_shared_intermediate_dir)/ui/gfx/jni/ViewConfigurationHelper_jni.h 60 61 GYP_COPIED_SOURCE_ORIGIN_DIRS := 62 63 LOCAL_SRC_FILES := 64 65 66 # Flags passed to both C and C++ files. 67 MY_CFLAGS_Debug := \ 68 --param=ssp-buffer-size=4 \ 69 -Werror \ 70 -fno-strict-aliasing \ 71 -Wall \ 72 -Wno-unused-parameter \ 73 -Wno-missing-field-initializers \ 74 -fvisibility=hidden \ 75 -pipe \ 76 -fPIC \ 77 -Wno-unused-local-typedefs \ 78 -ffunction-sections \ 79 -funwind-tables \ 80 -g \ 81 -fno-short-enums \ 82 -finline-limit=64 \ 83 -Wa,--noexecstack \ 84 -U_FORTIFY_SOURCE \ 85 -Wno-extra \ 86 -Wno-ignored-qualifiers \ 87 -Wno-type-limits \ 88 -Wno-unused-but-set-variable \ 89 -Os \ 90 -g \ 91 -gdwarf-4 \ 92 -fdata-sections \ 93 -ffunction-sections \ 94 -funwind-tables 95 96 MY_DEFS_Debug := \ 97 '-DV8_DEPRECATION_WARNINGS' \ 98 '-D_FILE_OFFSET_BITS=64' \ 99 '-DNO_TCMALLOC' \ 100 '-DDISABLE_NACL' \ 101 '-DCHROMIUM_BUILD' \ 102 '-DUSE_LIBJPEG_TURBO=1' \ 103 '-DENABLE_WEBRTC=1' \ 104 '-DUSE_PROPRIETARY_CODECS' \ 105 '-DENABLE_BROWSER_CDMS' \ 106 '-DENABLE_CONFIGURATION_POLICY' \ 107 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 108 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 109 '-DENABLE_EGLIMAGE=1' \ 110 '-DCLD_VERSION=1' \ 111 '-DENABLE_PRINTING=1' \ 112 '-DENABLE_MANAGED_USERS=1' \ 113 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 114 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 115 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 116 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 117 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 118 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 119 '-DVIDEO_HOLE=1' \ 120 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 121 '-DUSE_OPENSSL=1' \ 122 '-DUSE_OPENSSL_CERTS=1' \ 123 '-D__STDC_CONSTANT_MACROS' \ 124 '-D__STDC_FORMAT_MACROS' \ 125 '-DANDROID' \ 126 '-D__GNU_SOURCE=1' \ 127 '-DUSE_STLPORT=1' \ 128 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 129 '-DCHROME_BUILD_ID=""' \ 130 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 131 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 132 '-D_DEBUG' 133 134 135 # Include paths placed before CFLAGS/CPPFLAGS 136 LOCAL_C_INCLUDES_Debug := \ 137 $(gyp_shared_intermediate_dir) \ 138 $(PWD)/frameworks/wilhelm/include \ 139 $(PWD)/bionic \ 140 $(PWD)/external/stlport/stlport 141 142 143 # Flags passed to only C++ (and not C) files. 144 LOCAL_CPPFLAGS_Debug := \ 145 -fno-exceptions \ 146 -fno-rtti \ 147 -fno-threadsafe-statics \ 148 -fvisibility-inlines-hidden \ 149 -Wsign-compare \ 150 -std=gnu++11 \ 151 -Wno-narrowing \ 152 -Wno-literal-suffix \ 153 -Wno-non-virtual-dtor \ 154 -Wno-sign-promo 155 156 157 # Flags passed to both C and C++ files. 158 MY_CFLAGS_Release := \ 159 --param=ssp-buffer-size=4 \ 160 -Werror \ 161 -fno-strict-aliasing \ 162 -Wall \ 163 -Wno-unused-parameter \ 164 -Wno-missing-field-initializers \ 165 -fvisibility=hidden \ 166 -pipe \ 167 -fPIC \ 168 -Wno-unused-local-typedefs \ 169 -ffunction-sections \ 170 -funwind-tables \ 171 -g \ 172 -fno-short-enums \ 173 -finline-limit=64 \ 174 -Wa,--noexecstack \ 175 -U_FORTIFY_SOURCE \ 176 -Wno-extra \ 177 -Wno-ignored-qualifiers \ 178 -Wno-type-limits \ 179 -Wno-unused-but-set-variable \ 180 -Os \ 181 -fno-ident \ 182 -fdata-sections \ 183 -ffunction-sections \ 184 -funwind-tables 185 186 MY_DEFS_Release := \ 187 '-DV8_DEPRECATION_WARNINGS' \ 188 '-D_FILE_OFFSET_BITS=64' \ 189 '-DNO_TCMALLOC' \ 190 '-DDISABLE_NACL' \ 191 '-DCHROMIUM_BUILD' \ 192 '-DUSE_LIBJPEG_TURBO=1' \ 193 '-DENABLE_WEBRTC=1' \ 194 '-DUSE_PROPRIETARY_CODECS' \ 195 '-DENABLE_BROWSER_CDMS' \ 196 '-DENABLE_CONFIGURATION_POLICY' \ 197 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 198 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 199 '-DENABLE_EGLIMAGE=1' \ 200 '-DCLD_VERSION=1' \ 201 '-DENABLE_PRINTING=1' \ 202 '-DENABLE_MANAGED_USERS=1' \ 203 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 204 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 205 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 206 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 207 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 208 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 209 '-DVIDEO_HOLE=1' \ 210 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 211 '-DUSE_OPENSSL=1' \ 212 '-DUSE_OPENSSL_CERTS=1' \ 213 '-D__STDC_CONSTANT_MACROS' \ 214 '-D__STDC_FORMAT_MACROS' \ 215 '-DANDROID' \ 216 '-D__GNU_SOURCE=1' \ 217 '-DUSE_STLPORT=1' \ 218 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 219 '-DCHROME_BUILD_ID=""' \ 220 '-DNDEBUG' \ 221 '-DNVALGRIND' \ 222 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 223 '-D_FORTIFY_SOURCE=2' 224 225 226 # Include paths placed before CFLAGS/CPPFLAGS 227 LOCAL_C_INCLUDES_Release := \ 228 $(gyp_shared_intermediate_dir) \ 229 $(PWD)/frameworks/wilhelm/include \ 230 $(PWD)/bionic \ 231 $(PWD)/external/stlport/stlport 232 233 234 # Flags passed to only C++ (and not C) files. 235 LOCAL_CPPFLAGS_Release := \ 236 -fno-exceptions \ 237 -fno-rtti \ 238 -fno-threadsafe-statics \ 239 -fvisibility-inlines-hidden \ 240 -Wsign-compare \ 241 -std=gnu++11 \ 242 -Wno-narrowing \ 243 -Wno-literal-suffix \ 244 -Wno-non-virtual-dtor \ 245 -Wno-sign-promo 246 247 248 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 249 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 250 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 251 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 252 ### Rules for final target. 253 # Add target alias to "gyp_all_modules" target. 254 .PHONY: gyp_all_modules 255 gyp_all_modules: ui_gfx_gfx_jni_headers_gyp 256 257 # Alias gyp target name. 258 .PHONY: gfx_jni_headers 259 gfx_jni_headers: ui_gfx_gfx_jni_headers_gyp 260 261 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 262 LOCAL_UNINSTALLABLE_MODULE := true 263 LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 264 265 include $(BUILD_SYSTEM)/base_rules.mk 266 267 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 268 $(hide) echo "Gyp timestamp: $@" 269 $(hide) mkdir -p $(dir $@) 270 $(hide) touch $@ 271 272 LOCAL_2ND_ARCH_VAR_PREFIX := 273