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_cdm_browser_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a 16 17 GYP_GENERATED_OUTPUTS := 18 19 # Make sure our deps and generated files are built first. 20 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 21 22 LOCAL_CPP_EXTENSION := .cc 23 LOCAL_GENERATED_SOURCES := 24 25 GYP_COPIED_SOURCE_ORIGIN_DIRS := 26 27 LOCAL_SRC_FILES := \ 28 components/cdm/browser/cdm_message_filter_android.cc 29 30 31 # Flags passed to both C and C++ files. 32 MY_CFLAGS_Debug := \ 33 -fstack-protector \ 34 --param=ssp-buffer-size=4 \ 35 \ 36 -fno-strict-aliasing \ 37 -Wall \ 38 -Wno-unused-parameter \ 39 -Wno-missing-field-initializers \ 40 -fvisibility=hidden \ 41 -pipe \ 42 -fPIC \ 43 -Wno-unused-local-typedefs \ 44 -ffunction-sections \ 45 -funwind-tables \ 46 -g \ 47 -fstack-protector \ 48 -fno-short-enums \ 49 -finline-limit=64 \ 50 -Wa,--noexecstack \ 51 -U_FORTIFY_SOURCE \ 52 -Wno-extra \ 53 -Wno-ignored-qualifiers \ 54 -Wno-type-limits \ 55 -Wno-unused-but-set-variable \ 56 -Os \ 57 -g \ 58 -gdwarf-4 \ 59 -fdata-sections \ 60 -ffunction-sections \ 61 -fomit-frame-pointer \ 62 -funwind-tables 63 64 MY_DEFS_Debug := \ 65 '-DV8_DEPRECATION_WARNINGS' \ 66 '-D_FILE_OFFSET_BITS=64' \ 67 '-DNO_TCMALLOC' \ 68 '-DDISABLE_NACL' \ 69 '-DCHROMIUM_BUILD' \ 70 '-DUSE_LIBJPEG_TURBO=1' \ 71 '-DENABLE_WEBRTC=1' \ 72 '-DUSE_PROPRIETARY_CODECS' \ 73 '-DENABLE_BROWSER_CDMS' \ 74 '-DENABLE_CONFIGURATION_POLICY' \ 75 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 76 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 77 '-DENABLE_EGLIMAGE=1' \ 78 '-DCLD_VERSION=1' \ 79 '-DENABLE_PRINTING=1' \ 80 '-DENABLE_MANAGED_USERS=1' \ 81 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 82 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 83 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 84 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 85 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 86 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 87 '-DVIDEO_HOLE=1' \ 88 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 89 '-DMOJO_USE_SYSTEM_IMPL' \ 90 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 91 '-DSK_ENABLE_INST_COUNT=0' \ 92 '-DSK_SUPPORT_GPU=1' \ 93 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 94 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 95 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 96 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 97 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 98 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 99 '-DSK_BUILD_FOR_ANDROID' \ 100 '-DSK_USE_POSIX_THREADS' \ 101 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 102 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 103 '-DMEDIA_DISABLE_LIBVPX' \ 104 '-DUSE_OPENSSL=1' \ 105 '-DUSE_OPENSSL_CERTS=1' \ 106 '-D__STDC_CONSTANT_MACROS' \ 107 '-D__STDC_FORMAT_MACROS' \ 108 '-DANDROID' \ 109 '-D__GNU_SOURCE=1' \ 110 '-DUSE_STLPORT=1' \ 111 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 112 '-DCHROME_BUILD_ID=""' \ 113 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 114 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 115 '-D_DEBUG' 116 117 118 # Include paths placed before CFLAGS/CPPFLAGS 119 LOCAL_C_INCLUDES_Debug := \ 120 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 121 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 122 $(gyp_shared_intermediate_dir) \ 123 $(LOCAL_PATH)/third_party/khronos \ 124 $(LOCAL_PATH)/gpu \ 125 $(LOCAL_PATH) \ 126 $(LOCAL_PATH)/skia/config \ 127 $(LOCAL_PATH)/third_party/WebKit/Source \ 128 $(gyp_shared_intermediate_dir)/angle \ 129 $(LOCAL_PATH)/third_party/WebKit \ 130 $(LOCAL_PATH)/third_party/skia/src/core \ 131 $(LOCAL_PATH)/third_party/skia/include/core \ 132 $(LOCAL_PATH)/third_party/skia/include/effects \ 133 $(LOCAL_PATH)/third_party/skia/include/pdf \ 134 $(LOCAL_PATH)/third_party/skia/include/gpu \ 135 $(LOCAL_PATH)/third_party/skia/include/lazy \ 136 $(LOCAL_PATH)/third_party/skia/include/pathops \ 137 $(LOCAL_PATH)/third_party/skia/include/pipe \ 138 $(LOCAL_PATH)/third_party/skia/include/ports \ 139 $(LOCAL_PATH)/third_party/skia/include/utils \ 140 $(LOCAL_PATH)/skia/ext \ 141 $(PWD)/frameworks/wilhelm/include \ 142 $(PWD)/bionic \ 143 $(PWD)/external/stlport/stlport 144 145 146 # Flags passed to only C++ (and not C) files. 147 LOCAL_CPPFLAGS_Debug := \ 148 -fno-exceptions \ 149 -fno-rtti \ 150 -fno-threadsafe-statics \ 151 -fvisibility-inlines-hidden \ 152 -Wsign-compare \ 153 -Wno-uninitialized \ 154 -std=gnu++11 \ 155 -Wno-narrowing \ 156 -Wno-literal-suffix \ 157 -Wno-non-virtual-dtor \ 158 -Wno-sign-promo 159 160 161 # Flags passed to both C and C++ files. 162 MY_CFLAGS_Release := \ 163 -fstack-protector \ 164 --param=ssp-buffer-size=4 \ 165 \ 166 -fno-strict-aliasing \ 167 -Wall \ 168 -Wno-unused-parameter \ 169 -Wno-missing-field-initializers \ 170 -fvisibility=hidden \ 171 -pipe \ 172 -fPIC \ 173 -Wno-unused-local-typedefs \ 174 -ffunction-sections \ 175 -funwind-tables \ 176 -g \ 177 -fstack-protector \ 178 -fno-short-enums \ 179 -finline-limit=64 \ 180 -Wa,--noexecstack \ 181 -U_FORTIFY_SOURCE \ 182 -Wno-extra \ 183 -Wno-ignored-qualifiers \ 184 -Wno-type-limits \ 185 -Wno-unused-but-set-variable \ 186 -Os \ 187 -fno-ident \ 188 -fdata-sections \ 189 -ffunction-sections \ 190 -fomit-frame-pointer \ 191 -funwind-tables 192 193 MY_DEFS_Release := \ 194 '-DV8_DEPRECATION_WARNINGS' \ 195 '-D_FILE_OFFSET_BITS=64' \ 196 '-DNO_TCMALLOC' \ 197 '-DDISABLE_NACL' \ 198 '-DCHROMIUM_BUILD' \ 199 '-DUSE_LIBJPEG_TURBO=1' \ 200 '-DENABLE_WEBRTC=1' \ 201 '-DUSE_PROPRIETARY_CODECS' \ 202 '-DENABLE_BROWSER_CDMS' \ 203 '-DENABLE_CONFIGURATION_POLICY' \ 204 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 205 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 206 '-DENABLE_EGLIMAGE=1' \ 207 '-DCLD_VERSION=1' \ 208 '-DENABLE_PRINTING=1' \ 209 '-DENABLE_MANAGED_USERS=1' \ 210 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 211 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 212 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 213 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 214 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 215 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 216 '-DVIDEO_HOLE=1' \ 217 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 218 '-DMOJO_USE_SYSTEM_IMPL' \ 219 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 220 '-DSK_ENABLE_INST_COUNT=0' \ 221 '-DSK_SUPPORT_GPU=1' \ 222 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 223 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 224 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 225 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 226 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 227 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 228 '-DSK_BUILD_FOR_ANDROID' \ 229 '-DSK_USE_POSIX_THREADS' \ 230 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 231 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 232 '-DMEDIA_DISABLE_LIBVPX' \ 233 '-DUSE_OPENSSL=1' \ 234 '-DUSE_OPENSSL_CERTS=1' \ 235 '-D__STDC_CONSTANT_MACROS' \ 236 '-D__STDC_FORMAT_MACROS' \ 237 '-DANDROID' \ 238 '-D__GNU_SOURCE=1' \ 239 '-DUSE_STLPORT=1' \ 240 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 241 '-DCHROME_BUILD_ID=""' \ 242 '-DNDEBUG' \ 243 '-DNVALGRIND' \ 244 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 245 '-D_FORTIFY_SOURCE=2' 246 247 248 # Include paths placed before CFLAGS/CPPFLAGS 249 LOCAL_C_INCLUDES_Release := \ 250 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 251 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 252 $(gyp_shared_intermediate_dir) \ 253 $(LOCAL_PATH)/third_party/khronos \ 254 $(LOCAL_PATH)/gpu \ 255 $(LOCAL_PATH) \ 256 $(LOCAL_PATH)/skia/config \ 257 $(LOCAL_PATH)/third_party/WebKit/Source \ 258 $(gyp_shared_intermediate_dir)/angle \ 259 $(LOCAL_PATH)/third_party/WebKit \ 260 $(LOCAL_PATH)/third_party/skia/src/core \ 261 $(LOCAL_PATH)/third_party/skia/include/core \ 262 $(LOCAL_PATH)/third_party/skia/include/effects \ 263 $(LOCAL_PATH)/third_party/skia/include/pdf \ 264 $(LOCAL_PATH)/third_party/skia/include/gpu \ 265 $(LOCAL_PATH)/third_party/skia/include/lazy \ 266 $(LOCAL_PATH)/third_party/skia/include/pathops \ 267 $(LOCAL_PATH)/third_party/skia/include/pipe \ 268 $(LOCAL_PATH)/third_party/skia/include/ports \ 269 $(LOCAL_PATH)/third_party/skia/include/utils \ 270 $(LOCAL_PATH)/skia/ext \ 271 $(PWD)/frameworks/wilhelm/include \ 272 $(PWD)/bionic \ 273 $(PWD)/external/stlport/stlport 274 275 276 # Flags passed to only C++ (and not C) files. 277 LOCAL_CPPFLAGS_Release := \ 278 -fno-exceptions \ 279 -fno-rtti \ 280 -fno-threadsafe-statics \ 281 -fvisibility-inlines-hidden \ 282 -Wsign-compare \ 283 -Wno-uninitialized \ 284 -std=gnu++11 \ 285 -Wno-narrowing \ 286 -Wno-literal-suffix \ 287 -Wno-non-virtual-dtor \ 288 -Wno-sign-promo 289 290 291 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 292 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 293 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 294 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 295 ### Rules for final target. 296 297 LOCAL_SHARED_LIBRARIES := \ 298 libstlport \ 299 libdl 300 301 # Add target alias to "gyp_all_modules" target. 302 .PHONY: gyp_all_modules 303 gyp_all_modules: components_cdm_browser_gyp 304 305 # Alias gyp target name. 306 .PHONY: cdm_browser 307 cdm_browser: components_cdm_browser_gyp 308 309 include $(BUILD_STATIC_LIBRARY) 310