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