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 := STATIC_LIBRARIES
      6 LOCAL_MODULE := components_web_contents_delegate_android_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
      9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
     10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     11 
     12 # Make sure our deps are built first.
     13 GYP_TARGET_DEPENDENCIES := \
     14 	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \
     15 	$(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \
     16 	$(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \
     17 	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_base_ui_base_gyp,,,$(GYP_VAR_PREFIX))/ui_base_ui_base_gyp.a \
     18 	$(call intermediates-dir-for,GYP,components_web_contents_delegate_android_jni_headers_gyp,,,$(GYP_VAR_PREFIX))/web_contents_delegate_android_jni_headers.stamp
     19 
     20 GYP_GENERATED_OUTPUTS :=
     21 
     22 # Make sure our deps and generated files are built first.
     23 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     24 
     25 LOCAL_CPP_EXTENSION := .cc
     26 LOCAL_GENERATED_SOURCES :=
     27 
     28 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     29 
     30 LOCAL_SRC_FILES := \
     31 	components/web_contents_delegate_android/color_chooser_android.cc \
     32 	components/web_contents_delegate_android/component_jni_registrar.cc \
     33 	components/web_contents_delegate_android/validation_message_bubble_android.cc \
     34 	components/web_contents_delegate_android/web_contents_delegate_android.cc
     35 
     36 
     37 # Flags passed to both C and C++ files.
     38 MY_CFLAGS_Debug := \
     39 	--param=ssp-buffer-size=4 \
     40 	-Werror \
     41 	-fno-strict-aliasing \
     42 	-Wall \
     43 	-Wno-unused-parameter \
     44 	-Wno-missing-field-initializers \
     45 	-fvisibility=hidden \
     46 	-pipe \
     47 	-fPIC \
     48 	-Wno-unused-local-typedefs \
     49 	-ffunction-sections \
     50 	-funwind-tables \
     51 	-g \
     52 	-fno-short-enums \
     53 	-finline-limit=64 \
     54 	-Wa,--noexecstack \
     55 	-U_FORTIFY_SOURCE \
     56 	-Wno-extra \
     57 	-Wno-ignored-qualifiers \
     58 	-Wno-type-limits \
     59 	-Wno-unused-but-set-variable \
     60 	-Os \
     61 	-g \
     62 	-gdwarf-4 \
     63 	-fdata-sections \
     64 	-ffunction-sections \
     65 	-funwind-tables
     66 
     67 MY_DEFS_Debug := \
     68 	'-DV8_DEPRECATION_WARNINGS' \
     69 	'-D_FILE_OFFSET_BITS=64' \
     70 	'-DNO_TCMALLOC' \
     71 	'-DDISABLE_NACL' \
     72 	'-DCHROMIUM_BUILD' \
     73 	'-DUSE_LIBJPEG_TURBO=1' \
     74 	'-DENABLE_WEBRTC=1' \
     75 	'-DUSE_PROPRIETARY_CODECS' \
     76 	'-DENABLE_BROWSER_CDMS' \
     77 	'-DENABLE_CONFIGURATION_POLICY' \
     78 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     79 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     80 	'-DENABLE_EGLIMAGE=1' \
     81 	'-DCLD_VERSION=1' \
     82 	'-DENABLE_PRINTING=1' \
     83 	'-DENABLE_MANAGED_USERS=1' \
     84 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
     85 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
     86 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
     87 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
     88 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
     89 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
     90 	'-DVIDEO_HOLE=1' \
     91 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
     92 	'-DMOJO_USE_SYSTEM_IMPL' \
     93 	'-DAPPCACHE_USE_SIMPLE_CACHE' \
     94 	'-DPOSIX_AVOID_MMAP' \
     95 	'-DSK_ENABLE_INST_COUNT=0' \
     96 	'-DSK_SUPPORT_GPU=1' \
     97 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
     98 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
     99 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    100 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    101 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    102 	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
    103 	'-DSK_BUILD_FOR_ANDROID' \
    104 	'-DSK_USE_POSIX_THREADS' \
    105 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    106 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
    107 	'-DU_USING_ICU_NAMESPACE=0' \
    108 	'-DU_ENABLE_DYLOAD=0' \
    109 	'-DUSE_OPENSSL=1' \
    110 	'-DUSE_OPENSSL_CERTS=1' \
    111 	'-D__STDC_CONSTANT_MACROS' \
    112 	'-D__STDC_FORMAT_MACROS' \
    113 	'-DANDROID' \
    114 	'-D__GNU_SOURCE=1' \
    115 	'-DUSE_STLPORT=1' \
    116 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    117 	'-DCHROME_BUILD_ID=""' \
    118 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    119 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    120 	'-D_DEBUG'
    121 
    122 
    123 # Include paths placed before CFLAGS/CPPFLAGS
    124 LOCAL_C_INCLUDES_Debug := \
    125 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    126 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    127 	$(gyp_shared_intermediate_dir) \
    128 	$(LOCAL_PATH) \
    129 	$(LOCAL_PATH)/skia/config \
    130 	$(LOCAL_PATH)/third_party/khronos \
    131 	$(LOCAL_PATH)/gpu \
    132 	$(LOCAL_PATH)/third_party/WebKit/Source \
    133 	$(gyp_shared_intermediate_dir)/angle \
    134 	$(LOCAL_PATH)/third_party/WebKit \
    135 	$(LOCAL_PATH)/third_party/skia/src/core \
    136 	$(LOCAL_PATH)/third_party/skia/include/core \
    137 	$(LOCAL_PATH)/third_party/skia/include/effects \
    138 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    139 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    140 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    141 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    142 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    143 	$(LOCAL_PATH)/third_party/skia/include/ports \
    144 	$(LOCAL_PATH)/third_party/skia/include/utils \
    145 	$(LOCAL_PATH)/skia/ext \
    146 	$(PWD)/external/icu/icu4c/source/common \
    147 	$(PWD)/external/icu/icu4c/source/i18n \
    148 	$(gyp_shared_intermediate_dir)/web_contents_delegate_android \
    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-exceptions \
    157 	-fno-rtti \
    158 	-fno-threadsafe-statics \
    159 	-fvisibility-inlines-hidden \
    160 	-Wsign-compare \
    161 	-std=gnu++11 \
    162 	-Wno-narrowing \
    163 	-Wno-literal-suffix \
    164 	-Wno-non-virtual-dtor \
    165 	-Wno-sign-promo
    166 
    167 
    168 # Flags passed to both C and C++ files.
    169 MY_CFLAGS_Release := \
    170 	--param=ssp-buffer-size=4 \
    171 	-Werror \
    172 	-fno-strict-aliasing \
    173 	-Wall \
    174 	-Wno-unused-parameter \
    175 	-Wno-missing-field-initializers \
    176 	-fvisibility=hidden \
    177 	-pipe \
    178 	-fPIC \
    179 	-Wno-unused-local-typedefs \
    180 	-ffunction-sections \
    181 	-funwind-tables \
    182 	-g \
    183 	-fno-short-enums \
    184 	-finline-limit=64 \
    185 	-Wa,--noexecstack \
    186 	-U_FORTIFY_SOURCE \
    187 	-Wno-extra \
    188 	-Wno-ignored-qualifiers \
    189 	-Wno-type-limits \
    190 	-Wno-unused-but-set-variable \
    191 	-Os \
    192 	-fno-ident \
    193 	-fdata-sections \
    194 	-ffunction-sections \
    195 	-funwind-tables
    196 
    197 MY_DEFS_Release := \
    198 	'-DV8_DEPRECATION_WARNINGS' \
    199 	'-D_FILE_OFFSET_BITS=64' \
    200 	'-DNO_TCMALLOC' \
    201 	'-DDISABLE_NACL' \
    202 	'-DCHROMIUM_BUILD' \
    203 	'-DUSE_LIBJPEG_TURBO=1' \
    204 	'-DENABLE_WEBRTC=1' \
    205 	'-DUSE_PROPRIETARY_CODECS' \
    206 	'-DENABLE_BROWSER_CDMS' \
    207 	'-DENABLE_CONFIGURATION_POLICY' \
    208 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    209 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    210 	'-DENABLE_EGLIMAGE=1' \
    211 	'-DCLD_VERSION=1' \
    212 	'-DENABLE_PRINTING=1' \
    213 	'-DENABLE_MANAGED_USERS=1' \
    214 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    215 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    216 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    217 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    218 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    219 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    220 	'-DVIDEO_HOLE=1' \
    221 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    222 	'-DMOJO_USE_SYSTEM_IMPL' \
    223 	'-DAPPCACHE_USE_SIMPLE_CACHE' \
    224 	'-DPOSIX_AVOID_MMAP' \
    225 	'-DSK_ENABLE_INST_COUNT=0' \
    226 	'-DSK_SUPPORT_GPU=1' \
    227 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    228 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    229 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    230 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    231 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    232 	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
    233 	'-DSK_BUILD_FOR_ANDROID' \
    234 	'-DSK_USE_POSIX_THREADS' \
    235 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    236 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
    237 	'-DU_USING_ICU_NAMESPACE=0' \
    238 	'-DU_ENABLE_DYLOAD=0' \
    239 	'-DUSE_OPENSSL=1' \
    240 	'-DUSE_OPENSSL_CERTS=1' \
    241 	'-D__STDC_CONSTANT_MACROS' \
    242 	'-D__STDC_FORMAT_MACROS' \
    243 	'-DANDROID' \
    244 	'-D__GNU_SOURCE=1' \
    245 	'-DUSE_STLPORT=1' \
    246 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    247 	'-DCHROME_BUILD_ID=""' \
    248 	'-DNDEBUG' \
    249 	'-DNVALGRIND' \
    250 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    251 	'-D_FORTIFY_SOURCE=2'
    252 
    253 
    254 # Include paths placed before CFLAGS/CPPFLAGS
    255 LOCAL_C_INCLUDES_Release := \
    256 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    257 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    258 	$(gyp_shared_intermediate_dir) \
    259 	$(LOCAL_PATH) \
    260 	$(LOCAL_PATH)/skia/config \
    261 	$(LOCAL_PATH)/third_party/khronos \
    262 	$(LOCAL_PATH)/gpu \
    263 	$(LOCAL_PATH)/third_party/WebKit/Source \
    264 	$(gyp_shared_intermediate_dir)/angle \
    265 	$(LOCAL_PATH)/third_party/WebKit \
    266 	$(LOCAL_PATH)/third_party/skia/src/core \
    267 	$(LOCAL_PATH)/third_party/skia/include/core \
    268 	$(LOCAL_PATH)/third_party/skia/include/effects \
    269 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    270 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    271 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    272 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    273 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    274 	$(LOCAL_PATH)/third_party/skia/include/ports \
    275 	$(LOCAL_PATH)/third_party/skia/include/utils \
    276 	$(LOCAL_PATH)/skia/ext \
    277 	$(PWD)/external/icu/icu4c/source/common \
    278 	$(PWD)/external/icu/icu4c/source/i18n \
    279 	$(gyp_shared_intermediate_dir)/web_contents_delegate_android \
    280 	$(PWD)/frameworks/wilhelm/include \
    281 	$(PWD)/bionic \
    282 	$(PWD)/external/stlport/stlport
    283 
    284 
    285 # Flags passed to only C++ (and not C) files.
    286 LOCAL_CPPFLAGS_Release := \
    287 	-fno-exceptions \
    288 	-fno-rtti \
    289 	-fno-threadsafe-statics \
    290 	-fvisibility-inlines-hidden \
    291 	-Wsign-compare \
    292 	-std=gnu++11 \
    293 	-Wno-narrowing \
    294 	-Wno-literal-suffix \
    295 	-Wno-non-virtual-dtor \
    296 	-Wno-sign-promo
    297 
    298 
    299 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    300 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    301 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    302 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    303 ### Rules for final target.
    304 
    305 LOCAL_SHARED_LIBRARIES := \
    306 	libstlport \
    307 	libdl
    308 
    309 # Add target alias to "gyp_all_modules" target.
    310 .PHONY: gyp_all_modules
    311 gyp_all_modules: components_web_contents_delegate_android_gyp
    312 
    313 # Alias gyp target name.
    314 .PHONY: web_contents_delegate_android
    315 web_contents_delegate_android: components_web_contents_delegate_android_gyp
    316 
    317 include $(BUILD_STATIC_LIBRARY)
    318