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 	--param=ssp-buffer-size=4 \
     52 	-Werror \
     53 	-fno-strict-aliasing \
     54 	-Wall \
     55 	-Wno-unused-parameter \
     56 	-Wno-missing-field-initializers \
     57 	-fvisibility=hidden \
     58 	-pipe \
     59 	-fPIC \
     60 	-Wno-unused-local-typedefs \
     61 	-msse2 \
     62 	-mfpmath=sse \
     63 	-mmmx \
     64 	-m32 \
     65 	-ffunction-sections \
     66 	-funwind-tables \
     67 	-g \
     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 	-fno-stack-protector \
     77 	-Os \
     78 	-g \
     79 	-gdwarf-4 \
     80 	-fdata-sections \
     81 	-ffunction-sections \
     82 	-fomit-frame-pointer \
     83 	-funwind-tables
     84 
     85 MY_DEFS_Debug := \
     86 	'-DV8_DEPRECATION_WARNINGS' \
     87 	'-D_FILE_OFFSET_BITS=64' \
     88 	'-DNO_TCMALLOC' \
     89 	'-DDISABLE_NACL' \
     90 	'-DCHROMIUM_BUILD' \
     91 	'-DUSE_LIBJPEG_TURBO=1' \
     92 	'-DENABLE_WEBRTC=1' \
     93 	'-DUSE_PROPRIETARY_CODECS' \
     94 	'-DENABLE_BROWSER_CDMS' \
     95 	'-DENABLE_CONFIGURATION_POLICY' \
     96 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     97 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     98 	'-DENABLE_EGLIMAGE=1' \
     99 	'-DCLD_VERSION=1' \
    100 	'-DENABLE_PRINTING=1' \
    101 	'-DENABLE_MANAGED_USERS=1' \
    102 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    103 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    104 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    105 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    106 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    107 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    108 	'-DVIDEO_HOLE=1' \
    109 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    110 	'-DGFX_IMPLEMENTATION' \
    111 	'-DUSE_OPENSSL=1' \
    112 	'-DUSE_OPENSSL_CERTS=1' \
    113 	'-D__STDC_CONSTANT_MACROS' \
    114 	'-D__STDC_FORMAT_MACROS' \
    115 	'-DANDROID' \
    116 	'-D__GNU_SOURCE=1' \
    117 	'-DUSE_STLPORT=1' \
    118 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    119 	'-DCHROME_BUILD_ID=""' \
    120 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    121 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    122 	'-D_DEBUG'
    123 
    124 
    125 # Include paths placed before CFLAGS/CPPFLAGS
    126 LOCAL_C_INCLUDES_Debug := \
    127 	$(gyp_shared_intermediate_dir) \
    128 	$(LOCAL_PATH) \
    129 	$(PWD)/frameworks/wilhelm/include \
    130 	$(PWD)/bionic \
    131 	$(PWD)/external/stlport/stlport
    132 
    133 
    134 # Flags passed to only C++ (and not C) files.
    135 LOCAL_CPPFLAGS_Debug := \
    136 	-fno-exceptions \
    137 	-fno-rtti \
    138 	-fno-threadsafe-statics \
    139 	-fvisibility-inlines-hidden \
    140 	-Wsign-compare \
    141 	-std=gnu++11 \
    142 	-Wno-narrowing \
    143 	-Wno-literal-suffix \
    144 	-Wno-non-virtual-dtor \
    145 	-Wno-sign-promo
    146 
    147 
    148 # Flags passed to both C and C++ files.
    149 MY_CFLAGS_Release := \
    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 	-msse2 \
    161 	-mfpmath=sse \
    162 	-mmmx \
    163 	-m32 \
    164 	-ffunction-sections \
    165 	-funwind-tables \
    166 	-g \
    167 	-fno-short-enums \
    168 	-finline-limit=64 \
    169 	-Wa,--noexecstack \
    170 	-U_FORTIFY_SOURCE \
    171 	-Wno-extra \
    172 	-Wno-ignored-qualifiers \
    173 	-Wno-type-limits \
    174 	-Wno-unused-but-set-variable \
    175 	-fno-stack-protector \
    176 	-Os \
    177 	-fno-ident \
    178 	-fdata-sections \
    179 	-ffunction-sections \
    180 	-fomit-frame-pointer \
    181 	-funwind-tables
    182 
    183 MY_DEFS_Release := \
    184 	'-DV8_DEPRECATION_WARNINGS' \
    185 	'-D_FILE_OFFSET_BITS=64' \
    186 	'-DNO_TCMALLOC' \
    187 	'-DDISABLE_NACL' \
    188 	'-DCHROMIUM_BUILD' \
    189 	'-DUSE_LIBJPEG_TURBO=1' \
    190 	'-DENABLE_WEBRTC=1' \
    191 	'-DUSE_PROPRIETARY_CODECS' \
    192 	'-DENABLE_BROWSER_CDMS' \
    193 	'-DENABLE_CONFIGURATION_POLICY' \
    194 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    195 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    196 	'-DENABLE_EGLIMAGE=1' \
    197 	'-DCLD_VERSION=1' \
    198 	'-DENABLE_PRINTING=1' \
    199 	'-DENABLE_MANAGED_USERS=1' \
    200 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    201 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    202 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    203 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    204 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    205 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    206 	'-DVIDEO_HOLE=1' \
    207 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    208 	'-DGFX_IMPLEMENTATION' \
    209 	'-DUSE_OPENSSL=1' \
    210 	'-DUSE_OPENSSL_CERTS=1' \
    211 	'-D__STDC_CONSTANT_MACROS' \
    212 	'-D__STDC_FORMAT_MACROS' \
    213 	'-DANDROID' \
    214 	'-D__GNU_SOURCE=1' \
    215 	'-DUSE_STLPORT=1' \
    216 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    217 	'-DCHROME_BUILD_ID=""' \
    218 	'-DNDEBUG' \
    219 	'-DNVALGRIND' \
    220 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    221 	'-D_FORTIFY_SOURCE=2'
    222 
    223 
    224 # Include paths placed before CFLAGS/CPPFLAGS
    225 LOCAL_C_INCLUDES_Release := \
    226 	$(gyp_shared_intermediate_dir) \
    227 	$(LOCAL_PATH) \
    228 	$(PWD)/frameworks/wilhelm/include \
    229 	$(PWD)/bionic \
    230 	$(PWD)/external/stlport/stlport
    231 
    232 
    233 # Flags passed to only C++ (and not C) files.
    234 LOCAL_CPPFLAGS_Release := \
    235 	-fno-exceptions \
    236 	-fno-rtti \
    237 	-fno-threadsafe-statics \
    238 	-fvisibility-inlines-hidden \
    239 	-Wsign-compare \
    240 	-std=gnu++11 \
    241 	-Wno-narrowing \
    242 	-Wno-literal-suffix \
    243 	-Wno-non-virtual-dtor \
    244 	-Wno-sign-promo
    245 
    246 
    247 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    248 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    249 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    250 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    251 ### Rules for final target.
    252 
    253 LOCAL_SHARED_LIBRARIES := \
    254 	libstlport \
    255 	libdl
    256 
    257 # Add target alias to "gyp_all_modules" target.
    258 .PHONY: gyp_all_modules
    259 gyp_all_modules: ui_gfx_gfx_geometry_gyp
    260 
    261 # Alias gyp target name.
    262 .PHONY: gfx_geometry
    263 gfx_geometry: ui_gfx_gfx_geometry_gyp
    264 
    265 include $(BUILD_STATIC_LIBRARY)
    266