1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := GYP 6LOCAL_MODULE := ui_base_ui_base_jni_headers_gyp 7LOCAL_MODULE_STEM := ui_base_jni_headers 8LOCAL_MODULE_SUFFIX := .stamp 9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13# Make sure our deps are built first. 14GYP_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_base_ui_base_gyp_ui_base_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/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['../android/java/src/org/chromium/ui/base/Clipboard.java', '../android/java/src/org/chromium/ui/base/DeviceFormFactor.java', '../android/java/src/org/chromium/ui/base/LocalizationUtils.java', '../android/java/src/org/chromium/ui/base/ResourceBundle.java', '../android/java/src/org/chromium/ui/base/SelectFileDialog.java', '../android/java/src/org/chromium/ui/base/TouchDevice.java', '../android/java/src/org/chromium/ui/base/ViewAndroid.java', '../android/java/src/org/chromium/ui/base/WindowAndroid.java'], 'action': ['../../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/ui/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/jni/Clipboard_jni.h: gyp_local_path := $(LOCAL_PATH) 21$(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 22$(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 23$(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 24$(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 25$(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/base/Clipboard.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/jni; cd $(gyp_local_path)/ui/base; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/base/Clipboard.java --output_dir "$(gyp_shared_intermediate_dir)/ui/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/jni/DeviceFormFactor_jni.h: gyp_local_path := $(LOCAL_PATH) 30$(gyp_shared_intermediate_dir)/ui/jni/DeviceFormFactor_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 31$(gyp_shared_intermediate_dir)/ui/jni/DeviceFormFactor_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 32$(gyp_shared_intermediate_dir)/ui/jni/DeviceFormFactor_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 33$(gyp_shared_intermediate_dir)/ui/jni/DeviceFormFactor_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 34$(gyp_shared_intermediate_dir)/ui/jni/DeviceFormFactor_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.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/jni; cd $(gyp_local_path)/ui/base; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/base/DeviceFormFactor.java --output_dir "$(gyp_shared_intermediate_dir)/ui/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/jni/LocalizationUtils_jni.h: gyp_local_path := $(LOCAL_PATH) 39$(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 40$(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 41$(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 42$(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 43$(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/base/LocalizationUtils.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/jni; cd $(gyp_local_path)/ui/base; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/base/LocalizationUtils.java --output_dir "$(gyp_shared_intermediate_dir)/ui/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$(gyp_shared_intermediate_dir)/ui/jni/ResourceBundle_jni.h: gyp_local_path := $(LOCAL_PATH) 48$(gyp_shared_intermediate_dir)/ui/jni/ResourceBundle_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 49$(gyp_shared_intermediate_dir)/ui/jni/ResourceBundle_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 50$(gyp_shared_intermediate_dir)/ui/jni/ResourceBundle_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 51$(gyp_shared_intermediate_dir)/ui/jni/ResourceBundle_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 52$(gyp_shared_intermediate_dir)/ui/jni/ResourceBundle_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/base/ResourceBundle.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 53 mkdir -p $(gyp_shared_intermediate_dir)/ui/jni; cd $(gyp_local_path)/ui/base; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/base/ResourceBundle.java --output_dir "$(gyp_shared_intermediate_dir)/ui/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 54 55 56$(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h: gyp_local_path := $(LOCAL_PATH) 57$(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 58$(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 59$(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 60$(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 61$(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 62 mkdir -p $(gyp_shared_intermediate_dir)/ui/jni; cd $(gyp_local_path)/ui/base; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/base/SelectFileDialog.java --output_dir "$(gyp_shared_intermediate_dir)/ui/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 63 64 65$(gyp_shared_intermediate_dir)/ui/jni/TouchDevice_jni.h: gyp_local_path := $(LOCAL_PATH) 66$(gyp_shared_intermediate_dir)/ui/jni/TouchDevice_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 67$(gyp_shared_intermediate_dir)/ui/jni/TouchDevice_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 68$(gyp_shared_intermediate_dir)/ui/jni/TouchDevice_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 69$(gyp_shared_intermediate_dir)/ui/jni/TouchDevice_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 70$(gyp_shared_intermediate_dir)/ui/jni/TouchDevice_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/base/TouchDevice.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 71 mkdir -p $(gyp_shared_intermediate_dir)/ui/jni; cd $(gyp_local_path)/ui/base; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/base/TouchDevice.java --output_dir "$(gyp_shared_intermediate_dir)/ui/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 72 73 74$(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h: gyp_local_path := $(LOCAL_PATH) 75$(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 76$(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 77$(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 78$(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 79$(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/base/ViewAndroid.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 80 mkdir -p $(gyp_shared_intermediate_dir)/ui/jni; cd $(gyp_local_path)/ui/base; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/base/ViewAndroid.java --output_dir "$(gyp_shared_intermediate_dir)/ui/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 81 82 83$(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h: gyp_local_path := $(LOCAL_PATH) 84$(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX) 85$(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 86$(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 87$(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 88$(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h: $(LOCAL_PATH)/ui/android/java/src/org/chromium/ui/base/WindowAndroid.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES) 89 mkdir -p $(gyp_shared_intermediate_dir)/ui/jni; cd $(gyp_local_path)/ui/base; ../../base/android/jni_generator/jni_generator.py --input_file ../android/java/src/org/chromium/ui/base/WindowAndroid.java --output_dir "$(gyp_shared_intermediate_dir)/ui/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 90 91 92 93GYP_GENERATED_OUTPUTS := \ 94 $(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h \ 95 $(gyp_shared_intermediate_dir)/ui/jni/DeviceFormFactor_jni.h \ 96 $(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h \ 97 $(gyp_shared_intermediate_dir)/ui/jni/ResourceBundle_jni.h \ 98 $(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h \ 99 $(gyp_shared_intermediate_dir)/ui/jni/TouchDevice_jni.h \ 100 $(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h \ 101 $(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h 102 103# Make sure our deps and generated files are built first. 104LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 105 106LOCAL_GENERATED_SOURCES := \ 107 $(gyp_shared_intermediate_dir)/ui/jni/Clipboard_jni.h \ 108 $(gyp_shared_intermediate_dir)/ui/jni/DeviceFormFactor_jni.h \ 109 $(gyp_shared_intermediate_dir)/ui/jni/LocalizationUtils_jni.h \ 110 $(gyp_shared_intermediate_dir)/ui/jni/ResourceBundle_jni.h \ 111 $(gyp_shared_intermediate_dir)/ui/jni/SelectFileDialog_jni.h \ 112 $(gyp_shared_intermediate_dir)/ui/jni/TouchDevice_jni.h \ 113 $(gyp_shared_intermediate_dir)/ui/jni/ViewAndroid_jni.h \ 114 $(gyp_shared_intermediate_dir)/ui/jni/WindowAndroid_jni.h 115 116GYP_COPIED_SOURCE_ORIGIN_DIRS := 117 118LOCAL_SRC_FILES := 119 120 121# Flags passed to both C and C++ files. 122MY_CFLAGS_Debug := \ 123 -fstack-protector \ 124 --param=ssp-buffer-size=4 \ 125 -Werror \ 126 -fno-strict-aliasing \ 127 -Wall \ 128 -Wno-unused-parameter \ 129 -Wno-missing-field-initializers \ 130 -fvisibility=hidden \ 131 -pipe \ 132 -fPIC \ 133 -Wno-unused-local-typedefs \ 134 -m64 \ 135 -march=x86-64 \ 136 -ffunction-sections \ 137 -funwind-tables \ 138 -g \ 139 -fstack-protector \ 140 -fno-short-enums \ 141 -finline-limit=64 \ 142 -Wa,--noexecstack \ 143 -U_FORTIFY_SOURCE \ 144 -Wno-extra \ 145 -Wno-ignored-qualifiers \ 146 -Wno-type-limits \ 147 -Wno-unused-but-set-variable \ 148 -Os \ 149 -g \ 150 -gdwarf-4 \ 151 -fdata-sections \ 152 -ffunction-sections \ 153 -fomit-frame-pointer \ 154 -funwind-tables 155 156MY_DEFS_Debug := \ 157 '-DV8_DEPRECATION_WARNINGS' \ 158 '-D_FILE_OFFSET_BITS=64' \ 159 '-DNO_TCMALLOC' \ 160 '-DDISABLE_NACL' \ 161 '-DCHROMIUM_BUILD' \ 162 '-DUSE_LIBJPEG_TURBO=1' \ 163 '-DENABLE_WEBRTC=1' \ 164 '-DUSE_PROPRIETARY_CODECS' \ 165 '-DENABLE_BROWSER_CDMS' \ 166 '-DENABLE_CONFIGURATION_POLICY' \ 167 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 168 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 169 '-DENABLE_EGLIMAGE=1' \ 170 '-DCLD_VERSION=1' \ 171 '-DENABLE_PRINTING=1' \ 172 '-DENABLE_MANAGED_USERS=1' \ 173 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 174 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 175 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 176 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 177 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 178 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 179 '-DVIDEO_HOLE=1' \ 180 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 181 '-DUSE_OPENSSL=1' \ 182 '-DUSE_OPENSSL_CERTS=1' \ 183 '-D__STDC_CONSTANT_MACROS' \ 184 '-D__STDC_FORMAT_MACROS' \ 185 '-DANDROID' \ 186 '-D__GNU_SOURCE=1' \ 187 '-DUSE_STLPORT=1' \ 188 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 189 '-DCHROME_BUILD_ID=""' \ 190 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 191 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 192 '-D_DEBUG' 193 194 195# Include paths placed before CFLAGS/CPPFLAGS 196LOCAL_C_INCLUDES_Debug := \ 197 $(gyp_shared_intermediate_dir) \ 198 $(PWD)/frameworks/wilhelm/include \ 199 $(PWD)/bionic \ 200 $(PWD)/external/stlport/stlport 201 202 203# Flags passed to only C++ (and not C) files. 204LOCAL_CPPFLAGS_Debug := \ 205 -fno-exceptions \ 206 -fno-rtti \ 207 -fno-threadsafe-statics \ 208 -fvisibility-inlines-hidden \ 209 -Wsign-compare \ 210 -std=gnu++11 \ 211 -Wno-narrowing \ 212 -Wno-literal-suffix \ 213 -Wno-non-virtual-dtor \ 214 -Wno-sign-promo 215 216 217# Flags passed to both C and C++ files. 218MY_CFLAGS_Release := \ 219 -fstack-protector \ 220 --param=ssp-buffer-size=4 \ 221 -Werror \ 222 -fno-strict-aliasing \ 223 -Wall \ 224 -Wno-unused-parameter \ 225 -Wno-missing-field-initializers \ 226 -fvisibility=hidden \ 227 -pipe \ 228 -fPIC \ 229 -Wno-unused-local-typedefs \ 230 -m64 \ 231 -march=x86-64 \ 232 -ffunction-sections \ 233 -funwind-tables \ 234 -g \ 235 -fstack-protector \ 236 -fno-short-enums \ 237 -finline-limit=64 \ 238 -Wa,--noexecstack \ 239 -U_FORTIFY_SOURCE \ 240 -Wno-extra \ 241 -Wno-ignored-qualifiers \ 242 -Wno-type-limits \ 243 -Wno-unused-but-set-variable \ 244 -Os \ 245 -fno-ident \ 246 -fdata-sections \ 247 -ffunction-sections \ 248 -fomit-frame-pointer \ 249 -funwind-tables 250 251MY_DEFS_Release := \ 252 '-DV8_DEPRECATION_WARNINGS' \ 253 '-D_FILE_OFFSET_BITS=64' \ 254 '-DNO_TCMALLOC' \ 255 '-DDISABLE_NACL' \ 256 '-DCHROMIUM_BUILD' \ 257 '-DUSE_LIBJPEG_TURBO=1' \ 258 '-DENABLE_WEBRTC=1' \ 259 '-DUSE_PROPRIETARY_CODECS' \ 260 '-DENABLE_BROWSER_CDMS' \ 261 '-DENABLE_CONFIGURATION_POLICY' \ 262 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 263 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 264 '-DENABLE_EGLIMAGE=1' \ 265 '-DCLD_VERSION=1' \ 266 '-DENABLE_PRINTING=1' \ 267 '-DENABLE_MANAGED_USERS=1' \ 268 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 269 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 270 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 271 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 272 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 273 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 274 '-DVIDEO_HOLE=1' \ 275 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 276 '-DUSE_OPENSSL=1' \ 277 '-DUSE_OPENSSL_CERTS=1' \ 278 '-D__STDC_CONSTANT_MACROS' \ 279 '-D__STDC_FORMAT_MACROS' \ 280 '-DANDROID' \ 281 '-D__GNU_SOURCE=1' \ 282 '-DUSE_STLPORT=1' \ 283 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 284 '-DCHROME_BUILD_ID=""' \ 285 '-DNDEBUG' \ 286 '-DNVALGRIND' \ 287 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 288 '-D_FORTIFY_SOURCE=2' 289 290 291# Include paths placed before CFLAGS/CPPFLAGS 292LOCAL_C_INCLUDES_Release := \ 293 $(gyp_shared_intermediate_dir) \ 294 $(PWD)/frameworks/wilhelm/include \ 295 $(PWD)/bionic \ 296 $(PWD)/external/stlport/stlport 297 298 299# Flags passed to only C++ (and not C) files. 300LOCAL_CPPFLAGS_Release := \ 301 -fno-exceptions \ 302 -fno-rtti \ 303 -fno-threadsafe-statics \ 304 -fvisibility-inlines-hidden \ 305 -Wsign-compare \ 306 -std=gnu++11 \ 307 -Wno-narrowing \ 308 -Wno-literal-suffix \ 309 -Wno-non-virtual-dtor \ 310 -Wno-sign-promo 311 312 313LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 314LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 315LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 316LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 317### Rules for final target. 318# Add target alias to "gyp_all_modules" target. 319.PHONY: gyp_all_modules 320gyp_all_modules: ui_base_ui_base_jni_headers_gyp 321 322# Alias gyp target name. 323.PHONY: ui_base_jni_headers 324ui_base_jni_headers: ui_base_ui_base_jni_headers_gyp 325 326LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 327LOCAL_UNINSTALLABLE_MODULE := true 328LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 329 330include $(BUILD_SYSTEM)/base_rules.mk 331 332$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 333 $(hide) echo "Gyp timestamp: $@" 334 $(hide) mkdir -p $(dir $@) 335 $(hide) touch $@ 336 337LOCAL_2ND_ARCH_VAR_PREFIX := 338