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