Home | History | Annotate | Download | only in child
      1 # This file is generated by gyp; do not edit.
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE_CLASS := GYP
      6 LOCAL_MODULE := webkit_child_overscroller_jni_headers_gyp
      7 LOCAL_MODULE_STEM := overscroller_jni_headers
      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 "generate_jni_headers_from_jar_file":
     17 $(gyp_shared_intermediate_dir)/webkit/jni/OverScroller_jni.h: gyp_local_path := $(LOCAL_PATH)
     18 $(gyp_shared_intermediate_dir)/webkit/jni/OverScroller_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     19 $(gyp_shared_intermediate_dir)/webkit/jni/OverScroller_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     20 $(gyp_shared_intermediate_dir)/webkit/jni/OverScroller_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     21 $(gyp_shared_intermediate_dir)/webkit/jni/OverScroller_jni.h: $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(PWD)/prebuilts/sdk/18/android.jar $(GYP_TARGET_DEPENDENCIES)
     22 	@echo "Gyp action: Generating JNI bindings from  $(PWD)/prebuilts/sdk/18/android.jar/android/widget/OverScroller.class ($@)"
     23 	$(hide)cd $(gyp_local_path)/webkit/child; mkdir -p $(gyp_shared_intermediate_dir)/webkit/jni; ../../base/android/jni_generator/jni_generator.py -j "$(PWD)/prebuilts/sdk/18/android.jar" --input_file android/widget/OverScroller.class --output_dir "$(gyp_shared_intermediate_dir)/webkit/jni" --optimize_generation 0
     24 
     25 
     26 
     27 GYP_GENERATED_OUTPUTS := \
     28 	$(gyp_shared_intermediate_dir)/webkit/jni/OverScroller_jni.h
     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 	$(gyp_shared_intermediate_dir)/webkit/jni/OverScroller_jni.h
     35 
     36 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     37 
     38 LOCAL_SRC_FILES :=
     39 
     40 
     41 # Flags passed to both C and C++ files.
     42 MY_CFLAGS_Debug := \
     43 	-fstack-protector \
     44 	--param=ssp-buffer-size=4 \
     45 	 \
     46 	-fno-exceptions \
     47 	-fno-strict-aliasing \
     48 	-Wall \
     49 	-Wno-unused-parameter \
     50 	-Wno-missing-field-initializers \
     51 	-fvisibility=hidden \
     52 	-pipe \
     53 	-fPIC \
     54 	-EL \
     55 	-mhard-float \
     56 	-ffunction-sections \
     57 	-funwind-tables \
     58 	-g \
     59 	-fstack-protector \
     60 	-fno-short-enums \
     61 	-finline-limit=64 \
     62 	-Wa,--noexecstack \
     63 	-U_FORTIFY_SOURCE \
     64 	-Wno-extra \
     65 	-Wno-ignored-qualifiers \
     66 	-Wno-type-limits \
     67 	-Os \
     68 	-g \
     69 	-fomit-frame-pointer \
     70 	-fdata-sections \
     71 	-ffunction-sections
     72 
     73 MY_DEFS_Debug := \
     74 	'-DV8_DEPRECATION_WARNINGS' \
     75 	'-D_FILE_OFFSET_BITS=64' \
     76 	'-DNO_TCMALLOC' \
     77 	'-DDISABLE_NACL' \
     78 	'-DCHROMIUM_BUILD' \
     79 	'-DUSE_LIBJPEG_TURBO=1' \
     80 	'-DUSE_PROPRIETARY_CODECS' \
     81 	'-DENABLE_CONFIGURATION_POLICY' \
     82 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     83 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     84 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
     85 	'-DUSE_OPENSSL=1' \
     86 	'-DENABLE_EGLIMAGE=1' \
     87 	'-DCLD_VERSION=1' \
     88 	'-DENABLE_PRINTING=1' \
     89 	'-DENABLE_MANAGED_USERS=1' \
     90 	'-D__STDC_CONSTANT_MACROS' \
     91 	'-D__STDC_FORMAT_MACROS' \
     92 	'-DANDROID' \
     93 	'-D__GNU_SOURCE=1' \
     94 	'-DUSE_STLPORT=1' \
     95 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
     96 	'-DCHROME_BUILD_ID=""' \
     97 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
     98 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
     99 	'-D_DEBUG'
    100 
    101 
    102 # Include paths placed before CFLAGS/CPPFLAGS
    103 LOCAL_C_INCLUDES_Debug := \
    104 	$(PWD)/frameworks/wilhelm/include \
    105 	$(PWD)/bionic \
    106 	$(PWD)/external/stlport/stlport
    107 
    108 
    109 # Flags passed to only C++ (and not C) files.
    110 LOCAL_CPPFLAGS_Debug := \
    111 	-fno-rtti \
    112 	-fno-threadsafe-statics \
    113 	-fvisibility-inlines-hidden \
    114 	-Wsign-compare \
    115 	-Wno-uninitialized \
    116 	-Wno-error=c++0x-compat \
    117 	-Wno-non-virtual-dtor \
    118 	-Wno-sign-promo
    119 
    120 
    121 # Flags passed to both C and C++ files.
    122 MY_CFLAGS_Release := \
    123 	-fstack-protector \
    124 	--param=ssp-buffer-size=4 \
    125 	 \
    126 	-fno-exceptions \
    127 	-fno-strict-aliasing \
    128 	-Wall \
    129 	-Wno-unused-parameter \
    130 	-Wno-missing-field-initializers \
    131 	-fvisibility=hidden \
    132 	-pipe \
    133 	-fPIC \
    134 	-EL \
    135 	-mhard-float \
    136 	-ffunction-sections \
    137 	-funwind-tables \
    138 	-g \
    139 	-fstack-protector \
    140 	-fno-short-enums \
    141 	-finline-limit=64 \
    142 	-Wa,--noexecstack \
    143 	-U_FORTIFY_SOURCE \
    144 	-Wno-extra \
    145 	-Wno-ignored-qualifiers \
    146 	-Wno-type-limits \
    147 	-Os \
    148 	-fno-ident \
    149 	-fdata-sections \
    150 	-ffunction-sections \
    151 	-fomit-frame-pointer
    152 
    153 MY_DEFS_Release := \
    154 	'-DV8_DEPRECATION_WARNINGS' \
    155 	'-D_FILE_OFFSET_BITS=64' \
    156 	'-DNO_TCMALLOC' \
    157 	'-DDISABLE_NACL' \
    158 	'-DCHROMIUM_BUILD' \
    159 	'-DUSE_LIBJPEG_TURBO=1' \
    160 	'-DUSE_PROPRIETARY_CODECS' \
    161 	'-DENABLE_CONFIGURATION_POLICY' \
    162 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    163 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    164 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    165 	'-DUSE_OPENSSL=1' \
    166 	'-DENABLE_EGLIMAGE=1' \
    167 	'-DCLD_VERSION=1' \
    168 	'-DENABLE_PRINTING=1' \
    169 	'-DENABLE_MANAGED_USERS=1' \
    170 	'-D__STDC_CONSTANT_MACROS' \
    171 	'-D__STDC_FORMAT_MACROS' \
    172 	'-DANDROID' \
    173 	'-D__GNU_SOURCE=1' \
    174 	'-DUSE_STLPORT=1' \
    175 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    176 	'-DCHROME_BUILD_ID=""' \
    177 	'-DNDEBUG' \
    178 	'-DNVALGRIND' \
    179 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    180 	'-D_FORTIFY_SOURCE=2'
    181 
    182 
    183 # Include paths placed before CFLAGS/CPPFLAGS
    184 LOCAL_C_INCLUDES_Release := \
    185 	$(PWD)/frameworks/wilhelm/include \
    186 	$(PWD)/bionic \
    187 	$(PWD)/external/stlport/stlport
    188 
    189 
    190 # Flags passed to only C++ (and not C) files.
    191 LOCAL_CPPFLAGS_Release := \
    192 	-fno-rtti \
    193 	-fno-threadsafe-statics \
    194 	-fvisibility-inlines-hidden \
    195 	-Wsign-compare \
    196 	-Wno-uninitialized \
    197 	-Wno-error=c++0x-compat \
    198 	-Wno-non-virtual-dtor \
    199 	-Wno-sign-promo
    200 
    201 
    202 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    203 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    204 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    205 ### Rules for final target.
    206 # Add target alias to "gyp_all_modules" target.
    207 .PHONY: gyp_all_modules
    208 gyp_all_modules: webkit_child_overscroller_jni_headers_gyp
    209 
    210 # Alias gyp target name.
    211 .PHONY: overscroller_jni_headers
    212 overscroller_jni_headers: webkit_child_overscroller_jni_headers_gyp
    213 
    214 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
    215 LOCAL_UNINSTALLABLE_MODULE := true
    216 
    217 include $(BUILD_SYSTEM)/base_rules.mk
    218 
    219 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
    220 	$(hide) echo "Gyp timestamp: $@"
    221 	$(hide) mkdir -p $(dir $@)
    222 	$(hide) touch $@
    223