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