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 -funwind-tables 56 57 MY_DEFS_Debug := \ 58 '-DV8_DEPRECATION_WARNINGS' \ 59 '-D_FILE_OFFSET_BITS=64' \ 60 '-DNO_TCMALLOC' \ 61 '-DDISABLE_NACL' \ 62 '-DCHROMIUM_BUILD' \ 63 '-DUSE_LIBJPEG_TURBO=1' \ 64 '-DENABLE_WEBRTC=1' \ 65 '-DUSE_PROPRIETARY_CODECS' \ 66 '-DENABLE_BROWSER_CDMS' \ 67 '-DENABLE_CONFIGURATION_POLICY' \ 68 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 69 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 70 '-DENABLE_EGLIMAGE=1' \ 71 '-DCLD_VERSION=1' \ 72 '-DENABLE_PRINTING=1' \ 73 '-DENABLE_MANAGED_USERS=1' \ 74 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 75 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 76 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 77 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 78 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 79 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 80 '-DVIDEO_HOLE=1' \ 81 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 82 '-DFORCE_PARSE_ELF' \ 83 '-DUSE_OPENSSL=1' \ 84 '-DUSE_OPENSSL_CERTS=1' \ 85 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 86 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 87 '-D_DEBUG' 88 89 90 # Include paths placed before CFLAGS/CPPFLAGS 91 LOCAL_C_INCLUDES_Debug := \ 92 $(gyp_shared_intermediate_dir) \ 93 $(LOCAL_PATH)/third_party/libvpx/source/config/linux/arm64 \ 94 $(LOCAL_PATH)/third_party/libvpx/source/config \ 95 $(LOCAL_PATH)/third_party/libvpx/source/libvpx \ 96 $(LOCAL_PATH)/third_party/libvpx/include 97 98 99 # Flags passed to only C++ (and not C) files. 100 LOCAL_CPPFLAGS_Debug := \ 101 -fno-exceptions \ 102 -fno-rtti \ 103 -fno-threadsafe-statics \ 104 -fvisibility-inlines-hidden \ 105 -Wno-deprecated \ 106 -std=gnu++11 107 108 109 # Flags passed to both C and C++ files. 110 MY_CFLAGS_Release := \ 111 -fstack-protector \ 112 --param=ssp-buffer-size=4 \ 113 -pthread \ 114 -fno-strict-aliasing \ 115 -Wno-unused-parameter \ 116 -Wno-missing-field-initializers \ 117 -fvisibility=hidden \ 118 -pipe \ 119 -fPIC \ 120 -Wno-format \ 121 -Wheader-hygiene \ 122 -Wno-char-subscripts \ 123 -Wno-unneeded-internal-declaration \ 124 -Wno-covered-switch-default \ 125 -Wstring-conversion \ 126 -Wno-c++11-narrowing \ 127 -Wno-deprecated-register \ 128 -Wno-unused-local-typedef \ 129 -Os \ 130 -fno-ident \ 131 -fdata-sections \ 132 -ffunction-sections \ 133 -funwind-tables 134 135 MY_DEFS_Release := \ 136 '-DV8_DEPRECATION_WARNINGS' \ 137 '-D_FILE_OFFSET_BITS=64' \ 138 '-DNO_TCMALLOC' \ 139 '-DDISABLE_NACL' \ 140 '-DCHROMIUM_BUILD' \ 141 '-DUSE_LIBJPEG_TURBO=1' \ 142 '-DENABLE_WEBRTC=1' \ 143 '-DUSE_PROPRIETARY_CODECS' \ 144 '-DENABLE_BROWSER_CDMS' \ 145 '-DENABLE_CONFIGURATION_POLICY' \ 146 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 147 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 148 '-DENABLE_EGLIMAGE=1' \ 149 '-DCLD_VERSION=1' \ 150 '-DENABLE_PRINTING=1' \ 151 '-DENABLE_MANAGED_USERS=1' \ 152 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 153 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 154 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 155 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 156 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 157 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 158 '-DVIDEO_HOLE=1' \ 159 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 160 '-DFORCE_PARSE_ELF' \ 161 '-DUSE_OPENSSL=1' \ 162 '-DUSE_OPENSSL_CERTS=1' \ 163 '-DNDEBUG' \ 164 '-DNVALGRIND' \ 165 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 166 167 168 # Include paths placed before CFLAGS/CPPFLAGS 169 LOCAL_C_INCLUDES_Release := \ 170 $(gyp_shared_intermediate_dir) \ 171 $(LOCAL_PATH)/third_party/libvpx/source/config/linux/arm64 \ 172 $(LOCAL_PATH)/third_party/libvpx/source/config \ 173 $(LOCAL_PATH)/third_party/libvpx/source/libvpx \ 174 $(LOCAL_PATH)/third_party/libvpx/include 175 176 177 # Flags passed to only C++ (and not C) files. 178 LOCAL_CPPFLAGS_Release := \ 179 -fno-exceptions \ 180 -fno-rtti \ 181 -fno-threadsafe-statics \ 182 -fvisibility-inlines-hidden \ 183 -Wno-deprecated \ 184 -std=gnu++11 185 186 187 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 188 # Undefine ANDROID for host modules 189 LOCAL_CFLAGS += -UANDROID 190 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 191 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 192 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 193 ### Rules for final target. 194 195 LOCAL_LDFLAGS_Debug := \ 196 -Wl,-z,now \ 197 -Wl,-z,relro \ 198 -pthread \ 199 -fPIC 200 201 202 LOCAL_LDFLAGS_Release := \ 203 -Wl,-z,now \ 204 -Wl,-z,relro \ 205 -pthread \ 206 -fPIC 207 208 209 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 210 ### Set directly by aosp_build_settings. 211 LOCAL_CLANG := true 212 213 # Add target alias to "gyp_all_modules" target. 214 .PHONY: gyp_all_modules 215 gyp_all_modules: third_party_libvpx_libvpx_obj_int_extract_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 216 217 # Alias gyp target name. 218 .PHONY: libvpx_obj_int_extract 219 libvpx_obj_int_extract: third_party_libvpx_libvpx_obj_int_extract_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 220 221 LOCAL_MODULE_PATH := $(gyp_shared_intermediate_dir) 222 include $(BUILD_HOST_EXECUTABLE) 223