navigation_interception.target.darwin-x86_64.mk revision 0529e5d033099cbfc42635f6f6183833b09dff6e
1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := components_navigation_interception_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 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,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \ 16 $(call intermediates-dir-for,GYP,components_navigation_interception_jni_headers_gyp,,,$(GYP_VAR_PREFIX))/navigation_interception_jni_headers.stamp 17 18GYP_GENERATED_OUTPUTS := 19 20# Make sure our deps and generated files are built first. 21LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 22 23LOCAL_CPP_EXTENSION := .cc 24LOCAL_GENERATED_SOURCES := 25 26GYP_COPIED_SOURCE_ORIGIN_DIRS := 27 28LOCAL_SRC_FILES := \ 29 components/navigation_interception/intercept_navigation_resource_throttle.cc \ 30 components/navigation_interception/navigation_params.cc \ 31 components/navigation_interception/component_jni_registrar.cc \ 32 components/navigation_interception/intercept_navigation_delegate.cc \ 33 components/navigation_interception/navigation_params_android.cc 34 35 36# Flags passed to both C and C++ files. 37MY_CFLAGS_Debug := \ 38 -fstack-protector \ 39 --param=ssp-buffer-size=4 \ 40 -Werror \ 41 -fno-exceptions \ 42 -fno-strict-aliasing \ 43 -Wall \ 44 -Wno-unused-parameter \ 45 -Wno-missing-field-initializers \ 46 -fvisibility=hidden \ 47 -pipe \ 48 -fPIC \ 49 -Wno-unused-local-typedefs \ 50 -m64 \ 51 -march=x86-64 \ 52 -fuse-ld=gold \ 53 -ffunction-sections \ 54 -funwind-tables \ 55 -g \ 56 -fstack-protector \ 57 -fno-short-enums \ 58 -finline-limit=64 \ 59 -Wa,--noexecstack \ 60 -U_FORTIFY_SOURCE \ 61 -Wno-extra \ 62 -Wno-ignored-qualifiers \ 63 -Wno-type-limits \ 64 -Wno-unused-but-set-variable \ 65 -Os \ 66 -g \ 67 -fomit-frame-pointer \ 68 -fdata-sections \ 69 -ffunction-sections \ 70 -funwind-tables 71 72MY_DEFS_Debug := \ 73 '-DV8_DEPRECATION_WARNINGS' \ 74 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 75 '-D_FILE_OFFSET_BITS=64' \ 76 '-DNO_TCMALLOC' \ 77 '-DDISABLE_NACL' \ 78 '-DCHROMIUM_BUILD' \ 79 '-DUSE_LIBJPEG_TURBO=1' \ 80 '-DENABLE_WEBRTC=1' \ 81 '-DUSE_PROPRIETARY_CODECS' \ 82 '-DENABLE_CONFIGURATION_POLICY' \ 83 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 84 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 85 '-DENABLE_EGLIMAGE=1' \ 86 '-DCLD_VERSION=1' \ 87 '-DENABLE_PRINTING=1' \ 88 '-DENABLE_MANAGED_USERS=1' \ 89 '-DMOJO_USE_SYSTEM_IMPL' \ 90 '-DPOSIX_AVOID_MMAP' \ 91 '-DUSE_OPENSSL=1' \ 92 '-DUSE_OPENSSL_CERTS=1' \ 93 '-D__STDC_CONSTANT_MACROS' \ 94 '-D__STDC_FORMAT_MACROS' \ 95 '-DANDROID' \ 96 '-D__GNU_SOURCE=1' \ 97 '-DUSE_STLPORT=1' \ 98 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 99 '-DCHROME_BUILD_ID=""' \ 100 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 101 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 102 '-D_DEBUG' 103 104 105# Include paths placed before CFLAGS/CPPFLAGS 106LOCAL_C_INCLUDES_Debug := \ 107 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 108 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 109 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 110 $(LOCAL_PATH) \ 111 $(LOCAL_PATH)/skia/config \ 112 $(LOCAL_PATH)/third_party/khronos \ 113 $(LOCAL_PATH)/gpu \ 114 $(LOCAL_PATH)/third_party/WebKit/Source \ 115 $(gyp_shared_intermediate_dir) \ 116 $(LOCAL_PATH)/third_party/WebKit \ 117 $(gyp_shared_intermediate_dir)/navigation_interception \ 118 $(PWD)/frameworks/wilhelm/include \ 119 $(PWD)/bionic \ 120 $(PWD)/external/stlport/stlport 121 122 123# Flags passed to only C++ (and not C) files. 124LOCAL_CPPFLAGS_Debug := \ 125 -fno-rtti \ 126 -fno-threadsafe-statics \ 127 -fvisibility-inlines-hidden \ 128 -Wsign-compare \ 129 -Wno-non-virtual-dtor \ 130 -Wno-sign-promo 131 132 133# Flags passed to both C and C++ files. 134MY_CFLAGS_Release := \ 135 -fstack-protector \ 136 --param=ssp-buffer-size=4 \ 137 -Werror \ 138 -fno-exceptions \ 139 -fno-strict-aliasing \ 140 -Wall \ 141 -Wno-unused-parameter \ 142 -Wno-missing-field-initializers \ 143 -fvisibility=hidden \ 144 -pipe \ 145 -fPIC \ 146 -Wno-unused-local-typedefs \ 147 -m64 \ 148 -march=x86-64 \ 149 -fuse-ld=gold \ 150 -ffunction-sections \ 151 -funwind-tables \ 152 -g \ 153 -fstack-protector \ 154 -fno-short-enums \ 155 -finline-limit=64 \ 156 -Wa,--noexecstack \ 157 -U_FORTIFY_SOURCE \ 158 -Wno-extra \ 159 -Wno-ignored-qualifiers \ 160 -Wno-type-limits \ 161 -Wno-unused-but-set-variable \ 162 -Os \ 163 -fno-ident \ 164 -fdata-sections \ 165 -ffunction-sections \ 166 -fomit-frame-pointer \ 167 -funwind-tables 168 169MY_DEFS_Release := \ 170 '-DV8_DEPRECATION_WARNINGS' \ 171 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 172 '-D_FILE_OFFSET_BITS=64' \ 173 '-DNO_TCMALLOC' \ 174 '-DDISABLE_NACL' \ 175 '-DCHROMIUM_BUILD' \ 176 '-DUSE_LIBJPEG_TURBO=1' \ 177 '-DENABLE_WEBRTC=1' \ 178 '-DUSE_PROPRIETARY_CODECS' \ 179 '-DENABLE_CONFIGURATION_POLICY' \ 180 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 181 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 182 '-DENABLE_EGLIMAGE=1' \ 183 '-DCLD_VERSION=1' \ 184 '-DENABLE_PRINTING=1' \ 185 '-DENABLE_MANAGED_USERS=1' \ 186 '-DMOJO_USE_SYSTEM_IMPL' \ 187 '-DPOSIX_AVOID_MMAP' \ 188 '-DUSE_OPENSSL=1' \ 189 '-DUSE_OPENSSL_CERTS=1' \ 190 '-D__STDC_CONSTANT_MACROS' \ 191 '-D__STDC_FORMAT_MACROS' \ 192 '-DANDROID' \ 193 '-D__GNU_SOURCE=1' \ 194 '-DUSE_STLPORT=1' \ 195 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 196 '-DCHROME_BUILD_ID=""' \ 197 '-DNDEBUG' \ 198 '-DNVALGRIND' \ 199 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 200 '-D_FORTIFY_SOURCE=2' 201 202 203# Include paths placed before CFLAGS/CPPFLAGS 204LOCAL_C_INCLUDES_Release := \ 205 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 206 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 207 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 208 $(LOCAL_PATH) \ 209 $(LOCAL_PATH)/skia/config \ 210 $(LOCAL_PATH)/third_party/khronos \ 211 $(LOCAL_PATH)/gpu \ 212 $(LOCAL_PATH)/third_party/WebKit/Source \ 213 $(gyp_shared_intermediate_dir) \ 214 $(LOCAL_PATH)/third_party/WebKit \ 215 $(gyp_shared_intermediate_dir)/navigation_interception \ 216 $(PWD)/frameworks/wilhelm/include \ 217 $(PWD)/bionic \ 218 $(PWD)/external/stlport/stlport 219 220 221# Flags passed to only C++ (and not C) files. 222LOCAL_CPPFLAGS_Release := \ 223 -fno-rtti \ 224 -fno-threadsafe-statics \ 225 -fvisibility-inlines-hidden \ 226 -Wsign-compare \ 227 -Wno-non-virtual-dtor \ 228 -Wno-sign-promo 229 230 231LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 232LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 233LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 234LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 235### Rules for final target. 236 237LOCAL_LDFLAGS_Debug := \ 238 -Wl,-z,now \ 239 -Wl,-z,relro \ 240 -Wl,--fatal-warnings \ 241 -Wl,-z,noexecstack \ 242 -fPIC \ 243 -m64 \ 244 -fuse-ld=gold \ 245 -nostdlib \ 246 -Wl,--no-undefined \ 247 -Wl,--exclude-libs=ALL \ 248 -Wl,--warn-shared-textrel \ 249 -Wl,-O1 \ 250 -Wl,--as-needed 251 252 253LOCAL_LDFLAGS_Release := \ 254 -Wl,-z,now \ 255 -Wl,-z,relro \ 256 -Wl,--fatal-warnings \ 257 -Wl,-z,noexecstack \ 258 -fPIC \ 259 -m64 \ 260 -fuse-ld=gold \ 261 -nostdlib \ 262 -Wl,--no-undefined \ 263 -Wl,--exclude-libs=ALL \ 264 -Wl,-O1 \ 265 -Wl,--as-needed \ 266 -Wl,--gc-sections \ 267 -Wl,--warn-shared-textrel 268 269 270LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 271 272LOCAL_STATIC_LIBRARIES := \ 273 ui_accessibility_ax_gen_gyp 274 275# Enable grouping to fix circular references 276LOCAL_GROUP_STATIC_LIBRARIES := true 277 278LOCAL_SHARED_LIBRARIES := \ 279 libstlport \ 280 libdl 281 282# Add target alias to "gyp_all_modules" target. 283.PHONY: gyp_all_modules 284gyp_all_modules: components_navigation_interception_gyp 285 286# Alias gyp target name. 287.PHONY: navigation_interception 288navigation_interception: components_navigation_interception_gyp 289 290include $(BUILD_STATIC_LIBRARY) 291