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