1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := EXECUTABLES 6 LOCAL_MODULE := third_party_libvpx_libvpx_obj_int_extract_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 7 LOCAL_MODULE_STEM := libvpx_obj_int_extract 8 LOCAL_MODULE_SUFFIX := 9 LOCAL_IS_HOST_MODULE := true 10 LOCAL_MULTILIB := $(GYP_HOST_MULTILIB) 11 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_HOST_VAR_PREFIX)) 12 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 13 14 # Make sure our deps are built first. 15 GYP_TARGET_DEPENDENCIES := 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_GENERATED_SOURCES := 23 24 GYP_COPIED_SOURCE_ORIGIN_DIRS := 25 26 LOCAL_SRC_FILES := \ 27 third_party/libvpx/source/libvpx/build/make/obj_int_extract.c 28 29 30 # Flags passed to both C and C++ files. 31 MY_CFLAGS_Debug := \ 32 -fstack-protector \ 33 --param=ssp-buffer-size=4 \ 34 -pthread \ 35 -fno-strict-aliasing \ 36 -Wno-unused-parameter \ 37 -Wno-missing-field-initializers \ 38 -fvisibility=hidden \ 39 -pipe \ 40 -fPIC \ 41 -Wno-format \ 42 -Wheader-hygiene \ 43 -Wno-char-subscripts \ 44 -Wno-unneeded-internal-declaration \ 45 -Wno-covered-switch-default \ 46 -Wstring-conversion \ 47 -Wno-c++11-narrowing \ 48 -Wno-deprecated-register \ 49 -Wno-unused-local-typedef \ 50 -Os \ 51 -g \ 52 -gdwarf-4 \ 53 -fdata-sections \ 54 -ffunction-sections \ 55 -fomit-frame-pointer \ 56 -funwind-tables 57 58 MY_DEFS_Debug := \ 59 '-DV8_DEPRECATION_WARNINGS' \ 60 '-D_FILE_OFFSET_BITS=64' \ 61 '-DNO_TCMALLOC' \ 62 '-DDISABLE_NACL' \ 63 '-DCHROMIUM_BUILD' \ 64 '-DUSE_LIBJPEG_TURBO=1' \ 65 '-DENABLE_WEBRTC=1' \ 66 '-DUSE_PROPRIETARY_CODECS' \ 67 '-DENABLE_BROWSER_CDMS' \ 68 '-DENABLE_CONFIGURATION_POLICY' \ 69 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 70 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 71 '-DENABLE_EGLIMAGE=1' \ 72 '-DCLD_VERSION=1' \ 73 '-DENABLE_PRINTING=1' \ 74 '-DENABLE_MANAGED_USERS=1' \ 75 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 76 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 77 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 78 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 79 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 80 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 81 '-DVIDEO_HOLE=1' \ 82 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 83 '-DFORCE_PARSE_ELF' \ 84 '-DUSE_OPENSSL=1' \ 85 '-DUSE_OPENSSL_CERTS=1' \ 86 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 87 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 88 '-D_DEBUG' 89 90 91 # Include paths placed before CFLAGS/CPPFLAGS 92 LOCAL_C_INCLUDES_Debug := \ 93 $(gyp_shared_intermediate_dir) \ 94 $(LOCAL_PATH)/third_party/libvpx/source/config/linux/arm-neon-cpu-detect \ 95 $(LOCAL_PATH)/third_party/libvpx/source/config \ 96 $(LOCAL_PATH)/third_party/libvpx/source/libvpx \ 97 $(LOCAL_PATH)/third_party/libvpx/include 98 99 100 # Flags passed to only C++ (and not C) files. 101 LOCAL_CPPFLAGS_Debug := \ 102 -fno-exceptions \ 103 -fno-rtti \ 104 -fno-threadsafe-statics \ 105 -fvisibility-inlines-hidden \ 106 -Wno-deprecated \ 107 -std=gnu++11 108 109 110 # Flags passed to both C and C++ files. 111 MY_CFLAGS_Release := \ 112 -fstack-protector \ 113 --param=ssp-buffer-size=4 \ 114 -pthread \ 115 -fno-strict-aliasing \ 116 -Wno-unused-parameter \ 117 -Wno-missing-field-initializers \ 118 -fvisibility=hidden \ 119 -pipe \ 120 -fPIC \ 121 -Wno-format \ 122 -Wheader-hygiene \ 123 -Wno-char-subscripts \ 124 -Wno-unneeded-internal-declaration \ 125 -Wno-covered-switch-default \ 126 -Wstring-conversion \ 127 -Wno-c++11-narrowing \ 128 -Wno-deprecated-register \ 129 -Wno-unused-local-typedef \ 130 -Os \ 131 -fno-ident \ 132 -fdata-sections \ 133 -ffunction-sections \ 134 -fomit-frame-pointer \ 135 -funwind-tables 136 137 MY_DEFS_Release := \ 138 '-DV8_DEPRECATION_WARNINGS' \ 139 '-D_FILE_OFFSET_BITS=64' \ 140 '-DNO_TCMALLOC' \ 141 '-DDISABLE_NACL' \ 142 '-DCHROMIUM_BUILD' \ 143 '-DUSE_LIBJPEG_TURBO=1' \ 144 '-DENABLE_WEBRTC=1' \ 145 '-DUSE_PROPRIETARY_CODECS' \ 146 '-DENABLE_BROWSER_CDMS' \ 147 '-DENABLE_CONFIGURATION_POLICY' \ 148 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 149 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 150 '-DENABLE_EGLIMAGE=1' \ 151 '-DCLD_VERSION=1' \ 152 '-DENABLE_PRINTING=1' \ 153 '-DENABLE_MANAGED_USERS=1' \ 154 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 155 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 156 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 157 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 158 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 159 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 160 '-DVIDEO_HOLE=1' \ 161 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 162 '-DFORCE_PARSE_ELF' \ 163 '-DUSE_OPENSSL=1' \ 164 '-DUSE_OPENSSL_CERTS=1' \ 165 '-DNDEBUG' \ 166 '-DNVALGRIND' \ 167 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 168 169 170 # Include paths placed before CFLAGS/CPPFLAGS 171 LOCAL_C_INCLUDES_Release := \ 172 $(gyp_shared_intermediate_dir) \ 173 $(LOCAL_PATH)/third_party/libvpx/source/config/linux/arm-neon-cpu-detect \ 174 $(LOCAL_PATH)/third_party/libvpx/source/config \ 175 $(LOCAL_PATH)/third_party/libvpx/source/libvpx \ 176 $(LOCAL_PATH)/third_party/libvpx/include 177 178 179 # Flags passed to only C++ (and not C) files. 180 LOCAL_CPPFLAGS_Release := \ 181 -fno-exceptions \ 182 -fno-rtti \ 183 -fno-threadsafe-statics \ 184 -fvisibility-inlines-hidden \ 185 -Wno-deprecated \ 186 -std=gnu++11 187 188 189 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 190 # Undefine ANDROID for host modules 191 LOCAL_CFLAGS += -UANDROID 192 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 193 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 194 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 195 ### Rules for final target. 196 197 LOCAL_LDFLAGS_Debug := \ 198 -Wl,-z,now \ 199 -Wl,-z,relro \ 200 -pthread \ 201 -fPIC 202 203 204 LOCAL_LDFLAGS_Release := \ 205 -Wl,-z,now \ 206 -Wl,-z,relro \ 207 -pthread \ 208 -fPIC 209 210 211 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 212 ### Set directly by aosp_build_settings. 213 LOCAL_CLANG := true 214 215 # Add target alias to "gyp_all_modules" target. 216 .PHONY: gyp_all_modules 217 gyp_all_modules: third_party_libvpx_libvpx_obj_int_extract_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 218 219 # Alias gyp target name. 220 .PHONY: libvpx_obj_int_extract 221 libvpx_obj_int_extract: third_party_libvpx_libvpx_obj_int_extract_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 222 223 LOCAL_MODULE_PATH := $(gyp_shared_intermediate_dir) 224 include $(BUILD_HOST_EXECUTABLE) 225