| Torne (Richard Coles) | 5e3f23d | 2013-06-11 16:24:11 +0100 | [diff] [blame] | 1 | # This file is generated by gyp; do not edit. |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_MODULE_CLASS := STATIC_LIBRARIES |
| 6 | LOCAL_MODULE := components_autofill_content_browser_gyp |
| 7 | LOCAL_MODULE_SUFFIX := .a |
| 8 | LOCAL_MODULE_TAGS := optional |
| 9 | gyp_intermediate_dir := $(call local-intermediates-dir) |
| 10 | gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) |
| 11 | |
| 12 | # Make sure our deps are built first. |
| 13 | GYP_TARGET_DEPENDENCIES := \ |
| 14 | $(call intermediates-dir-for,STATIC_LIBRARIES,components_autofill_content_risk_proto_gyp)/components_autofill_content_risk_proto_gyp.a \ |
| 15 | $(call intermediates-dir-for,GYP,components_autofill_regexes_gyp)/autofill_regexes.stamp \ |
| 16 | $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_gyp)/skia_skia_gyp.a \ |
| 17 | $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp)/icui18n.stamp \ |
| 18 | $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp)/icuuc.stamp \ |
| 19 | $(call intermediates-dir-for,STATIC_LIBRARIES,third_party_libphonenumber_libphonenumber_without_metadata_gyp)/third_party_libphonenumber_libphonenumber_without_metadata_gyp.a \ |
| 20 | $(call intermediates-dir-for,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a \ |
| 21 | $(call intermediates-dir-for,GYP,webkit_support_webkit_resources_gyp)/webkit_resources.stamp \ |
| Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame^] | 22 | $(call intermediates-dir-for,GYP,components_component_strings_gyp)/component_strings.stamp |
| Torne (Richard Coles) | 5e3f23d | 2013-06-11 16:24:11 +0100 | [diff] [blame] | 23 | |
| 24 | GYP_GENERATED_OUTPUTS := |
| 25 | |
| 26 | # Make sure our deps and generated files are built first. |
| 27 | LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) |
| 28 | |
| 29 | LOCAL_CPP_EXTENSION := .cc |
| 30 | LOCAL_GENERATED_SOURCES := |
| 31 | |
| 32 | GYP_COPIED_SOURCE_ORIGIN_DIRS := |
| 33 | |
| 34 | LOCAL_SRC_FILES := \ |
| Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame^] | 35 | components/autofill/content/browser/autocheckout/whitelist_manager.cc \ |
| 36 | components/autofill/content/browser/autocheckout_manager.cc \ |
| 37 | components/autofill/content/browser/autocheckout_page_meta_data.cc \ |
| 38 | components/autofill/content/browser/autocheckout_request_manager.cc \ |
| 39 | components/autofill/content/browser/autofill_driver_impl.cc \ |
| Torne (Richard Coles) | 5e3f23d | 2013-06-11 16:24:11 +0100 | [diff] [blame] | 40 | components/autofill/content/browser/risk/fingerprint.cc \ |
| 41 | components/autofill/content/browser/wallet/encryption_escrow_client.cc \ |
| Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame^] | 42 | components/autofill/content/browser/wallet/form_field_error.cc \ |
| Torne (Richard Coles) | 5e3f23d | 2013-06-11 16:24:11 +0100 | [diff] [blame] | 43 | components/autofill/content/browser/wallet/full_wallet.cc \ |
| 44 | components/autofill/content/browser/wallet/instrument.cc \ |
| 45 | components/autofill/content/browser/wallet/required_action.cc \ |
| 46 | components/autofill/content/browser/wallet/wallet_address.cc \ |
| 47 | components/autofill/content/browser/wallet/wallet_client.cc \ |
| 48 | components/autofill/content/browser/wallet/wallet_items.cc \ |
| 49 | components/autofill/content/browser/wallet/wallet_service_url.cc \ |
| 50 | components/autofill/content/browser/wallet/wallet_signin_helper.cc |
| 51 | |
| 52 | |
| 53 | # Flags passed to both C and C++ files. |
| 54 | MY_CFLAGS := \ |
| 55 | -fstack-protector \ |
| 56 | --param=ssp-buffer-size=4 \ |
| 57 | \ |
| 58 | -fno-exceptions \ |
| 59 | -fno-strict-aliasing \ |
| 60 | -Wall \ |
| 61 | -Wno-unused-parameter \ |
| 62 | -Wno-missing-field-initializers \ |
| 63 | -fvisibility=hidden \ |
| 64 | -pipe \ |
| 65 | -fPIC \ |
| 66 | -EL \ |
| 67 | -mhard-float \ |
| 68 | -mips32r2 \ |
| 69 | -Wa,-mips32r2 \ |
| 70 | --sysroot=/automerger/android-src/external/chromium_org/mipsel-sysroot/sysroot \ |
| 71 | -ffunction-sections \ |
| 72 | -funwind-tables \ |
| 73 | -g \ |
| 74 | -fstack-protector \ |
| 75 | -fno-short-enums \ |
| 76 | -finline-limit=64 \ |
| 77 | -Wa,--noexecstack \ |
| 78 | -U_FORTIFY_SOURCE \ |
| 79 | -Wno-extra \ |
| 80 | -Wno-ignored-qualifiers \ |
| 81 | -Wno-type-limits \ |
| 82 | -Os \ |
| 83 | -g \ |
| 84 | -fomit-frame-pointer \ |
| 85 | -fdata-sections \ |
| 86 | -ffunction-sections |
| 87 | |
| 88 | MY_CFLAGS_C := |
| 89 | |
| 90 | MY_DEFS := \ |
| Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame^] | 91 | '-DANGLE_DX11' \ |
| Torne (Richard Coles) | 5e3f23d | 2013-06-11 16:24:11 +0100 | [diff] [blame] | 92 | '-D_FILE_OFFSET_BITS=64' \ |
| 93 | '-DNO_TCMALLOC' \ |
| 94 | '-DDISABLE_NACL' \ |
| 95 | '-DCHROMIUM_BUILD' \ |
| 96 | '-DUSE_LIBJPEG_TURBO=1' \ |
| 97 | '-DUSE_PROPRIETARY_CODECS' \ |
| 98 | '-DENABLE_GPU=1' \ |
| 99 | '-DUSE_OPENSSL=1' \ |
| 100 | '-DENABLE_EGLIMAGE=1' \ |
| 101 | '-DENABLE_LANGUAGE_DETECTION=1' \ |
| 102 | '-DPROTOBUF_USE_DLLS' \ |
| 103 | '-DGOOGLE_PROTOBUF_NO_RTTI' \ |
| 104 | '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ |
| 105 | '-DSK_BUILD_NO_IMAGE_ENCODE' \ |
| 106 | '-DSK_DEFERRED_CANVAS_USES_GPIPE=1' \ |
| 107 | '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ |
| 108 | '-DGR_AGGRESSIVE_SHADER_OPTS=1' \ |
| 109 | '-DSK_ENABLE_INST_COUNT=0' \ |
| 110 | '-DSK_USE_POSIX_THREADS' \ |
| 111 | '-DSK_BUILD_FOR_ANDROID' \ |
| 112 | '-DU_USING_ICU_NAMESPACE=0' \ |
| 113 | '-DFEATURE_ENABLE_SSL' \ |
| 114 | '-DFEATURE_ENABLE_VOICEMAIL' \ |
| 115 | '-DEXPAT_RELATIVE_PATH' \ |
| 116 | '-DGTEST_RELATIVE_PATH' \ |
| 117 | '-DJSONCPP_RELATIVE_PATH' \ |
| 118 | '-DNO_MAIN_THREAD_WRAPPING' \ |
| 119 | '-DNO_SOUND_SYSTEM' \ |
| 120 | '-DANDROID' \ |
| 121 | '-DPOSIX' \ |
| 122 | '-DPOSIX_AVOID_MMAP' \ |
| 123 | '-D__STDC_CONSTANT_MACROS' \ |
| 124 | '-D__STDC_FORMAT_MACROS' \ |
| 125 | '-D__GNU_SOURCE=1' \ |
| 126 | '-DUSE_STLPORT=1' \ |
| 127 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 128 | '-DCHROME_BUILD_ID=""' \ |
| 129 | '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ |
| 130 | '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ |
| 131 | '-D_DEBUG' |
| 132 | |
| 133 | LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS) |
| 134 | |
| 135 | # Include paths placed before CFLAGS/CPPFLAGS |
| 136 | LOCAL_C_INCLUDES := \ |
| 137 | $(LOCAL_PATH) \ |
| 138 | $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ |
| 139 | $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ |
| 140 | $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ |
| 141 | $(LOCAL_PATH)/third_party/khronos \ |
| 142 | $(LOCAL_PATH)/gpu \ |
| 143 | $(gyp_shared_intermediate_dir)/protoc_out \ |
| 144 | $(LOCAL_PATH)/third_party/protobuf \ |
| 145 | $(LOCAL_PATH)/third_party/protobuf/src \ |
| 146 | $(LOCAL_PATH)/skia/config \ |
| 147 | $(LOCAL_PATH)/third_party/skia/src/core \ |
| 148 | $(LOCAL_PATH)/third_party/skia/include/config \ |
| 149 | $(LOCAL_PATH)/third_party/skia/include/core \ |
| 150 | $(LOCAL_PATH)/third_party/skia/include/effects \ |
| 151 | $(LOCAL_PATH)/third_party/skia/include/pdf \ |
| 152 | $(LOCAL_PATH)/third_party/skia/include/gpu \ |
| 153 | $(LOCAL_PATH)/third_party/skia/include/gpu/gl \ |
| 154 | $(LOCAL_PATH)/third_party/skia/include/pathops \ |
| 155 | $(LOCAL_PATH)/third_party/skia/include/pipe \ |
| 156 | $(LOCAL_PATH)/third_party/skia/include/ports \ |
| 157 | $(LOCAL_PATH)/third_party/skia/include/utils \ |
| 158 | $(LOCAL_PATH)/skia/ext \ |
| 159 | $(PWD)/external/icu4c/common \ |
| 160 | $(PWD)/external/icu4c/i18n \ |
| 161 | $(LOCAL_PATH)/third_party/libjingle/overrides \ |
| 162 | $(LOCAL_PATH)/third_party/libjingle/source \ |
| 163 | $(LOCAL_PATH)/testing/gtest/include \ |
| 164 | $(LOCAL_PATH)/third_party \ |
| 165 | $(LOCAL_PATH)/third_party/webrtc \ |
| 166 | $(PWD)/external/expat/lib \ |
| 167 | $(LOCAL_PATH)/third_party/jsoncpp/overrides/include \ |
| 168 | $(LOCAL_PATH)/third_party/jsoncpp/source/include \ |
| 169 | $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ |
| 170 | $(LOCAL_PATH)/third_party/libphonenumber/src \ |
| 171 | $(gyp_shared_intermediate_dir)/webkit \ |
| Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame^] | 172 | $(gyp_shared_intermediate_dir)/components/strings \ |
| Torne (Richard Coles) | 5e3f23d | 2013-06-11 16:24:11 +0100 | [diff] [blame] | 173 | $(PWD)/frameworks/wilhelm/include \ |
| 174 | $(PWD)/bionic \ |
| 175 | $(PWD)/external/stlport/stlport |
| 176 | |
| 177 | LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES) |
| 178 | |
| 179 | # Flags passed to only C++ (and not C) files. |
| 180 | LOCAL_CPPFLAGS := \ |
| 181 | -fno-rtti \ |
| 182 | -fno-threadsafe-statics \ |
| 183 | -fvisibility-inlines-hidden \ |
| 184 | -Wsign-compare \ |
| 185 | -Wno-uninitialized \ |
| 186 | -Wno-error=c++0x-compat \ |
| 187 | -Wno-non-virtual-dtor \ |
| 188 | -Wno-sign-promo |
| 189 | |
| 190 | ### Rules for final target. |
| 191 | |
| 192 | LOCAL_LDFLAGS := \ |
| 193 | -Wl,-z,now \ |
| 194 | -Wl,-z,relro \ |
| 195 | -Wl,-z,noexecstack \ |
| 196 | -fPIC \ |
| 197 | -EL \ |
| 198 | -Wl,--no-keep-memory \ |
| 199 | --sysroot=/automerger/android-src/external/chromium_org/mipsel-sysroot/sysroot \ |
| 200 | \ |
| 201 | -nostdlib \ |
| 202 | -Wl,--no-undefined \ |
| 203 | -Wl,--exclude-libs=ALL \ |
| 204 | -Wl,--gc-sections \ |
| 205 | -Wl,-O1 \ |
| 206 | -Wl,--as-needed |
| 207 | |
| 208 | |
| 209 | LOCAL_STATIC_LIBRARIES := \ |
| 210 | components_autofill_content_risk_proto_gyp \ |
| 211 | skia_skia_gyp \ |
| 212 | third_party_libphonenumber_libphonenumber_without_metadata_gyp \ |
| 213 | ui_ui_gyp |
| 214 | |
| 215 | # Enable grouping to fix circular references |
| 216 | LOCAL_GROUP_STATIC_LIBRARIES := true |
| 217 | |
| 218 | LOCAL_SHARED_LIBRARIES := \ |
| 219 | libstlport \ |
| 220 | libdl |
| 221 | |
| 222 | # Add target alias to "gyp_all_modules" target. |
| 223 | .PHONY: gyp_all_modules |
| 224 | gyp_all_modules: components_autofill_content_browser_gyp |
| 225 | |
| 226 | # Alias gyp target name. |
| 227 | .PHONY: autofill_content_browser |
| 228 | autofill_content_browser: components_autofill_content_browser_gyp |
| 229 | |
| 230 | include $(BUILD_STATIC_LIBRARY) |