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