Home | History | Annotate | Download | only in libphonenumber
      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 := third_party_libphonenumber_libphonenumber_without_metadata_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 	$(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp,,,$(GYP_VAR_PREFIX))/icui18n.stamp \
     15 	$(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp \
     16 	$(gyp_shared_intermediate_dir)/protoc
     17 
     18 
     19 ### Generated for rule "third_party_libphonenumber_libphonenumber_gyp_libphonenumber_without_metadata_target_genproto":
     20 # "{'inputs': ['../../tools/protoc_wrapper/protoc_wrapper.py', '$(gyp_shared_intermediate_dir)/protoc'], 'process_outputs_as_sources': '1', 'extension': 'proto', 'outputs': ['$(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/%(INPUT_ROOT)s_pb2.py', '$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/%(INPUT_ROOT)s.pb.cc', '$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/%(INPUT_ROOT)s.pb.h'], 'rule_name': 'genproto', 'rule_sources': ['src/resources/phonemetadata.proto', 'src/resources/phonenumber.proto'], 'action': ['python', '../../tools/protoc_wrapper/protoc_wrapper.py', '--include', '', '--protobuf', '$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/%(INPUT_ROOT)s.pb.h', '--proto-in-dir', 'src/resources', '--proto-in-file', '%(INPUT_ROOT)s$(suffix $<)', '--use-system-protobuf=0', '--', '$(gyp_shared_intermediate_dir)/protoc', '--cpp_out', '$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers', '--python_out', '$(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers'], 'message': 'Generating C++ and Python code from $(RULE_SOURCES)'}":
     21 $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonemetadata_pb2.py: gyp_local_path := $(LOCAL_PATH)
     22 $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonemetadata_pb2.py: gyp_var_prefix := $(GYP_VAR_PREFIX)
     23 $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonemetadata_pb2.py: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     24 $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonemetadata_pb2.py: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     25 $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonemetadata_pb2.py: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     26 $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonemetadata_pb2.py: $(LOCAL_PATH)/third_party/libphonenumber/src/resources/phonemetadata.proto $(LOCAL_PATH)/tools/protoc_wrapper/protoc_wrapper.py $(gyp_shared_intermediate_dir)/protoc $(GYP_TARGET_DEPENDENCIES)
     27 	mkdir -p $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers; cd $(gyp_local_path)/third_party/libphonenumber; python ../../tools/protoc_wrapper/protoc_wrapper.py --include "" --protobuf "$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h" --proto-in-dir src/resources --proto-in-file "phonemetadata$(suffix $<)" "--use-system-protobuf=0" -- "$(gyp_shared_intermediate_dir)/protoc" --cpp_out "$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers" --python_out "$(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers"
     28 
     29 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.cc: $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonemetadata_pb2.py ;
     30 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h: $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonemetadata_pb2.py ;
     31 
     32 $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonenumber_pb2.py: gyp_local_path := $(LOCAL_PATH)
     33 $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonenumber_pb2.py: gyp_var_prefix := $(GYP_VAR_PREFIX)
     34 $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonenumber_pb2.py: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
     35 $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonenumber_pb2.py: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
     36 $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonenumber_pb2.py: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
     37 $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonenumber_pb2.py: $(LOCAL_PATH)/third_party/libphonenumber/src/resources/phonenumber.proto $(LOCAL_PATH)/tools/protoc_wrapper/protoc_wrapper.py $(gyp_shared_intermediate_dir)/protoc $(GYP_TARGET_DEPENDENCIES)
     38 	mkdir -p $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers; cd $(gyp_local_path)/third_party/libphonenumber; python ../../tools/protoc_wrapper/protoc_wrapper.py --include "" --protobuf "$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/phonenumber.pb.h" --proto-in-dir src/resources --proto-in-file "phonenumber$(suffix $<)" "--use-system-protobuf=0" -- "$(gyp_shared_intermediate_dir)/protoc" --cpp_out "$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers" --python_out "$(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers"
     39 
     40 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/phonenumber.pb.cc: $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonenumber_pb2.py ;
     41 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/phonenumber.pb.h: $(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonenumber_pb2.py ;
     42 
     43 
     44 GYP_GENERATED_OUTPUTS := \
     45 	$(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonemetadata_pb2.py \
     46 	$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.cc \
     47 	$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h \
     48 	$(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonenumber_pb2.py \
     49 	$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/phonenumber.pb.cc \
     50 	$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/phonenumber.pb.h
     51 
     52 # Make sure our deps and generated files are built first.
     53 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     54 
     55 LOCAL_CPP_EXTENSION := .cc
     56 $(gyp_intermediate_dir)/phonemetadata.pb.cc: $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.cc
     57 	mkdir -p $(@D); cp $< $@
     58 $(gyp_intermediate_dir)/phonenumber.pb.cc: $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/phonenumber.pb.cc
     59 	mkdir -p $(@D); cp $< $@
     60 LOCAL_GENERATED_SOURCES := \
     61 	$(gyp_intermediate_dir)/phonemetadata.pb.cc \
     62 	$(gyp_intermediate_dir)/phonenumber.pb.cc \
     63 	$(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonemetadata_pb2.py \
     64 	$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/phonemetadata.pb.h \
     65 	$(gyp_shared_intermediate_dir)/pyproto/third_party/libphonenumber/phonenumbers/phonenumber_pb2.py \
     66 	$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers/phonenumber.pb.h
     67 
     68 GYP_COPIED_SOURCE_ORIGIN_DIRS := \
     69 	$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber/phonenumbers
     70 
     71 LOCAL_SRC_FILES := \
     72 	third_party/libphonenumber/src/phonenumbers/asyoutypeformatter.cc \
     73 	third_party/libphonenumber/src/phonenumbers/base/strings/string_piece.cc \
     74 	third_party/libphonenumber/src/phonenumbers/default_logger.cc \
     75 	third_party/libphonenumber/src/phonenumbers/logger.cc \
     76 	third_party/libphonenumber/src/phonenumbers/phonenumber.cc \
     77 	third_party/libphonenumber/src/phonenumbers/phonenumbermatch.cc \
     78 	third_party/libphonenumber/src/phonenumbers/phonenumbermatcher.cc \
     79 	third_party/libphonenumber/src/phonenumbers/phonenumberutil.cc \
     80 	third_party/libphonenumber/src/phonenumbers/regexp_adapter_icu.cc \
     81 	third_party/libphonenumber/src/phonenumbers/regexp_cache.cc \
     82 	third_party/libphonenumber/src/phonenumbers/string_byte_sink.cc \
     83 	third_party/libphonenumber/src/phonenumbers/stringutil.cc \
     84 	third_party/libphonenumber/src/phonenumbers/unicodestring.cc \
     85 	third_party/libphonenumber/src/phonenumbers/utf/rune.c \
     86 	third_party/libphonenumber/src/phonenumbers/utf/unicodetext.cc \
     87 	third_party/libphonenumber/src/phonenumbers/utf/unilib.cc
     88 
     89 
     90 # Flags passed to both C and C++ files.
     91 MY_CFLAGS_Debug := \
     92 	-fstack-protector \
     93 	--param=ssp-buffer-size=4 \
     94 	-fno-strict-aliasing \
     95 	-Wno-unused-parameter \
     96 	-Wno-missing-field-initializers \
     97 	-fvisibility=hidden \
     98 	-pipe \
     99 	-fPIC \
    100 	-Wno-unused-local-typedefs \
    101 	-Wno-format \
    102 	-fno-tree-sra \
    103 	-fno-caller-saves \
    104 	-Wno-psabi \
    105 	-fno-partial-inlining \
    106 	-fno-early-inlining \
    107 	-fno-tree-copy-prop \
    108 	-fno-tree-loop-optimize \
    109 	-fno-move-loop-invariants \
    110 	-ffunction-sections \
    111 	-funwind-tables \
    112 	-g \
    113 	-fstack-protector \
    114 	-fno-short-enums \
    115 	-finline-limit=64 \
    116 	-Wa,--noexecstack \
    117 	-U_FORTIFY_SOURCE \
    118 	-Wno-extra \
    119 	-Wno-ignored-qualifiers \
    120 	-Wno-type-limits \
    121 	-Wno-unused-but-set-variable \
    122 	-Wno-address \
    123 	-Wno-format-security \
    124 	-Wno-return-type \
    125 	-Wno-sequence-point \
    126 	-Os \
    127 	-g \
    128 	-gdwarf-4 \
    129 	-fdata-sections \
    130 	-ffunction-sections \
    131 	-fomit-frame-pointer \
    132 	-funwind-tables
    133 
    134 MY_DEFS_Debug := \
    135 	'-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \
    136 	'-DV8_DEPRECATION_WARNINGS' \
    137 	'-D_FILE_OFFSET_BITS=64' \
    138 	'-DNO_TCMALLOC' \
    139 	'-DDISABLE_NACL' \
    140 	'-DCHROMIUM_BUILD' \
    141 	'-DUSE_LIBJPEG_TURBO=1' \
    142 	'-DENABLE_WEBRTC=1' \
    143 	'-DUSE_PROPRIETARY_CODECS' \
    144 	'-DENABLE_BROWSER_CDMS' \
    145 	'-DENABLE_CONFIGURATION_POLICY' \
    146 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    147 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    148 	'-DENABLE_EGLIMAGE=1' \
    149 	'-DCLD_VERSION=1' \
    150 	'-DENABLE_PRINTING=1' \
    151 	'-DENABLE_MANAGED_USERS=1' \
    152 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    153 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    154 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    155 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    156 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    157 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    158 	'-DVIDEO_HOLE=1' \
    159 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    160 	'-DU_USING_ICU_NAMESPACE=0' \
    161 	'-DU_ENABLE_DYLOAD=0' \
    162 	'-DPROTOBUF_USE_DLLS' \
    163 	'-DGOOGLE_PROTOBUF_NO_RTTI' \
    164 	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
    165 	'-DUSE_OPENSSL=1' \
    166 	'-DUSE_OPENSSL_CERTS=1' \
    167 	'-DANDROID' \
    168 	'-D__GNU_SOURCE=1' \
    169 	'-DUSE_STLPORT=1' \
    170 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    171 	'-DCHROME_BUILD_ID=""' \
    172 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    173 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    174 	'-D_DEBUG'
    175 
    176 
    177 # Include paths placed before CFLAGS/CPPFLAGS
    178 LOCAL_C_INCLUDES_Debug := \
    179 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    180 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    181 	$(LOCAL_PATH)/third_party/libphonenumber/src \
    182 	$(LOCAL_PATH)/third_party/libphonenumber/src/test \
    183 	$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \
    184 	$(gyp_shared_intermediate_dir) \
    185 	$(gyp_shared_intermediate_dir)/protoc_out \
    186 	$(LOCAL_PATH) \
    187 	$(PWD)/external/icu/icu4c/source/common \
    188 	$(PWD)/external/icu/icu4c/source/i18n \
    189 	$(LOCAL_PATH)/third_party/protobuf \
    190 	$(LOCAL_PATH)/third_party/protobuf/src \
    191 	$(PWD)/frameworks/wilhelm/include \
    192 	$(PWD)/bionic \
    193 	$(PWD)/external/stlport/stlport
    194 
    195 
    196 # Flags passed to only C++ (and not C) files.
    197 LOCAL_CPPFLAGS_Debug := \
    198 	-fno-exceptions \
    199 	-fno-rtti \
    200 	-fno-threadsafe-statics \
    201 	-fvisibility-inlines-hidden \
    202 	-Wno-deprecated \
    203 	-Wno-abi \
    204 	-std=gnu++11 \
    205 	-Wno-narrowing \
    206 	-Wno-literal-suffix \
    207 	-Wno-non-virtual-dtor \
    208 	-Wno-sign-promo \
    209 	-Wno-non-virtual-dtor
    210 
    211 
    212 # Flags passed to both C and C++ files.
    213 MY_CFLAGS_Release := \
    214 	-fstack-protector \
    215 	--param=ssp-buffer-size=4 \
    216 	-fno-strict-aliasing \
    217 	-Wno-unused-parameter \
    218 	-Wno-missing-field-initializers \
    219 	-fvisibility=hidden \
    220 	-pipe \
    221 	-fPIC \
    222 	-Wno-unused-local-typedefs \
    223 	-Wno-format \
    224 	-fno-tree-sra \
    225 	-fno-caller-saves \
    226 	-Wno-psabi \
    227 	-fno-partial-inlining \
    228 	-fno-early-inlining \
    229 	-fno-tree-copy-prop \
    230 	-fno-tree-loop-optimize \
    231 	-fno-move-loop-invariants \
    232 	-ffunction-sections \
    233 	-funwind-tables \
    234 	-g \
    235 	-fstack-protector \
    236 	-fno-short-enums \
    237 	-finline-limit=64 \
    238 	-Wa,--noexecstack \
    239 	-U_FORTIFY_SOURCE \
    240 	-Wno-extra \
    241 	-Wno-ignored-qualifiers \
    242 	-Wno-type-limits \
    243 	-Wno-unused-but-set-variable \
    244 	-Wno-address \
    245 	-Wno-format-security \
    246 	-Wno-return-type \
    247 	-Wno-sequence-point \
    248 	-Os \
    249 	-fno-ident \
    250 	-fdata-sections \
    251 	-ffunction-sections \
    252 	-fomit-frame-pointer \
    253 	-funwind-tables
    254 
    255 MY_DEFS_Release := \
    256 	'-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \
    257 	'-DV8_DEPRECATION_WARNINGS' \
    258 	'-D_FILE_OFFSET_BITS=64' \
    259 	'-DNO_TCMALLOC' \
    260 	'-DDISABLE_NACL' \
    261 	'-DCHROMIUM_BUILD' \
    262 	'-DUSE_LIBJPEG_TURBO=1' \
    263 	'-DENABLE_WEBRTC=1' \
    264 	'-DUSE_PROPRIETARY_CODECS' \
    265 	'-DENABLE_BROWSER_CDMS' \
    266 	'-DENABLE_CONFIGURATION_POLICY' \
    267 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    268 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    269 	'-DENABLE_EGLIMAGE=1' \
    270 	'-DCLD_VERSION=1' \
    271 	'-DENABLE_PRINTING=1' \
    272 	'-DENABLE_MANAGED_USERS=1' \
    273 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    274 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    275 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    276 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    277 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    278 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    279 	'-DVIDEO_HOLE=1' \
    280 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    281 	'-DU_USING_ICU_NAMESPACE=0' \
    282 	'-DU_ENABLE_DYLOAD=0' \
    283 	'-DPROTOBUF_USE_DLLS' \
    284 	'-DGOOGLE_PROTOBUF_NO_RTTI' \
    285 	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
    286 	'-DUSE_OPENSSL=1' \
    287 	'-DUSE_OPENSSL_CERTS=1' \
    288 	'-DANDROID' \
    289 	'-D__GNU_SOURCE=1' \
    290 	'-DUSE_STLPORT=1' \
    291 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    292 	'-DCHROME_BUILD_ID=""' \
    293 	'-DNDEBUG' \
    294 	'-DNVALGRIND' \
    295 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
    296 
    297 
    298 # Include paths placed before CFLAGS/CPPFLAGS
    299 LOCAL_C_INCLUDES_Release := \
    300 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    301 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    302 	$(LOCAL_PATH)/third_party/libphonenumber/src \
    303 	$(LOCAL_PATH)/third_party/libphonenumber/src/test \
    304 	$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \
    305 	$(gyp_shared_intermediate_dir) \
    306 	$(gyp_shared_intermediate_dir)/protoc_out \
    307 	$(LOCAL_PATH) \
    308 	$(PWD)/external/icu/icu4c/source/common \
    309 	$(PWD)/external/icu/icu4c/source/i18n \
    310 	$(LOCAL_PATH)/third_party/protobuf \
    311 	$(LOCAL_PATH)/third_party/protobuf/src \
    312 	$(PWD)/frameworks/wilhelm/include \
    313 	$(PWD)/bionic \
    314 	$(PWD)/external/stlport/stlport
    315 
    316 
    317 # Flags passed to only C++ (and not C) files.
    318 LOCAL_CPPFLAGS_Release := \
    319 	-fno-exceptions \
    320 	-fno-rtti \
    321 	-fno-threadsafe-statics \
    322 	-fvisibility-inlines-hidden \
    323 	-Wno-deprecated \
    324 	-Wno-abi \
    325 	-std=gnu++11 \
    326 	-Wno-narrowing \
    327 	-Wno-literal-suffix \
    328 	-Wno-non-virtual-dtor \
    329 	-Wno-sign-promo \
    330 	-Wno-non-virtual-dtor
    331 
    332 
    333 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    334 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    335 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    336 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    337 ### Rules for final target.
    338 
    339 LOCAL_SHARED_LIBRARIES := \
    340 	libstlport \
    341 	libdl
    342 
    343 # Add target alias to "gyp_all_modules" target.
    344 .PHONY: gyp_all_modules
    345 gyp_all_modules: third_party_libphonenumber_libphonenumber_without_metadata_gyp
    346 
    347 # Alias gyp target name.
    348 .PHONY: libphonenumber_without_metadata
    349 libphonenumber_without_metadata: third_party_libphonenumber_libphonenumber_without_metadata_gyp
    350 
    351 include $(BUILD_STATIC_LIBRARY)
    352