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