Home | History | Annotate | Download | only in gfx
      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 := ui_gfx_gfx_geometry_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 
     15 GYP_GENERATED_OUTPUTS :=
     16 
     17 # Make sure our deps and generated files are built first.
     18 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     19 
     20 LOCAL_CPP_EXTENSION := .cc
     21 LOCAL_GENERATED_SOURCES :=
     22 
     23 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     24 
     25 LOCAL_SRC_FILES := \
     26 	ui/gfx/geometry/box_f.cc \
     27 	ui/gfx/geometry/cubic_bezier.cc \
     28 	ui/gfx/geometry/insets.cc \
     29 	ui/gfx/geometry/insets_f.cc \
     30 	ui/gfx/geometry/matrix3_f.cc \
     31 	ui/gfx/geometry/point.cc \
     32 	ui/gfx/geometry/point3_f.cc \
     33 	ui/gfx/geometry/point_conversions.cc \
     34 	ui/gfx/geometry/point_f.cc \
     35 	ui/gfx/geometry/quad_f.cc \
     36 	ui/gfx/geometry/rect.cc \
     37 	ui/gfx/geometry/rect_conversions.cc \
     38 	ui/gfx/geometry/rect_f.cc \
     39 	ui/gfx/geometry/r_tree_base.cc \
     40 	ui/gfx/geometry/size.cc \
     41 	ui/gfx/geometry/size_conversions.cc \
     42 	ui/gfx/geometry/size_f.cc \
     43 	ui/gfx/geometry/vector2d.cc \
     44 	ui/gfx/geometry/vector2d_conversions.cc \
     45 	ui/gfx/geometry/vector2d_f.cc \
     46 	ui/gfx/geometry/vector3d_f.cc
     47 
     48 
     49 # Flags passed to both C and C++ files.
     50 MY_CFLAGS_Debug := \
     51 	-fstack-protector \
     52 	--param=ssp-buffer-size=4 \
     53 	-Werror \
     54 	-fno-strict-aliasing \
     55 	-Wall \
     56 	-Wno-unused-parameter \
     57 	-Wno-missing-field-initializers \
     58 	-fvisibility=hidden \
     59 	-pipe \
     60 	-fPIC \
     61 	-Wno-unused-local-typedefs \
     62 	-m64 \
     63 	-march=x86-64 \
     64 	-ffunction-sections \
     65 	-funwind-tables \
     66 	-g \
     67 	-fstack-protector \
     68 	-fno-short-enums \
     69 	-finline-limit=64 \
     70 	-Wa,--noexecstack \
     71 	-U_FORTIFY_SOURCE \
     72 	-Wno-extra \
     73 	-Wno-ignored-qualifiers \
     74 	-Wno-type-limits \
     75 	-Wno-unused-but-set-variable \
     76 	-Os \
     77 	-g \
     78 	-gdwarf-4 \
     79 	-fdata-sections \
     80 	-ffunction-sections \
     81 	-fomit-frame-pointer \
     82 	-funwind-tables
     83 
     84 MY_DEFS_Debug := \
     85 	'-DV8_DEPRECATION_WARNINGS' \
     86 	'-D_FILE_OFFSET_BITS=64' \
     87 	'-DNO_TCMALLOC' \
     88 	'-DDISABLE_NACL' \
     89 	'-DCHROMIUM_BUILD' \
     90 	'-DUSE_LIBJPEG_TURBO=1' \
     91 	'-DENABLE_WEBRTC=1' \
     92 	'-DUSE_PROPRIETARY_CODECS' \
     93 	'-DENABLE_BROWSER_CDMS' \
     94 	'-DENABLE_CONFIGURATION_POLICY' \
     95 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     96 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     97 	'-DENABLE_EGLIMAGE=1' \
     98 	'-DCLD_VERSION=1' \
     99 	'-DENABLE_PRINTING=1' \
    100 	'-DENABLE_MANAGED_USERS=1' \
    101 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    102 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    103 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    104 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    105 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    106 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    107 	'-DVIDEO_HOLE=1' \
    108 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    109 	'-DGFX_IMPLEMENTATION' \
    110 	'-DUSE_OPENSSL=1' \
    111 	'-DUSE_OPENSSL_CERTS=1' \
    112 	'-D__STDC_CONSTANT_MACROS' \
    113 	'-D__STDC_FORMAT_MACROS' \
    114 	'-DANDROID' \
    115 	'-D__GNU_SOURCE=1' \
    116 	'-DUSE_STLPORT=1' \
    117 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    118 	'-DCHROME_BUILD_ID=""' \
    119 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    120 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    121 	'-D_DEBUG'
    122 
    123 
    124 # Include paths placed before CFLAGS/CPPFLAGS
    125 LOCAL_C_INCLUDES_Debug := \
    126 	$(gyp_shared_intermediate_dir) \
    127 	$(LOCAL_PATH) \
    128 	$(PWD)/frameworks/wilhelm/include \
    129 	$(PWD)/bionic \
    130 	$(PWD)/external/stlport/stlport
    131 
    132 
    133 # Flags passed to only C++ (and not C) files.
    134 LOCAL_CPPFLAGS_Debug := \
    135 	-fno-exceptions \
    136 	-fno-rtti \
    137 	-fno-threadsafe-statics \
    138 	-fvisibility-inlines-hidden \
    139 	-Wsign-compare \
    140 	-std=gnu++11 \
    141 	-Wno-narrowing \
    142 	-Wno-literal-suffix \
    143 	-Wno-non-virtual-dtor \
    144 	-Wno-sign-promo
    145 
    146 
    147 # Flags passed to both C and C++ files.
    148 MY_CFLAGS_Release := \
    149 	-fstack-protector \
    150 	--param=ssp-buffer-size=4 \
    151 	-Werror \
    152 	-fno-strict-aliasing \
    153 	-Wall \
    154 	-Wno-unused-parameter \
    155 	-Wno-missing-field-initializers \
    156 	-fvisibility=hidden \
    157 	-pipe \
    158 	-fPIC \
    159 	-Wno-unused-local-typedefs \
    160 	-m64 \
    161 	-march=x86-64 \
    162 	-ffunction-sections \
    163 	-funwind-tables \
    164 	-g \
    165 	-fstack-protector \
    166 	-fno-short-enums \
    167 	-finline-limit=64 \
    168 	-Wa,--noexecstack \
    169 	-U_FORTIFY_SOURCE \
    170 	-Wno-extra \
    171 	-Wno-ignored-qualifiers \
    172 	-Wno-type-limits \
    173 	-Wno-unused-but-set-variable \
    174 	-Os \
    175 	-fno-ident \
    176 	-fdata-sections \
    177 	-ffunction-sections \
    178 	-fomit-frame-pointer \
    179 	-funwind-tables
    180 
    181 MY_DEFS_Release := \
    182 	'-DV8_DEPRECATION_WARNINGS' \
    183 	'-D_FILE_OFFSET_BITS=64' \
    184 	'-DNO_TCMALLOC' \
    185 	'-DDISABLE_NACL' \
    186 	'-DCHROMIUM_BUILD' \
    187 	'-DUSE_LIBJPEG_TURBO=1' \
    188 	'-DENABLE_WEBRTC=1' \
    189 	'-DUSE_PROPRIETARY_CODECS' \
    190 	'-DENABLE_BROWSER_CDMS' \
    191 	'-DENABLE_CONFIGURATION_POLICY' \
    192 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    193 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    194 	'-DENABLE_EGLIMAGE=1' \
    195 	'-DCLD_VERSION=1' \
    196 	'-DENABLE_PRINTING=1' \
    197 	'-DENABLE_MANAGED_USERS=1' \
    198 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    199 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    200 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    201 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    202 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    203 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    204 	'-DVIDEO_HOLE=1' \
    205 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    206 	'-DGFX_IMPLEMENTATION' \
    207 	'-DUSE_OPENSSL=1' \
    208 	'-DUSE_OPENSSL_CERTS=1' \
    209 	'-D__STDC_CONSTANT_MACROS' \
    210 	'-D__STDC_FORMAT_MACROS' \
    211 	'-DANDROID' \
    212 	'-D__GNU_SOURCE=1' \
    213 	'-DUSE_STLPORT=1' \
    214 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    215 	'-DCHROME_BUILD_ID=""' \
    216 	'-DNDEBUG' \
    217 	'-DNVALGRIND' \
    218 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    219 	'-D_FORTIFY_SOURCE=2'
    220 
    221 
    222 # Include paths placed before CFLAGS/CPPFLAGS
    223 LOCAL_C_INCLUDES_Release := \
    224 	$(gyp_shared_intermediate_dir) \
    225 	$(LOCAL_PATH) \
    226 	$(PWD)/frameworks/wilhelm/include \
    227 	$(PWD)/bionic \
    228 	$(PWD)/external/stlport/stlport
    229 
    230 
    231 # Flags passed to only C++ (and not C) files.
    232 LOCAL_CPPFLAGS_Release := \
    233 	-fno-exceptions \
    234 	-fno-rtti \
    235 	-fno-threadsafe-statics \
    236 	-fvisibility-inlines-hidden \
    237 	-Wsign-compare \
    238 	-std=gnu++11 \
    239 	-Wno-narrowing \
    240 	-Wno-literal-suffix \
    241 	-Wno-non-virtual-dtor \
    242 	-Wno-sign-promo
    243 
    244 
    245 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    246 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    247 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    248 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    249 ### Rules for final target.
    250 
    251 LOCAL_SHARED_LIBRARIES := \
    252 	libstlport \
    253 	libdl
    254 
    255 # Add target alias to "gyp_all_modules" target.
    256 .PHONY: gyp_all_modules
    257 gyp_all_modules: ui_gfx_gfx_geometry_gyp
    258 
    259 # Alias gyp target name.
    260 .PHONY: gfx_geometry
    261 gfx_geometry: ui_gfx_gfx_geometry_gyp
    262 
    263 include $(BUILD_STATIC_LIBRARY)
    264