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