Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 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_TAGS := optional |
| 10 | gyp_intermediate_dir := $(call local-intermediates-dir) |
| 11 | gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) |
| 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_intermediate_dir := $(abspath $(gyp_intermediate_dir)) |
| 19 | $(gyp_shared_intermediate_dir)/resources/inspector/devtools.html: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) |
| 20 | $(gyp_shared_intermediate_dir)/resources/inspector/devtools.html: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) |
| 21 | $(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/inspector.html $(GYP_TARGET_DEPENDENCIES) |
| 22 | @echo "Gyp action: third_party_WebKit_Source_devtools_devtools_gyp_devtools_html_target_devtools_html ($@)" |
| 23 | $(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/inspector.html "$(gyp_shared_intermediate_dir)/resources/inspector/devtools.html" 0 |
| 24 | |
| 25 | |
| 26 | |
| 27 | GYP_GENERATED_OUTPUTS := \ |
| 28 | $(gyp_shared_intermediate_dir)/resources/inspector/devtools.html |
| 29 | |
| 30 | # Make sure our deps and generated files are built first. |
| 31 | LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) |
| 32 | |
| 33 | LOCAL_GENERATED_SOURCES := |
| 34 | |
| 35 | GYP_COPIED_SOURCE_ORIGIN_DIRS := |
| 36 | |
| 37 | LOCAL_SRC_FILES := |
| 38 | |
| 39 | |
| 40 | # Flags passed to both C and C++ files. |
Ben Murdoch | 591b958 | 2013-07-10 11:41:44 +0100 | [diff] [blame] | 41 | MY_CFLAGS_Debug := \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 42 | -fstack-protector \ |
| 43 | --param=ssp-buffer-size=4 \ |
| 44 | \ |
| 45 | -fno-exceptions \ |
| 46 | -fno-strict-aliasing \ |
| 47 | -Wno-unused-parameter \ |
| 48 | -Wno-missing-field-initializers \ |
| 49 | -fvisibility=hidden \ |
| 50 | -pipe \ |
| 51 | -fPIC \ |
| 52 | -Wno-format \ |
| 53 | -EL \ |
| 54 | -mhard-float \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 55 | -ffunction-sections \ |
| 56 | -funwind-tables \ |
| 57 | -g \ |
| 58 | -fstack-protector \ |
| 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-address \ |
| 67 | -Wno-format-security \ |
| 68 | -Wno-return-type \ |
| 69 | -Wno-sequence-point \ |
| 70 | -Os \ |
| 71 | -g \ |
| 72 | -fomit-frame-pointer \ |
| 73 | -fdata-sections \ |
| 74 | -ffunction-sections |
| 75 | |
Ben Murdoch | 591b958 | 2013-07-10 11:41:44 +0100 | [diff] [blame] | 76 | MY_DEFS_Debug := \ |
Torne (Richard Coles) | 521d96e | 2013-06-19 11:58:24 +0100 | [diff] [blame] | 77 | '-DANGLE_DX11' \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 78 | '-D_FILE_OFFSET_BITS=64' \ |
| 79 | '-DNO_TCMALLOC' \ |
Ben Murdoch | e69819b | 2013-07-17 14:56:49 +0100 | [diff] [blame^] | 80 | '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| 81 | '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 82 | '-DDISABLE_NACL' \ |
| 83 | '-DCHROMIUM_BUILD' \ |
| 84 | '-DUSE_LIBJPEG_TURBO=1' \ |
| 85 | '-DUSE_PROPRIETARY_CODECS' \ |
| 86 | '-DENABLE_GPU=1' \ |
| 87 | '-DUSE_OPENSSL=1' \ |
| 88 | '-DENABLE_EGLIMAGE=1' \ |
| 89 | '-DENABLE_LANGUAGE_DETECTION=1' \ |
| 90 | '-DANDROID' \ |
| 91 | '-D__GNU_SOURCE=1' \ |
| 92 | '-DUSE_STLPORT=1' \ |
| 93 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 94 | '-DCHROME_BUILD_ID=""' \ |
| 95 | '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ |
| 96 | '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ |
| 97 | '-D_DEBUG' |
| 98 | |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 99 | |
| 100 | # Include paths placed before CFLAGS/CPPFLAGS |
Ben Murdoch | 591b958 | 2013-07-10 11:41:44 +0100 | [diff] [blame] | 101 | LOCAL_C_INCLUDES_Debug := \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 102 | $(PWD)/frameworks/wilhelm/include \ |
| 103 | $(PWD)/bionic \ |
| 104 | $(PWD)/external/stlport/stlport |
| 105 | |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 106 | |
| 107 | # Flags passed to only C++ (and not C) files. |
Ben Murdoch | 591b958 | 2013-07-10 11:41:44 +0100 | [diff] [blame] | 108 | LOCAL_CPPFLAGS_Debug := \ |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 109 | -fno-rtti \ |
| 110 | -fno-threadsafe-statics \ |
| 111 | -fvisibility-inlines-hidden \ |
| 112 | -Wno-deprecated \ |
| 113 | -Wno-uninitialized \ |
| 114 | -Wno-error=c++0x-compat \ |
| 115 | -Wno-non-virtual-dtor \ |
| 116 | -Wno-sign-promo \ |
| 117 | -Wno-non-virtual-dtor |
| 118 | |
Ben Murdoch | 591b958 | 2013-07-10 11:41:44 +0100 | [diff] [blame] | 119 | |
| 120 | # Flags passed to both C and C++ files. |
| 121 | MY_CFLAGS_Release := \ |
| 122 | -fstack-protector \ |
| 123 | --param=ssp-buffer-size=4 \ |
| 124 | \ |
| 125 | -fno-exceptions \ |
| 126 | -fno-strict-aliasing \ |
| 127 | -Wno-unused-parameter \ |
| 128 | -Wno-missing-field-initializers \ |
| 129 | -fvisibility=hidden \ |
| 130 | -pipe \ |
| 131 | -fPIC \ |
| 132 | -Wno-format \ |
| 133 | -EL \ |
| 134 | -mhard-float \ |
| 135 | -ffunction-sections \ |
| 136 | -funwind-tables \ |
| 137 | -g \ |
| 138 | -fstack-protector \ |
| 139 | -fno-short-enums \ |
| 140 | -finline-limit=64 \ |
| 141 | -Wa,--noexecstack \ |
| 142 | -U_FORTIFY_SOURCE \ |
| 143 | -Wno-extra \ |
| 144 | -Wno-ignored-qualifiers \ |
| 145 | -Wno-type-limits \ |
| 146 | -Wno-address \ |
| 147 | -Wno-format-security \ |
| 148 | -Wno-return-type \ |
| 149 | -Wno-sequence-point \ |
| 150 | -Os \ |
| 151 | -fno-ident \ |
| 152 | -fdata-sections \ |
| 153 | -ffunction-sections \ |
| 154 | -fomit-frame-pointer |
| 155 | |
| 156 | MY_DEFS_Release := \ |
| 157 | '-DANGLE_DX11' \ |
| 158 | '-D_FILE_OFFSET_BITS=64' \ |
| 159 | '-DNO_TCMALLOC' \ |
Ben Murdoch | e69819b | 2013-07-17 14:56:49 +0100 | [diff] [blame^] | 160 | '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| 161 | '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
Ben Murdoch | 591b958 | 2013-07-10 11:41:44 +0100 | [diff] [blame] | 162 | '-DDISABLE_NACL' \ |
| 163 | '-DCHROMIUM_BUILD' \ |
| 164 | '-DUSE_LIBJPEG_TURBO=1' \ |
| 165 | '-DUSE_PROPRIETARY_CODECS' \ |
| 166 | '-DENABLE_GPU=1' \ |
| 167 | '-DUSE_OPENSSL=1' \ |
| 168 | '-DENABLE_EGLIMAGE=1' \ |
| 169 | '-DENABLE_LANGUAGE_DETECTION=1' \ |
| 170 | '-DANDROID' \ |
| 171 | '-D__GNU_SOURCE=1' \ |
| 172 | '-DUSE_STLPORT=1' \ |
| 173 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 174 | '-DCHROME_BUILD_ID=""' \ |
| 175 | '-DNDEBUG' \ |
| 176 | '-DNVALGRIND' \ |
| 177 | '-DDYNAMIC_ANNOTATIONS_ENABLED=0' |
| 178 | |
| 179 | |
| 180 | # Include paths placed before CFLAGS/CPPFLAGS |
| 181 | LOCAL_C_INCLUDES_Release := \ |
| 182 | $(PWD)/frameworks/wilhelm/include \ |
| 183 | $(PWD)/bionic \ |
| 184 | $(PWD)/external/stlport/stlport |
| 185 | |
| 186 | |
| 187 | # Flags passed to only C++ (and not C) files. |
| 188 | LOCAL_CPPFLAGS_Release := \ |
| 189 | -fno-rtti \ |
| 190 | -fno-threadsafe-statics \ |
| 191 | -fvisibility-inlines-hidden \ |
| 192 | -Wno-deprecated \ |
| 193 | -Wno-uninitialized \ |
| 194 | -Wno-error=c++0x-compat \ |
| 195 | -Wno-non-virtual-dtor \ |
| 196 | -Wno-sign-promo \ |
| 197 | -Wno-non-virtual-dtor |
| 198 | |
| 199 | |
| 200 | LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) |
| 201 | LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) |
| 202 | LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) |
Torne (Richard Coles) | 23042b7 | 2013-06-11 16:24:26 +0100 | [diff] [blame] | 203 | ### Rules for final target. |
| 204 | # Add target alias to "gyp_all_modules" target. |
| 205 | .PHONY: gyp_all_modules |
| 206 | gyp_all_modules: third_party_WebKit_Source_devtools_devtools_html_gyp |
| 207 | |
| 208 | # Alias gyp target name. |
| 209 | .PHONY: devtools_html |
| 210 | devtools_html: third_party_WebKit_Source_devtools_devtools_html_gyp |
| 211 | |
| 212 | LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp |
| 213 | LOCAL_UNINSTALLABLE_MODULE := true |
| 214 | |
| 215 | include $(BUILD_SYSTEM)/base_rules.mk |
| 216 | |
| 217 | $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) |
| 218 | $(hide) echo "Gyp timestamp: $@" |
| 219 | $(hide) mkdir -p $(dir $@) |
| 220 | $(hide) touch $@ |