Home | History | Annotate | Download | only in sandbox
      1 # This file is generated by gyp; do not edit.
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_MODULE_CLASS := GYP
      6 LOCAL_MODULE := sandbox_sandbox_services_headers_gyp
      7 LOCAL_MODULE_STEM := sandbox_services_headers
      8 LOCAL_MODULE_SUFFIX := .stamp
      9 LOCAL_MODULE_TAGS := optional
     10 gyp_intermediate_dir := $(call local-intermediates-dir)
     11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
     12 
     13 # Make sure our deps are built first.
     14 GYP_TARGET_DEPENDENCIES :=
     15 
     16 GYP_GENERATED_OUTPUTS :=
     17 
     18 # Make sure our deps and generated files are built first.
     19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     20 
     21 LOCAL_GENERATED_SOURCES :=
     22 
     23 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     24 
     25 LOCAL_SRC_FILES :=
     26 
     27 
     28 # Flags passed to both C and C++ files.
     29 MY_CFLAGS_Debug := \
     30 	-fstack-protector \
     31 	--param=ssp-buffer-size=4 \
     32 	-Werror \
     33 	-fno-exceptions \
     34 	-fno-strict-aliasing \
     35 	-Wall \
     36 	-Wno-unused-parameter \
     37 	-Wno-missing-field-initializers \
     38 	-fvisibility=hidden \
     39 	-pipe \
     40 	-fPIC \
     41 	-fno-tree-sra \
     42 	-fuse-ld=gold \
     43 	-Wno-psabi \
     44 	-ffunction-sections \
     45 	-funwind-tables \
     46 	-g \
     47 	-fstack-protector \
     48 	-fno-short-enums \
     49 	-finline-limit=64 \
     50 	-Wa,--noexecstack \
     51 	-U_FORTIFY_SOURCE \
     52 	-Wno-extra \
     53 	-Wno-ignored-qualifiers \
     54 	-Wno-type-limits \
     55 	-Os \
     56 	-g \
     57 	-fomit-frame-pointer \
     58 	-fdata-sections \
     59 	-ffunction-sections
     60 
     61 MY_DEFS_Debug := \
     62 	'-DV8_DEPRECATION_WARNINGS' \
     63 	'-D_FILE_OFFSET_BITS=64' \
     64 	'-DNO_TCMALLOC' \
     65 	'-DDISABLE_NACL' \
     66 	'-DCHROMIUM_BUILD' \
     67 	'-DUSE_LIBJPEG_TURBO=1' \
     68 	'-DUSE_PROPRIETARY_CODECS' \
     69 	'-DENABLE_CONFIGURATION_POLICY' \
     70 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     71 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     72 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
     73 	'-DUSE_OPENSSL=1' \
     74 	'-DENABLE_EGLIMAGE=1' \
     75 	'-DCLD_VERSION=1' \
     76 	'-DENABLE_PRINTING=1' \
     77 	'-DENABLE_MANAGED_USERS=1' \
     78 	'-D__STDC_CONSTANT_MACROS' \
     79 	'-D__STDC_FORMAT_MACROS' \
     80 	'-DANDROID' \
     81 	'-D__GNU_SOURCE=1' \
     82 	'-DUSE_STLPORT=1' \
     83 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
     84 	'-DCHROME_BUILD_ID=""' \
     85 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
     86 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
     87 	'-D_DEBUG'
     88 
     89 
     90 # Include paths placed before CFLAGS/CPPFLAGS
     91 LOCAL_C_INCLUDES_Debug := \
     92 	$(LOCAL_PATH)/sandbox \
     93 	$(PWD)/frameworks/wilhelm/include \
     94 	$(PWD)/bionic \
     95 	$(PWD)/external/stlport/stlport
     96 
     97 
     98 # Flags passed to only C++ (and not C) files.
     99 LOCAL_CPPFLAGS_Debug := \
    100 	-fno-rtti \
    101 	-fno-threadsafe-statics \
    102 	-fvisibility-inlines-hidden \
    103 	-Wsign-compare \
    104 	-Wno-abi \
    105 	-Wno-error=c++0x-compat \
    106 	-Wno-non-virtual-dtor \
    107 	-Wno-sign-promo
    108 
    109 
    110 # Flags passed to both C and C++ files.
    111 MY_CFLAGS_Release := \
    112 	-fstack-protector \
    113 	--param=ssp-buffer-size=4 \
    114 	-Werror \
    115 	-fno-exceptions \
    116 	-fno-strict-aliasing \
    117 	-Wall \
    118 	-Wno-unused-parameter \
    119 	-Wno-missing-field-initializers \
    120 	-fvisibility=hidden \
    121 	-pipe \
    122 	-fPIC \
    123 	-fno-tree-sra \
    124 	-fuse-ld=gold \
    125 	-Wno-psabi \
    126 	-ffunction-sections \
    127 	-funwind-tables \
    128 	-g \
    129 	-fstack-protector \
    130 	-fno-short-enums \
    131 	-finline-limit=64 \
    132 	-Wa,--noexecstack \
    133 	-U_FORTIFY_SOURCE \
    134 	-Wno-extra \
    135 	-Wno-ignored-qualifiers \
    136 	-Wno-type-limits \
    137 	-Os \
    138 	-fno-ident \
    139 	-fdata-sections \
    140 	-ffunction-sections \
    141 	-fomit-frame-pointer
    142 
    143 MY_DEFS_Release := \
    144 	'-DV8_DEPRECATION_WARNINGS' \
    145 	'-D_FILE_OFFSET_BITS=64' \
    146 	'-DNO_TCMALLOC' \
    147 	'-DDISABLE_NACL' \
    148 	'-DCHROMIUM_BUILD' \
    149 	'-DUSE_LIBJPEG_TURBO=1' \
    150 	'-DUSE_PROPRIETARY_CODECS' \
    151 	'-DENABLE_CONFIGURATION_POLICY' \
    152 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    153 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    154 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    155 	'-DUSE_OPENSSL=1' \
    156 	'-DENABLE_EGLIMAGE=1' \
    157 	'-DCLD_VERSION=1' \
    158 	'-DENABLE_PRINTING=1' \
    159 	'-DENABLE_MANAGED_USERS=1' \
    160 	'-D__STDC_CONSTANT_MACROS' \
    161 	'-D__STDC_FORMAT_MACROS' \
    162 	'-DANDROID' \
    163 	'-D__GNU_SOURCE=1' \
    164 	'-DUSE_STLPORT=1' \
    165 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    166 	'-DCHROME_BUILD_ID=""' \
    167 	'-DNDEBUG' \
    168 	'-DNVALGRIND' \
    169 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    170 	'-D_FORTIFY_SOURCE=2'
    171 
    172 
    173 # Include paths placed before CFLAGS/CPPFLAGS
    174 LOCAL_C_INCLUDES_Release := \
    175 	$(LOCAL_PATH)/sandbox \
    176 	$(PWD)/frameworks/wilhelm/include \
    177 	$(PWD)/bionic \
    178 	$(PWD)/external/stlport/stlport
    179 
    180 
    181 # Flags passed to only C++ (and not C) files.
    182 LOCAL_CPPFLAGS_Release := \
    183 	-fno-rtti \
    184 	-fno-threadsafe-statics \
    185 	-fvisibility-inlines-hidden \
    186 	-Wsign-compare \
    187 	-Wno-abi \
    188 	-Wno-error=c++0x-compat \
    189 	-Wno-non-virtual-dtor \
    190 	-Wno-sign-promo
    191 
    192 
    193 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    194 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    195 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    196 ### Rules for final target.
    197 # Add target alias to "gyp_all_modules" target.
    198 .PHONY: gyp_all_modules
    199 gyp_all_modules: sandbox_sandbox_services_headers_gyp
    200 
    201 # Alias gyp target name.
    202 .PHONY: sandbox_services_headers
    203 sandbox_services_headers: sandbox_sandbox_services_headers_gyp
    204 
    205 LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
    206 LOCAL_UNINSTALLABLE_MODULE := true
    207 
    208 include $(BUILD_SYSTEM)/base_rules.mk
    209 
    210 $(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
    211 	$(hide) echo "Gyp timestamp: $@"
    212 	$(hide) mkdir -p $(dir $@)
    213 	$(hide) touch $@
    214