1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := GYP 6 LOCAL_MODULE := base_base_java_application_state_gyp 7 LOCAL_MODULE_STEM := base_java_application_state 8 LOCAL_MODULE_SUFFIX := .stamp 9 LOCAL_MODULE_TAGS := optional 10 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 11 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_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 18 ### Generated for rule "base_base_gyp_base_java_application_state_target_generate_java_constants": 19 # "{'inputs': ['../build/android/gyp/util/build_utils.py', '../build/android/gyp/gcc_preprocess.py', 'android/application_state_list.h'], 'extension': 'template', 'outputs': ['$(gyp_shared_intermediate_dir)/templates/org/chromium/base/%(INPUT_ROOT)s.java'], 'variables': {'output_path': '$(gyp_shared_intermediate_dir)/templates/org/chromium/base/%(INPUT_ROOT)s.java'}, 'rule_name': 'generate_java_constants', 'rule_sources': ['android/java/src/org/chromium/base/ApplicationState.template'], 'action': ['python', '../build/android/gyp/gcc_preprocess.py', '--include-path=..', '--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/base/%(INPUT_ROOT)s.java', '--template=$(RULE_SOURCES)'], 'message': 'Generating Java from cpp template $(RULE_SOURCES)'}": 20 $(gyp_shared_intermediate_dir)/templates/org/chromium/base/ApplicationState.java: gyp_local_path := $(LOCAL_PATH) 21 $(gyp_shared_intermediate_dir)/templates/org/chromium/base/ApplicationState.java: gyp_var_prefix := $(GYP_VAR_PREFIX) 22 $(gyp_shared_intermediate_dir)/templates/org/chromium/base/ApplicationState.java: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 23 $(gyp_shared_intermediate_dir)/templates/org/chromium/base/ApplicationState.java: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 24 $(gyp_shared_intermediate_dir)/templates/org/chromium/base/ApplicationState.java: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 25 $(gyp_shared_intermediate_dir)/templates/org/chromium/base/ApplicationState.java: $(LOCAL_PATH)/base/android/java/src/org/chromium/base/ApplicationState.template $(LOCAL_PATH)/build/android/gyp/util/build_utils.py $(LOCAL_PATH)/build/android/gyp/gcc_preprocess.py $(LOCAL_PATH)/base/android/application_state_list.h $(GYP_TARGET_DEPENDENCIES) 26 mkdir -p $(gyp_shared_intermediate_dir)/templates/org/chromium/base; cd $(gyp_local_path)/base; python ../build/android/gyp/gcc_preprocess.py "--include-path=.." "--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/base/ApplicationState.java" "--template=android/java/src/org/chromium/base/ApplicationState.template" 27 28 29 30 GYP_GENERATED_OUTPUTS := \ 31 $(gyp_shared_intermediate_dir)/templates/org/chromium/base/ApplicationState.java 32 33 # Make sure our deps and generated files are built first. 34 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 35 36 LOCAL_GENERATED_SOURCES := 37 38 GYP_COPIED_SOURCE_ORIGIN_DIRS := 39 40 LOCAL_SRC_FILES := 41 42 43 # Flags passed to both C and C++ files. 44 MY_CFLAGS_Debug := \ 45 --param=ssp-buffer-size=4 \ 46 -Werror \ 47 -fno-exceptions \ 48 -fno-strict-aliasing \ 49 -Wall \ 50 -Wno-unused-parameter \ 51 -Wno-missing-field-initializers \ 52 -fvisibility=hidden \ 53 -pipe \ 54 -fPIC \ 55 -Wno-unused-local-typedefs \ 56 -msse2 \ 57 -mfpmath=sse \ 58 -mmmx \ 59 -m32 \ 60 -ffunction-sections \ 61 -funwind-tables \ 62 -g \ 63 -fno-short-enums \ 64 -finline-limit=64 \ 65 -Wa,--noexecstack \ 66 -U_FORTIFY_SOURCE \ 67 -Wno-extra \ 68 -Wno-ignored-qualifiers \ 69 -Wno-type-limits \ 70 -Wno-unused-but-set-variable \ 71 -fno-stack-protector \ 72 -Os \ 73 -g \ 74 -fdata-sections \ 75 -ffunction-sections \ 76 -fomit-frame-pointer \ 77 -funwind-tables 78 79 MY_DEFS_Debug := \ 80 '-DV8_DEPRECATION_WARNINGS' \ 81 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 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="http://proxy-dev.googlezip.net:80/"' \ 99 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 100 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 101 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 102 '-DVIDEO_HOLE=1' \ 103 '-DUSE_OPENSSL=1' \ 104 '-DUSE_OPENSSL_CERTS=1' \ 105 '-D__STDC_CONSTANT_MACROS' \ 106 '-D__STDC_FORMAT_MACROS' \ 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-rtti \ 128 -fno-threadsafe-statics \ 129 -fvisibility-inlines-hidden \ 130 -Wsign-compare \ 131 -Wno-non-virtual-dtor \ 132 -Wno-sign-promo 133 134 135 LOCAL_FDO_SUPPORT_Debug := false 136 137 # Flags passed to both C and C++ files. 138 MY_CFLAGS_Release := \ 139 --param=ssp-buffer-size=4 \ 140 -Werror \ 141 -fno-exceptions \ 142 -fno-strict-aliasing \ 143 -Wall \ 144 -Wno-unused-parameter \ 145 -Wno-missing-field-initializers \ 146 -fvisibility=hidden \ 147 -pipe \ 148 -fPIC \ 149 -Wno-unused-local-typedefs \ 150 -msse2 \ 151 -mfpmath=sse \ 152 -mmmx \ 153 -m32 \ 154 -ffunction-sections \ 155 -funwind-tables \ 156 -g \ 157 -fno-short-enums \ 158 -finline-limit=64 \ 159 -Wa,--noexecstack \ 160 -U_FORTIFY_SOURCE \ 161 -Wno-extra \ 162 -Wno-ignored-qualifiers \ 163 -Wno-type-limits \ 164 -Wno-unused-but-set-variable \ 165 -fno-stack-protector \ 166 -Os \ 167 -fno-ident \ 168 -fdata-sections \ 169 -ffunction-sections \ 170 -fomit-frame-pointer \ 171 -funwind-tables 172 173 MY_DEFS_Release := \ 174 '-DV8_DEPRECATION_WARNINGS' \ 175 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 176 '-D_FILE_OFFSET_BITS=64' \ 177 '-DNO_TCMALLOC' \ 178 '-DDISABLE_NACL' \ 179 '-DCHROMIUM_BUILD' \ 180 '-DUSE_LIBJPEG_TURBO=1' \ 181 '-DENABLE_WEBRTC=1' \ 182 '-DUSE_PROPRIETARY_CODECS' \ 183 '-DENABLE_BROWSER_CDMS' \ 184 '-DENABLE_CONFIGURATION_POLICY' \ 185 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 186 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 187 '-DENABLE_EGLIMAGE=1' \ 188 '-DCLD_VERSION=1' \ 189 '-DENABLE_PRINTING=1' \ 190 '-DENABLE_MANAGED_USERS=1' \ 191 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 192 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 193 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 194 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 195 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 196 '-DVIDEO_HOLE=1' \ 197 '-DUSE_OPENSSL=1' \ 198 '-DUSE_OPENSSL_CERTS=1' \ 199 '-D__STDC_CONSTANT_MACROS' \ 200 '-D__STDC_FORMAT_MACROS' \ 201 '-DANDROID' \ 202 '-D__GNU_SOURCE=1' \ 203 '-DUSE_STLPORT=1' \ 204 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 205 '-DCHROME_BUILD_ID=""' \ 206 '-DNDEBUG' \ 207 '-DNVALGRIND' \ 208 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 209 '-D_FORTIFY_SOURCE=2' 210 211 212 # Include paths placed before CFLAGS/CPPFLAGS 213 LOCAL_C_INCLUDES_Release := \ 214 $(gyp_shared_intermediate_dir) \ 215 $(PWD)/frameworks/wilhelm/include \ 216 $(PWD)/bionic \ 217 $(PWD)/external/stlport/stlport 218 219 220 # Flags passed to only C++ (and not C) files. 221 LOCAL_CPPFLAGS_Release := \ 222 -fno-rtti \ 223 -fno-threadsafe-statics \ 224 -fvisibility-inlines-hidden \ 225 -Wsign-compare \ 226 -Wno-non-virtual-dtor \ 227 -Wno-sign-promo 228 229 230 LOCAL_FDO_SUPPORT_Release := false 231 232 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 233 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 234 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 235 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 236 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 237 ### Rules for final target. 238 # Add target alias to "gyp_all_modules" target. 239 .PHONY: gyp_all_modules 240 gyp_all_modules: base_base_java_application_state_gyp 241 242 # Alias gyp target name. 243 .PHONY: base_java_application_state 244 base_java_application_state: base_base_java_application_state_gyp 245 246 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 247 LOCAL_UNINSTALLABLE_MODULE := true 248 LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 249 250 include $(BUILD_SYSTEM)/base_rules.mk 251 252 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 253 $(hide) echo "Gyp timestamp: $@" 254 $(hide) mkdir -p $(dir $@) 255 $(hide) touch $@ 256 257 LOCAL_2ND_ARCH_VAR_PREFIX := 258