1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := GYP 6 LOCAL_MODULE := third_party_WebKit_Source_devtools_devtools_html_gyp 7 LOCAL_MODULE_STEM := devtools_html 8 LOCAL_MODULE_SUFFIX := .stamp 9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := 15 16 ### Rules for action "devtools_html": 17 $(gyp_shared_intermediate_dir)/resources/inspector/devtools.html: gyp_local_path := $(LOCAL_PATH) 18 $(gyp_shared_intermediate_dir)/resources/inspector/devtools.html: gyp_var_prefix := $(GYP_VAR_PREFIX) 19 $(gyp_shared_intermediate_dir)/resources/inspector/devtools.html: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 20 $(gyp_shared_intermediate_dir)/resources/inspector/devtools.html: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 21 $(gyp_shared_intermediate_dir)/resources/inspector/devtools.html: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 22 $(gyp_shared_intermediate_dir)/resources/inspector/devtools.html: $(LOCAL_PATH)/third_party/WebKit/Source/devtools/scripts/generate_devtools_html.py $(LOCAL_PATH)/third_party/WebKit/Source/devtools/front_end/devtools.html $(GYP_TARGET_DEPENDENCIES) 23 @echo "Gyp action: third_party_WebKit_Source_devtools_devtools_gyp_devtools_html_target_devtools_html ($@)" 24 $(hide)cd $(gyp_local_path)/third_party/WebKit/Source/devtools; mkdir -p $(gyp_shared_intermediate_dir)/resources/inspector; python scripts/generate_devtools_html.py front_end/devtools.html "$(gyp_shared_intermediate_dir)/resources/inspector/devtools.html" 0 25 26 27 28 GYP_GENERATED_OUTPUTS := \ 29 $(gyp_shared_intermediate_dir)/resources/inspector/devtools.html 30 31 # Make sure our deps and generated files are built first. 32 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 33 34 LOCAL_GENERATED_SOURCES := 35 36 GYP_COPIED_SOURCE_ORIGIN_DIRS := 37 38 LOCAL_SRC_FILES := 39 40 41 # Flags passed to both C and C++ files. 42 MY_CFLAGS_Debug := \ 43 --param=ssp-buffer-size=4 \ 44 -fno-strict-aliasing \ 45 -Wno-unused-parameter \ 46 -Wno-missing-field-initializers \ 47 -fvisibility=hidden \ 48 -pipe \ 49 -fPIC \ 50 -Wno-unused-local-typedefs \ 51 -Wno-format \ 52 -msse2 \ 53 -mfpmath=sse \ 54 -mmmx \ 55 -m32 \ 56 -ffunction-sections \ 57 -funwind-tables \ 58 -g \ 59 -fno-short-enums \ 60 -finline-limit=64 \ 61 -Wa,--noexecstack \ 62 -U_FORTIFY_SOURCE \ 63 -Wno-extra \ 64 -Wno-ignored-qualifiers \ 65 -Wno-type-limits \ 66 -Wno-unused-but-set-variable \ 67 -fno-stack-protector \ 68 -Wno-address \ 69 -Wno-format-security \ 70 -Wno-return-type \ 71 -Wno-sequence-point \ 72 -Os \ 73 -g \ 74 -gdwarf-4 \ 75 -fdata-sections \ 76 -ffunction-sections \ 77 -fomit-frame-pointer \ 78 -funwind-tables 79 80 MY_DEFS_Debug := \ 81 '-DV8_DEPRECATION_WARNINGS' \ 82 '-D_FILE_OFFSET_BITS=64' \ 83 '-DNO_TCMALLOC' \ 84 '-DDISABLE_NACL' \ 85 '-DCHROMIUM_BUILD' \ 86 '-DUSE_LIBJPEG_TURBO=1' \ 87 '-DENABLE_WEBRTC=1' \ 88 '-DUSE_PROPRIETARY_CODECS' \ 89 '-DENABLE_BROWSER_CDMS' \ 90 '-DENABLE_CONFIGURATION_POLICY' \ 91 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 92 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 93 '-DENABLE_EGLIMAGE=1' \ 94 '-DCLD_VERSION=1' \ 95 '-DENABLE_PRINTING=1' \ 96 '-DENABLE_MANAGED_USERS=1' \ 97 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 98 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 99 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 100 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 101 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 102 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 103 '-DVIDEO_HOLE=1' \ 104 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 105 '-DUSE_OPENSSL=1' \ 106 '-DUSE_OPENSSL_CERTS=1' \ 107 '-DANDROID' \ 108 '-D__GNU_SOURCE=1' \ 109 '-DUSE_STLPORT=1' \ 110 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 111 '-DCHROME_BUILD_ID=""' \ 112 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 113 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 114 '-D_DEBUG' 115 116 117 # Include paths placed before CFLAGS/CPPFLAGS 118 LOCAL_C_INCLUDES_Debug := \ 119 $(gyp_shared_intermediate_dir) \ 120 $(PWD)/frameworks/wilhelm/include \ 121 $(PWD)/bionic \ 122 $(PWD)/external/stlport/stlport 123 124 125 # Flags passed to only C++ (and not C) files. 126 LOCAL_CPPFLAGS_Debug := \ 127 -fno-exceptions \ 128 -fno-rtti \ 129 -fno-threadsafe-statics \ 130 -fvisibility-inlines-hidden \ 131 -Wno-deprecated \ 132 -std=gnu++11 \ 133 -Wno-narrowing \ 134 -Wno-literal-suffix \ 135 -Wno-non-virtual-dtor \ 136 -Wno-sign-promo \ 137 -Wno-non-virtual-dtor 138 139 140 # Flags passed to both C and C++ files. 141 MY_CFLAGS_Release := \ 142 --param=ssp-buffer-size=4 \ 143 -fno-strict-aliasing \ 144 -Wno-unused-parameter \ 145 -Wno-missing-field-initializers \ 146 -fvisibility=hidden \ 147 -pipe \ 148 -fPIC \ 149 -Wno-unused-local-typedefs \ 150 -Wno-format \ 151 -msse2 \ 152 -mfpmath=sse \ 153 -mmmx \ 154 -m32 \ 155 -ffunction-sections \ 156 -funwind-tables \ 157 -g \ 158 -fno-short-enums \ 159 -finline-limit=64 \ 160 -Wa,--noexecstack \ 161 -U_FORTIFY_SOURCE \ 162 -Wno-extra \ 163 -Wno-ignored-qualifiers \ 164 -Wno-type-limits \ 165 -Wno-unused-but-set-variable \ 166 -fno-stack-protector \ 167 -Wno-address \ 168 -Wno-format-security \ 169 -Wno-return-type \ 170 -Wno-sequence-point \ 171 -Os \ 172 -fno-ident \ 173 -fdata-sections \ 174 -ffunction-sections \ 175 -fomit-frame-pointer \ 176 -funwind-tables 177 178 MY_DEFS_Release := \ 179 '-DV8_DEPRECATION_WARNINGS' \ 180 '-D_FILE_OFFSET_BITS=64' \ 181 '-DNO_TCMALLOC' \ 182 '-DDISABLE_NACL' \ 183 '-DCHROMIUM_BUILD' \ 184 '-DUSE_LIBJPEG_TURBO=1' \ 185 '-DENABLE_WEBRTC=1' \ 186 '-DUSE_PROPRIETARY_CODECS' \ 187 '-DENABLE_BROWSER_CDMS' \ 188 '-DENABLE_CONFIGURATION_POLICY' \ 189 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 190 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 191 '-DENABLE_EGLIMAGE=1' \ 192 '-DCLD_VERSION=1' \ 193 '-DENABLE_PRINTING=1' \ 194 '-DENABLE_MANAGED_USERS=1' \ 195 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 196 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 197 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 198 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 199 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 200 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 201 '-DVIDEO_HOLE=1' \ 202 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 203 '-DUSE_OPENSSL=1' \ 204 '-DUSE_OPENSSL_CERTS=1' \ 205 '-DANDROID' \ 206 '-D__GNU_SOURCE=1' \ 207 '-DUSE_STLPORT=1' \ 208 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 209 '-DCHROME_BUILD_ID=""' \ 210 '-DNDEBUG' \ 211 '-DNVALGRIND' \ 212 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 213 214 215 # Include paths placed before CFLAGS/CPPFLAGS 216 LOCAL_C_INCLUDES_Release := \ 217 $(gyp_shared_intermediate_dir) \ 218 $(PWD)/frameworks/wilhelm/include \ 219 $(PWD)/bionic \ 220 $(PWD)/external/stlport/stlport 221 222 223 # Flags passed to only C++ (and not C) files. 224 LOCAL_CPPFLAGS_Release := \ 225 -fno-exceptions \ 226 -fno-rtti \ 227 -fno-threadsafe-statics \ 228 -fvisibility-inlines-hidden \ 229 -Wno-deprecated \ 230 -std=gnu++11 \ 231 -Wno-narrowing \ 232 -Wno-literal-suffix \ 233 -Wno-non-virtual-dtor \ 234 -Wno-sign-promo \ 235 -Wno-non-virtual-dtor 236 237 238 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 239 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 240 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 241 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 242 ### Rules for final target. 243 # Add target alias to "gyp_all_modules" target. 244 .PHONY: gyp_all_modules 245 gyp_all_modules: third_party_WebKit_Source_devtools_devtools_html_gyp 246 247 # Alias gyp target name. 248 .PHONY: devtools_html 249 devtools_html: third_party_WebKit_Source_devtools_devtools_html_gyp 250 251 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 252 LOCAL_UNINSTALLABLE_MODULE := true 253 LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 254 255 include $(BUILD_SYSTEM)/base_rules.mk 256 257 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 258 $(hide) echo "Gyp timestamp: $@" 259 $(hide) mkdir -p $(dir $@) 260 $(hide) touch $@ 261 262 LOCAL_2ND_ARCH_VAR_PREFIX := 263