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