Home | History | Annotate | Download | only in net
      1 # This file is generated by gyp; do not edit.
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE_CLASS := GYP
      6 LOCAL_MODULE := net_cert_verify_result_android_java_gyp
      7 LOCAL_MODULE_STEM := cert_verify_result_android_java
      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 
     17 ### Generated for rule "net_net_gyp_cert_verify_result_android_java_target_generate_java_constants":
     18 # "{'inputs': ['../build/android/gyp/util/build_utils.py', '../build/android/gyp/gcc_preprocess.py', 'android/cert_verify_result_android_list.h'], 'extension': 'template', 'outputs': ['$(gyp_shared_intermediate_dir)/templates/org/chromium/net/%(INPUT_ROOT)s.java'], 'variables': {'output_path': '$(gyp_shared_intermediate_dir)/templates/org/chromium/net/%(INPUT_ROOT)s.java'}, 'rule_name': 'generate_java_constants', 'rule_sources': ['android/java/CertVerifyResultAndroid.template'], 'action': ['python', '../build/android/gyp/gcc_preprocess.py', '--include-path=..', '--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/net/%(INPUT_ROOT)s.java', '--template=$(RULE_SOURCES)'], 'message': 'Generating Java from cpp template $(RULE_SOURCES)'}":
     19 $(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyResultAndroid.java: gyp_local_path := $(LOCAL_PATH)
     20 $(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyResultAndroid.java: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     21 $(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyResultAndroid.java: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     22 $(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyResultAndroid.java: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     23 $(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyResultAndroid.java: $(LOCAL_PATH)/net/android/java/CertVerifyResultAndroid.template $(LOCAL_PATH)/build/android/gyp/util/build_utils.py $(LOCAL_PATH)/build/android/gyp/gcc_preprocess.py $(LOCAL_PATH)/net/android/cert_verify_result_android_list.h $(GYP_TARGET_DEPENDENCIES)
     24 	mkdir -p $(gyp_shared_intermediate_dir)/templates/org/chromium/net; cd $(gyp_local_path)/net; python ../build/android/gyp/gcc_preprocess.py "--include-path=.." "--output=$(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyResultAndroid.java" "--template=android/java/CertVerifyResultAndroid.template"
     25 
     26 .PHONY: net_cert_verify_result_android_java_gyp_rule_trigger
     27 net_cert_verify_result_android_java_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyResultAndroid.java
     28 
     29 ### Finished generating for all rules
     30 
     31 GYP_GENERATED_OUTPUTS := \
     32 	$(gyp_shared_intermediate_dir)/templates/org/chromium/net/CertVerifyResultAndroid.java
     33 
     34 # Make sure our deps and generated files are built first.
     35 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     36 
     37 LOCAL_GENERATED_SOURCES := \
     38 	net_cert_verify_result_android_java_gyp_rule_trigger
     39 
     40 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     41 
     42 LOCAL_SRC_FILES :=
     43 
     44 
     45 # Flags passed to both C and C++ files.
     46 MY_CFLAGS_Debug := \
     47 	--param=ssp-buffer-size=4 \
     48 	-Werror \
     49 	-fno-exceptions \
     50 	-fno-strict-aliasing \
     51 	-Wall \
     52 	-Wno-unused-parameter \
     53 	-Wno-missing-field-initializers \
     54 	-fvisibility=hidden \
     55 	-pipe \
     56 	-fPIC \
     57 	-m32 \
     58 	-mmmx \
     59 	-march=pentium4 \
     60 	-msse2 \
     61 	-mfpmath=sse \
     62 	-fuse-ld=gold \
     63 	-ffunction-sections \
     64 	-funwind-tables \
     65 	-g \
     66 	-fno-short-enums \
     67 	-finline-limit=64 \
     68 	-Wa,--noexecstack \
     69 	-U_FORTIFY_SOURCE \
     70 	-Wno-extra \
     71 	-Wno-ignored-qualifiers \
     72 	-Wno-type-limits \
     73 	-fno-stack-protector \
     74 	-Os \
     75 	-g \
     76 	-fomit-frame-pointer \
     77 	-fdata-sections \
     78 	-ffunction-sections
     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 	'-DUSE_PROPRIETARY_CODECS' \
     88 	'-DENABLE_CONFIGURATION_POLICY' \
     89 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     90 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     91 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
     92 	'-DUSE_OPENSSL=1' \
     93 	'-DENABLE_EGLIMAGE=1' \
     94 	'-DCLD_VERSION=1' \
     95 	'-DENABLE_PRINTING=1' \
     96 	'-DENABLE_MANAGED_USERS=1' \
     97 	'-D__STDC_CONSTANT_MACROS' \
     98 	'-D__STDC_FORMAT_MACROS' \
     99 	'-DANDROID' \
    100 	'-D__GNU_SOURCE=1' \
    101 	'-DUSE_STLPORT=1' \
    102 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    103 	'-DCHROME_BUILD_ID=""' \
    104 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    105 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    106 	'-D_DEBUG'
    107 
    108 
    109 # Include paths placed before CFLAGS/CPPFLAGS
    110 LOCAL_C_INCLUDES_Debug := \
    111 	$(PWD)/frameworks/wilhelm/include \
    112 	$(PWD)/bionic \
    113 	$(PWD)/external/stlport/stlport
    114 
    115 
    116 # Flags passed to only C++ (and not C) files.
    117 LOCAL_CPPFLAGS_Debug := \
    118 	-fno-rtti \
    119 	-fno-threadsafe-statics \
    120 	-fvisibility-inlines-hidden \
    121 	-Wsign-compare \
    122 	-Wno-error=c++0x-compat \
    123 	-Wno-non-virtual-dtor \
    124 	-Wno-sign-promo
    125 
    126 
    127 # Flags passed to both C and C++ files.
    128 MY_CFLAGS_Release := \
    129 	--param=ssp-buffer-size=4 \
    130 	-Werror \
    131 	-fno-exceptions \
    132 	-fno-strict-aliasing \
    133 	-Wall \
    134 	-Wno-unused-parameter \
    135 	-Wno-missing-field-initializers \
    136 	-fvisibility=hidden \
    137 	-pipe \
    138 	-fPIC \
    139 	-m32 \
    140 	-mmmx \
    141 	-march=pentium4 \
    142 	-msse2 \
    143 	-mfpmath=sse \
    144 	-fuse-ld=gold \
    145 	-ffunction-sections \
    146 	-funwind-tables \
    147 	-g \
    148 	-fno-short-enums \
    149 	-finline-limit=64 \
    150 	-Wa,--noexecstack \
    151 	-U_FORTIFY_SOURCE \
    152 	-Wno-extra \
    153 	-Wno-ignored-qualifiers \
    154 	-Wno-type-limits \
    155 	-fno-stack-protector \
    156 	-Os \
    157 	-fno-ident \
    158 	-fdata-sections \
    159 	-ffunction-sections \
    160 	-fomit-frame-pointer \
    161 	-fno-unwind-tables \
    162 	-fno-asynchronous-unwind-tables
    163 
    164 MY_DEFS_Release := \
    165 	'-DV8_DEPRECATION_WARNINGS' \
    166 	'-D_FILE_OFFSET_BITS=64' \
    167 	'-DNO_TCMALLOC' \
    168 	'-DDISABLE_NACL' \
    169 	'-DCHROMIUM_BUILD' \
    170 	'-DUSE_LIBJPEG_TURBO=1' \
    171 	'-DUSE_PROPRIETARY_CODECS' \
    172 	'-DENABLE_CONFIGURATION_POLICY' \
    173 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    174 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    175 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    176 	'-DUSE_OPENSSL=1' \
    177 	'-DENABLE_EGLIMAGE=1' \
    178 	'-DCLD_VERSION=1' \
    179 	'-DENABLE_PRINTING=1' \
    180 	'-DENABLE_MANAGED_USERS=1' \
    181 	'-D__STDC_CONSTANT_MACROS' \
    182 	'-D__STDC_FORMAT_MACROS' \
    183 	'-DANDROID' \
    184 	'-D__GNU_SOURCE=1' \
    185 	'-DUSE_STLPORT=1' \
    186 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    187 	'-DCHROME_BUILD_ID=""' \
    188 	'-DNDEBUG' \
    189 	'-DNVALGRIND' \
    190 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    191 	'-D_FORTIFY_SOURCE=2'
    192 
    193 
    194 # Include paths placed before CFLAGS/CPPFLAGS
    195 LOCAL_C_INCLUDES_Release := \
    196 	$(PWD)/frameworks/wilhelm/include \
    197 	$(PWD)/bionic \
    198 	$(PWD)/external/stlport/stlport
    199 
    200 
    201 # Flags passed to only C++ (and not C) files.
    202 LOCAL_CPPFLAGS_Release := \
    203 	-fno-rtti \
    204 	-fno-threadsafe-statics \
    205 	-fvisibility-inlines-hidden \
    206 	-Wsign-compare \
    207 	-Wno-error=c++0x-compat \
    208 	-Wno-non-virtual-dtor \
    209 	-Wno-sign-promo
    210 
    211 
    212 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    213 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    214 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    215 ### Rules for final target.
    216 # Add target alias to "gyp_all_modules" target.
    217 .PHONY: gyp_all_modules
    218 gyp_all_modules: net_cert_verify_result_android_java_gyp
    219 
    220 # Alias gyp target name.
    221 .PHONY: cert_verify_result_android_java
    222 cert_verify_result_android_java: net_cert_verify_result_android_java_gyp
    223 
    224 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
    225 LOCAL_UNINSTALLABLE_MODULE := true
    226 
    227 include $(BUILD_SYSTEM)/base_rules.mk
    228 
    229 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
    230 	$(hide) echo "Gyp timestamp: $@"
    231 	$(hide) mkdir -p $(dir $@)
    232 	$(hide) touch $@
    233