Home | History | Annotate | Download | only in components
      1 # This file is generated by gyp; do not edit.
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE_CLASS := GYP
      6 LOCAL_MODULE := components_web_contents_delegate_android_jni_headers_gyp
      7 LOCAL_MODULE_STEM := web_contents_delegate_android_jni_headers
      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 	$(call intermediates-dir-for,GYP,build_android_android_exports_gyp,,,$(GYP_VAR_PREFIX))/android_exports.stamp
     17 
     18 
     19 ### Generated for rule "components_components_gyp_web_contents_delegate_android_jni_headers_target_generate_jni_headers":
     20 # "{'inputs': ['../base/android/jni_generator/jni_generator.py', '../android_webview/build/jarjar-rules.txt'], 'process_outputs_as_sources': '1', 'extension': 'java', 'outputs': ['$(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/%(INPUT_ROOT)s_jni.h'], 'rule_name': 'generate_jni_headers', 'rule_sources': ['web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java', 'web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java', 'web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java'], 'action': ['../base/android/jni_generator/jni_generator.py', '--input_file', '$(RULE_SOURCES)', '--output_dir', '$(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni', '--includes', 'base/android/jni_generator/jni_generator_helper.h', '--optimize_generation', '0', '--jarjar', '../android_webview/build/jarjar-rules.txt', '--ptr_type', 'long', '--native_exports'], 'message': 'Generating JNI bindings from $(RULE_SOURCES)'}":
     21 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h: gyp_local_path := $(LOCAL_PATH)
     22 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
     23 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     24 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     25 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     26 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h: $(LOCAL_PATH)/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
     27 	mkdir -p $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni; cd $(gyp_local_path)/components; ../base/android/jni_generator/jni_generator.py --input_file web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ColorChooserAndroid.java --output_dir "$(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports
     28 
     29 
     30 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ValidationMessageBubble_jni.h: gyp_local_path := $(LOCAL_PATH)
     31 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ValidationMessageBubble_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
     32 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ValidationMessageBubble_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     33 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ValidationMessageBubble_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     34 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ValidationMessageBubble_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     35 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ValidationMessageBubble_jni.h: $(LOCAL_PATH)/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
     36 	mkdir -p $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni; cd $(gyp_local_path)/components; ../base/android/jni_generator/jni_generator.py --input_file web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java --output_dir "$(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports
     37 
     38 
     39 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/WebContentsDelegateAndroid_jni.h: gyp_local_path := $(LOCAL_PATH)
     40 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/WebContentsDelegateAndroid_jni.h: gyp_var_prefix := $(GYP_VAR_PREFIX)
     41 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/WebContentsDelegateAndroid_jni.h: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     42 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/WebContentsDelegateAndroid_jni.h: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     43 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/WebContentsDelegateAndroid_jni.h: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     44 $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/WebContentsDelegateAndroid_jni.h: $(LOCAL_PATH)/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java $(LOCAL_PATH)/base/android/jni_generator/jni_generator.py $(LOCAL_PATH)/android_webview/build/jarjar-rules.txt $(GYP_TARGET_DEPENDENCIES)
     45 	mkdir -p $(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni; cd $(gyp_local_path)/components; ../base/android/jni_generator/jni_generator.py --input_file web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/WebContentsDelegateAndroid.java --output_dir "$(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni" --includes base/android/jni_generator/jni_generator_helper.h --optimize_generation 0 --jarjar ../android_webview/build/jarjar-rules.txt --ptr_type long --native_exports
     46 
     47 
     48 
     49 GYP_GENERATED_OUTPUTS := \
     50 	$(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h \
     51 	$(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ValidationMessageBubble_jni.h \
     52 	$(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/WebContentsDelegateAndroid_jni.h
     53 
     54 # Make sure our deps and generated files are built first.
     55 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     56 
     57 LOCAL_GENERATED_SOURCES := \
     58 	$(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ColorChooserAndroid_jni.h \
     59 	$(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/ValidationMessageBubble_jni.h \
     60 	$(gyp_shared_intermediate_dir)/web_contents_delegate_android/jni/WebContentsDelegateAndroid_jni.h
     61 
     62 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     63 
     64 LOCAL_SRC_FILES :=
     65 
     66 
     67 # Flags passed to both C and C++ files.
     68 MY_CFLAGS_Debug := \
     69 	-fstack-protector \
     70 	--param=ssp-buffer-size=4 \
     71 	-Werror \
     72 	-fno-exceptions \
     73 	-fno-strict-aliasing \
     74 	-Wall \
     75 	-Wno-unused-parameter \
     76 	-Wno-missing-field-initializers \
     77 	-fvisibility=hidden \
     78 	-pipe \
     79 	-fPIC \
     80 	-Wno-unused-local-typedefs \
     81 	-fno-tree-sra \
     82 	-fno-partial-inlining \
     83 	-fno-early-inlining \
     84 	-fno-tree-copy-prop \
     85 	-fno-tree-loop-optimize \
     86 	-fno-move-loop-invariants \
     87 	-fno-caller-saves \
     88 	-Wno-psabi \
     89 	-ffunction-sections \
     90 	-funwind-tables \
     91 	-g \
     92 	-fstack-protector \
     93 	-fno-short-enums \
     94 	-finline-limit=64 \
     95 	-Wa,--noexecstack \
     96 	-U_FORTIFY_SOURCE \
     97 	-Wno-extra \
     98 	-Wno-ignored-qualifiers \
     99 	-Wno-type-limits \
    100 	-Wno-unused-but-set-variable \
    101 	-Os \
    102 	-g \
    103 	-fdata-sections \
    104 	-ffunction-sections \
    105 	-fomit-frame-pointer \
    106 	-funwind-tables
    107 
    108 MY_DEFS_Debug := \
    109 	'-DV8_DEPRECATION_WARNINGS' \
    110 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    111 	'-D_FILE_OFFSET_BITS=64' \
    112 	'-DNO_TCMALLOC' \
    113 	'-DDISABLE_NACL' \
    114 	'-DCHROMIUM_BUILD' \
    115 	'-DUSE_LIBJPEG_TURBO=1' \
    116 	'-DENABLE_WEBRTC=1' \
    117 	'-DUSE_PROPRIETARY_CODECS' \
    118 	'-DENABLE_BROWSER_CDMS' \
    119 	'-DENABLE_CONFIGURATION_POLICY' \
    120 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    121 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    122 	'-DENABLE_EGLIMAGE=1' \
    123 	'-DCLD_VERSION=1' \
    124 	'-DENABLE_PRINTING=1' \
    125 	'-DENABLE_MANAGED_USERS=1' \
    126 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    127 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    128 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    129 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    130 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    131 	'-DVIDEO_HOLE=1' \
    132 	'-DUSE_OPENSSL=1' \
    133 	'-DUSE_OPENSSL_CERTS=1' \
    134 	'-D__STDC_CONSTANT_MACROS' \
    135 	'-D__STDC_FORMAT_MACROS' \
    136 	'-DANDROID' \
    137 	'-D__GNU_SOURCE=1' \
    138 	'-DUSE_STLPORT=1' \
    139 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    140 	'-DCHROME_BUILD_ID=""' \
    141 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    142 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    143 	'-D_DEBUG'
    144 
    145 
    146 # Include paths placed before CFLAGS/CPPFLAGS
    147 LOCAL_C_INCLUDES_Debug := \
    148 	$(gyp_shared_intermediate_dir) \
    149 	$(PWD)/frameworks/wilhelm/include \
    150 	$(PWD)/bionic \
    151 	$(PWD)/external/stlport/stlport
    152 
    153 
    154 # Flags passed to only C++ (and not C) files.
    155 LOCAL_CPPFLAGS_Debug := \
    156 	-fno-rtti \
    157 	-fno-threadsafe-statics \
    158 	-fvisibility-inlines-hidden \
    159 	-Wsign-compare \
    160 	-Wno-abi \
    161 	-Wno-non-virtual-dtor \
    162 	-Wno-sign-promo
    163 
    164 
    165 LOCAL_FDO_SUPPORT_Debug := false
    166 
    167 # Flags passed to both C and C++ files.
    168 MY_CFLAGS_Release := \
    169 	-fstack-protector \
    170 	--param=ssp-buffer-size=4 \
    171 	-Werror \
    172 	-fno-exceptions \
    173 	-fno-strict-aliasing \
    174 	-Wall \
    175 	-Wno-unused-parameter \
    176 	-Wno-missing-field-initializers \
    177 	-fvisibility=hidden \
    178 	-pipe \
    179 	-fPIC \
    180 	-Wno-unused-local-typedefs \
    181 	-fno-tree-sra \
    182 	-fno-partial-inlining \
    183 	-fno-early-inlining \
    184 	-fno-tree-copy-prop \
    185 	-fno-tree-loop-optimize \
    186 	-fno-move-loop-invariants \
    187 	-fno-caller-saves \
    188 	-Wno-psabi \
    189 	-ffunction-sections \
    190 	-funwind-tables \
    191 	-g \
    192 	-fstack-protector \
    193 	-fno-short-enums \
    194 	-finline-limit=64 \
    195 	-Wa,--noexecstack \
    196 	-U_FORTIFY_SOURCE \
    197 	-Wno-extra \
    198 	-Wno-ignored-qualifiers \
    199 	-Wno-type-limits \
    200 	-Wno-unused-but-set-variable \
    201 	-Os \
    202 	-fno-ident \
    203 	-fdata-sections \
    204 	-ffunction-sections \
    205 	-fomit-frame-pointer \
    206 	-funwind-tables
    207 
    208 MY_DEFS_Release := \
    209 	'-DV8_DEPRECATION_WARNINGS' \
    210 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    211 	'-D_FILE_OFFSET_BITS=64' \
    212 	'-DNO_TCMALLOC' \
    213 	'-DDISABLE_NACL' \
    214 	'-DCHROMIUM_BUILD' \
    215 	'-DUSE_LIBJPEG_TURBO=1' \
    216 	'-DENABLE_WEBRTC=1' \
    217 	'-DUSE_PROPRIETARY_CODECS' \
    218 	'-DENABLE_BROWSER_CDMS' \
    219 	'-DENABLE_CONFIGURATION_POLICY' \
    220 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    221 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    222 	'-DENABLE_EGLIMAGE=1' \
    223 	'-DCLD_VERSION=1' \
    224 	'-DENABLE_PRINTING=1' \
    225 	'-DENABLE_MANAGED_USERS=1' \
    226 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    227 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    228 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    229 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    230 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    231 	'-DVIDEO_HOLE=1' \
    232 	'-DUSE_OPENSSL=1' \
    233 	'-DUSE_OPENSSL_CERTS=1' \
    234 	'-D__STDC_CONSTANT_MACROS' \
    235 	'-D__STDC_FORMAT_MACROS' \
    236 	'-DANDROID' \
    237 	'-D__GNU_SOURCE=1' \
    238 	'-DUSE_STLPORT=1' \
    239 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    240 	'-DCHROME_BUILD_ID=""' \
    241 	'-DNDEBUG' \
    242 	'-DNVALGRIND' \
    243 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    244 	'-D_FORTIFY_SOURCE=2'
    245 
    246 
    247 # Include paths placed before CFLAGS/CPPFLAGS
    248 LOCAL_C_INCLUDES_Release := \
    249 	$(gyp_shared_intermediate_dir) \
    250 	$(PWD)/frameworks/wilhelm/include \
    251 	$(PWD)/bionic \
    252 	$(PWD)/external/stlport/stlport
    253 
    254 
    255 # Flags passed to only C++ (and not C) files.
    256 LOCAL_CPPFLAGS_Release := \
    257 	-fno-rtti \
    258 	-fno-threadsafe-statics \
    259 	-fvisibility-inlines-hidden \
    260 	-Wsign-compare \
    261 	-Wno-abi \
    262 	-Wno-non-virtual-dtor \
    263 	-Wno-sign-promo
    264 
    265 
    266 LOCAL_FDO_SUPPORT_Release := false
    267 
    268 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    269 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
    270 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    271 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    272 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    273 ### Rules for final target.
    274 # Add target alias to "gyp_all_modules" target.
    275 .PHONY: gyp_all_modules
    276 gyp_all_modules: components_web_contents_delegate_android_jni_headers_gyp
    277 
    278 # Alias gyp target name.
    279 .PHONY: web_contents_delegate_android_jni_headers
    280 web_contents_delegate_android_jni_headers: components_web_contents_delegate_android_jni_headers_gyp
    281 
    282 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
    283 LOCAL_UNINSTALLABLE_MODULE := true
    284 LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX)
    285 
    286 include $(BUILD_SYSTEM)/base_rules.mk
    287 
    288 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
    289 	$(hide) echo "Gyp timestamp: $@"
    290 	$(hide) mkdir -p $(dir $@)
    291 	$(hide) touch $@
    292 
    293 LOCAL_2ND_ARCH_VAR_PREFIX :=
    294