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