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 -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 -Os \ 68 -g \ 69 -fdata-sections \ 70 -ffunction-sections \ 71 -funwind-tables 72 73 MY_DEFS_Debug := \ 74 '-DV8_DEPRECATION_WARNINGS' \ 75 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 76 '-D_FILE_OFFSET_BITS=64' \ 77 '-DNO_TCMALLOC' \ 78 '-DDISABLE_NACL' \ 79 '-DCHROMIUM_BUILD' \ 80 '-DUSE_LIBJPEG_TURBO=1' \ 81 '-DENABLE_WEBRTC=1' \ 82 '-DUSE_PROPRIETARY_CODECS' \ 83 '-DENABLE_BROWSER_CDMS' \ 84 '-DENABLE_CONFIGURATION_POLICY' \ 85 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 86 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 87 '-DENABLE_EGLIMAGE=1' \ 88 '-DCLD_VERSION=1' \ 89 '-DENABLE_PRINTING=1' \ 90 '-DENABLE_MANAGED_USERS=1' \ 91 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 92 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 93 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 94 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 95 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 96 '-DVIDEO_HOLE=1' \ 97 '-DUSE_OPENSSL=1' \ 98 '-DUSE_OPENSSL_CERTS=1' \ 99 '-D__STDC_CONSTANT_MACROS' \ 100 '-D__STDC_FORMAT_MACROS' \ 101 '-DANDROID' \ 102 '-D__GNU_SOURCE=1' \ 103 '-DUSE_STLPORT=1' \ 104 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 105 '-DCHROME_BUILD_ID=""' \ 106 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 107 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 108 '-D_DEBUG' 109 110 111 # Include paths placed before CFLAGS/CPPFLAGS 112 LOCAL_C_INCLUDES_Debug := \ 113 $(gyp_shared_intermediate_dir) \ 114 $(PWD)/frameworks/wilhelm/include \ 115 $(PWD)/bionic \ 116 $(PWD)/external/stlport/stlport 117 118 119 # Flags passed to only C++ (and not C) files. 120 LOCAL_CPPFLAGS_Debug := \ 121 -fno-rtti \ 122 -fno-threadsafe-statics \ 123 -fvisibility-inlines-hidden \ 124 -Wsign-compare \ 125 -Wno-non-virtual-dtor \ 126 -Wno-sign-promo 127 128 129 LOCAL_FDO_SUPPORT_Debug := false 130 131 # Flags passed to both C and C++ files. 132 MY_CFLAGS_Release := \ 133 --param=ssp-buffer-size=4 \ 134 -Werror \ 135 -fno-exceptions \ 136 -fno-strict-aliasing \ 137 -Wall \ 138 -Wno-unused-parameter \ 139 -Wno-missing-field-initializers \ 140 -fvisibility=hidden \ 141 -pipe \ 142 -fPIC \ 143 -Wno-unused-local-typedefs \ 144 -ffunction-sections \ 145 -funwind-tables \ 146 -g \ 147 -fno-short-enums \ 148 -finline-limit=64 \ 149 -Wa,--noexecstack \ 150 -U_FORTIFY_SOURCE \ 151 -Wno-extra \ 152 -Wno-ignored-qualifiers \ 153 -Wno-type-limits \ 154 -Wno-unused-but-set-variable \ 155 -Os \ 156 -fno-ident \ 157 -fdata-sections \ 158 -ffunction-sections \ 159 -funwind-tables 160 161 MY_DEFS_Release := \ 162 '-DV8_DEPRECATION_WARNINGS' \ 163 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 164 '-D_FILE_OFFSET_BITS=64' \ 165 '-DNO_TCMALLOC' \ 166 '-DDISABLE_NACL' \ 167 '-DCHROMIUM_BUILD' \ 168 '-DUSE_LIBJPEG_TURBO=1' \ 169 '-DENABLE_WEBRTC=1' \ 170 '-DUSE_PROPRIETARY_CODECS' \ 171 '-DENABLE_BROWSER_CDMS' \ 172 '-DENABLE_CONFIGURATION_POLICY' \ 173 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 174 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 175 '-DENABLE_EGLIMAGE=1' \ 176 '-DCLD_VERSION=1' \ 177 '-DENABLE_PRINTING=1' \ 178 '-DENABLE_MANAGED_USERS=1' \ 179 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 180 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 181 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 182 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 183 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 184 '-DVIDEO_HOLE=1' \ 185 '-DUSE_OPENSSL=1' \ 186 '-DUSE_OPENSSL_CERTS=1' \ 187 '-D__STDC_CONSTANT_MACROS' \ 188 '-D__STDC_FORMAT_MACROS' \ 189 '-DANDROID' \ 190 '-D__GNU_SOURCE=1' \ 191 '-DUSE_STLPORT=1' \ 192 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 193 '-DCHROME_BUILD_ID=""' \ 194 '-DNDEBUG' \ 195 '-DNVALGRIND' \ 196 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 197 '-D_FORTIFY_SOURCE=2' 198 199 200 # Include paths placed before CFLAGS/CPPFLAGS 201 LOCAL_C_INCLUDES_Release := \ 202 $(gyp_shared_intermediate_dir) \ 203 $(PWD)/frameworks/wilhelm/include \ 204 $(PWD)/bionic \ 205 $(PWD)/external/stlport/stlport 206 207 208 # Flags passed to only C++ (and not C) files. 209 LOCAL_CPPFLAGS_Release := \ 210 -fno-rtti \ 211 -fno-threadsafe-statics \ 212 -fvisibility-inlines-hidden \ 213 -Wsign-compare \ 214 -Wno-non-virtual-dtor \ 215 -Wno-sign-promo 216 217 218 LOCAL_FDO_SUPPORT_Release := false 219 220 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 221 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 222 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 223 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 224 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 225 ### Rules for final target. 226 # Add target alias to "gyp_all_modules" target. 227 .PHONY: gyp_all_modules 228 gyp_all_modules: base_base_java_application_state_gyp 229 230 # Alias gyp target name. 231 .PHONY: base_java_application_state 232 base_java_application_state: base_base_java_application_state_gyp 233 234 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp 235 LOCAL_UNINSTALLABLE_MODULE := true 236 LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX) 237 238 include $(BUILD_SYSTEM)/base_rules.mk 239 240 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES) 241 $(hide) echo "Gyp timestamp: $@" 242 $(hide) mkdir -p $(dir $@) 243 $(hide) touch $@ 244 245 LOCAL_2ND_ARCH_VAR_PREFIX := 246