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_pref_registry_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_base_ui_base_gyp,,,$(GYP_VAR_PREFIX))/ui_base_ui_base_gyp.a \
     15 	$(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a
     16 
     17 GYP_GENERATED_OUTPUTS :=
     18 
     19 # Make sure our deps and generated files are built first.
     20 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     21 
     22 LOCAL_CPP_EXTENSION := .cc
     23 LOCAL_GENERATED_SOURCES :=
     24 
     25 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     26 
     27 LOCAL_SRC_FILES := \
     28 	components/pref_registry/pref_registry_syncable.cc
     29 
     30 
     31 # Flags passed to both C and C++ files.
     32 MY_CFLAGS_Debug := \
     33 	-fstack-protector \
     34 	--param=ssp-buffer-size=4 \
     35 	-Werror \
     36 	-fno-strict-aliasing \
     37 	-Wall \
     38 	-Wno-unused-parameter \
     39 	-Wno-missing-field-initializers \
     40 	-fvisibility=hidden \
     41 	-pipe \
     42 	-fPIC \
     43 	-Wno-unused-local-typedefs \
     44 	-fno-tree-sra \
     45 	-fno-caller-saves \
     46 	-Wno-psabi \
     47 	-fno-partial-inlining \
     48 	-fno-early-inlining \
     49 	-fno-tree-copy-prop \
     50 	-fno-tree-loop-optimize \
     51 	-fno-move-loop-invariants \
     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 	'-DPREF_REGISTRY_IMPLEMENTATION' \
     98 	'-DPOSIX_AVOID_MMAP' \
     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 	'-DU_USING_ICU_NAMESPACE=0' \
    112 	'-DU_ENABLE_DYLOAD=0' \
    113 	'-DUSE_OPENSSL=1' \
    114 	'-DUSE_OPENSSL_CERTS=1' \
    115 	'-D__STDC_CONSTANT_MACROS' \
    116 	'-D__STDC_FORMAT_MACROS' \
    117 	'-DANDROID' \
    118 	'-D__GNU_SOURCE=1' \
    119 	'-DUSE_STLPORT=1' \
    120 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    121 	'-DCHROME_BUILD_ID=""' \
    122 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    123 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    124 	'-D_DEBUG'
    125 
    126 
    127 # Include paths placed before CFLAGS/CPPFLAGS
    128 LOCAL_C_INCLUDES_Debug := \
    129 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    130 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    131 	$(gyp_shared_intermediate_dir) \
    132 	$(LOCAL_PATH) \
    133 	$(LOCAL_PATH)/skia/config \
    134 	$(LOCAL_PATH)/third_party/skia/src/core \
    135 	$(LOCAL_PATH)/third_party/skia/include/core \
    136 	$(LOCAL_PATH)/third_party/skia/include/effects \
    137 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    138 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    139 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    140 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    141 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    142 	$(LOCAL_PATH)/third_party/skia/include/ports \
    143 	$(LOCAL_PATH)/third_party/skia/include/utils \
    144 	$(LOCAL_PATH)/skia/ext \
    145 	$(PWD)/external/icu/icu4c/source/common \
    146 	$(PWD)/external/icu/icu4c/source/i18n \
    147 	$(PWD)/frameworks/wilhelm/include \
    148 	$(PWD)/bionic \
    149 	$(PWD)/external/stlport/stlport
    150 
    151 
    152 # Flags passed to only C++ (and not C) files.
    153 LOCAL_CPPFLAGS_Debug := \
    154 	-fno-exceptions \
    155 	-fno-rtti \
    156 	-fno-threadsafe-statics \
    157 	-fvisibility-inlines-hidden \
    158 	-Wsign-compare \
    159 	-Wno-abi \
    160 	-std=gnu++11 \
    161 	-Wno-narrowing \
    162 	-Wno-literal-suffix \
    163 	-Wno-non-virtual-dtor \
    164 	-Wno-sign-promo
    165 
    166 
    167 # Flags passed to both C and C++ files.
    168 MY_CFLAGS_Release := \
    169 	-fstack-protector \
    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 	-fno-tree-sra \
    181 	-fno-caller-saves \
    182 	-Wno-psabi \
    183 	-fno-partial-inlining \
    184 	-fno-early-inlining \
    185 	-fno-tree-copy-prop \
    186 	-fno-tree-loop-optimize \
    187 	-fno-move-loop-invariants \
    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 	'-DPREF_REGISTRY_IMPLEMENTATION' \
    233 	'-DPOSIX_AVOID_MMAP' \
    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 	'-DU_USING_ICU_NAMESPACE=0' \
    247 	'-DU_ENABLE_DYLOAD=0' \
    248 	'-DUSE_OPENSSL=1' \
    249 	'-DUSE_OPENSSL_CERTS=1' \
    250 	'-D__STDC_CONSTANT_MACROS' \
    251 	'-D__STDC_FORMAT_MACROS' \
    252 	'-DANDROID' \
    253 	'-D__GNU_SOURCE=1' \
    254 	'-DUSE_STLPORT=1' \
    255 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    256 	'-DCHROME_BUILD_ID=""' \
    257 	'-DNDEBUG' \
    258 	'-DNVALGRIND' \
    259 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    260 	'-D_FORTIFY_SOURCE=2'
    261 
    262 
    263 # Include paths placed before CFLAGS/CPPFLAGS
    264 LOCAL_C_INCLUDES_Release := \
    265 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    266 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    267 	$(gyp_shared_intermediate_dir) \
    268 	$(LOCAL_PATH) \
    269 	$(LOCAL_PATH)/skia/config \
    270 	$(LOCAL_PATH)/third_party/skia/src/core \
    271 	$(LOCAL_PATH)/third_party/skia/include/core \
    272 	$(LOCAL_PATH)/third_party/skia/include/effects \
    273 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    274 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    275 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    276 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    277 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    278 	$(LOCAL_PATH)/third_party/skia/include/ports \
    279 	$(LOCAL_PATH)/third_party/skia/include/utils \
    280 	$(LOCAL_PATH)/skia/ext \
    281 	$(PWD)/external/icu/icu4c/source/common \
    282 	$(PWD)/external/icu/icu4c/source/i18n \
    283 	$(PWD)/frameworks/wilhelm/include \
    284 	$(PWD)/bionic \
    285 	$(PWD)/external/stlport/stlport
    286 
    287 
    288 # Flags passed to only C++ (and not C) files.
    289 LOCAL_CPPFLAGS_Release := \
    290 	-fno-exceptions \
    291 	-fno-rtti \
    292 	-fno-threadsafe-statics \
    293 	-fvisibility-inlines-hidden \
    294 	-Wsign-compare \
    295 	-Wno-abi \
    296 	-std=gnu++11 \
    297 	-Wno-narrowing \
    298 	-Wno-literal-suffix \
    299 	-Wno-non-virtual-dtor \
    300 	-Wno-sign-promo
    301 
    302 
    303 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    304 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    305 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    306 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    307 ### Rules for final target.
    308 
    309 LOCAL_SHARED_LIBRARIES := \
    310 	libstlport \
    311 	libdl
    312 
    313 # Add target alias to "gyp_all_modules" target.
    314 .PHONY: gyp_all_modules
    315 gyp_all_modules: components_pref_registry_gyp
    316 
    317 # Alias gyp target name.
    318 .PHONY: pref_registry
    319 pref_registry: components_pref_registry_gyp
    320 
    321 include $(BUILD_STATIC_LIBRARY)
    322