Home | History | Annotate | Download | only in base
      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 := base_base_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TAGS := optional
      9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
     10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
     11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     12 
     13 # Make sure our deps are built first.
     14 GYP_TARGET_DEPENDENCIES := \
     15 	$(call intermediates-dir-for,GYP,testing_gtest_prod_gyp,,,$(GYP_VAR_PREFIX))/gtest_prod.stamp \
     16 	$(call intermediates-dir-for,GYP,base_base_jni_headers_gyp,,,$(GYP_VAR_PREFIX))/base_jni_headers.stamp \
     17 	$(call intermediates-dir-for,GYP,third_party_ashmem_ashmem_gyp,,,$(GYP_VAR_PREFIX))/ashmem.stamp
     18 
     19 GYP_GENERATED_OUTPUTS :=
     20 
     21 # Make sure our deps and generated files are built first.
     22 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     23 
     24 LOCAL_CPP_EXTENSION := .cc
     25 LOCAL_GENERATED_SOURCES :=
     26 
     27 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     28 
     29 LOCAL_SRC_FILES := \
     30 	base/async_socket_io_handler_posix.cc \
     31 	base/event_recorder_stubs.cc \
     32 	base/linux_util.cc \
     33 	base/message_loop/message_pump_android.cc \
     34 	base/message_loop/message_pump_libevent.cc \
     35 	base/metrics/field_trial.cc \
     36 	base/posix/file_descriptor_shuffle.cc \
     37 	base/sync_socket_posix.cc \
     38 	base/third_party/dmg_fp/g_fmt.cc \
     39 	base/third_party/dmg_fp/dtoa_wrapper.cc \
     40 	base/third_party/icu/icu_utf.cc \
     41 	base/third_party/nspr/prtime.cc \
     42 	base/third_party/superfasthash/superfasthash.c \
     43 	base/allocator/allocator_extension.cc \
     44 	base/allocator/type_profiler_control.cc \
     45 	base/android/application_status_listener.cc \
     46 	base/android/base_jni_registrar.cc \
     47 	base/android/build_info.cc \
     48 	base/android/command_line_android.cc \
     49 	base/android/content_uri_utils.cc \
     50 	base/android/cpu_features.cc \
     51 	base/android/event_log.cc \
     52 	base/android/fifo_utils.cc \
     53 	base/android/important_file_writer_android.cc \
     54 	base/android/scoped_java_ref.cc \
     55 	base/android/jni_android.cc \
     56 	base/android/jni_array.cc \
     57 	base/android/jni_registrar.cc \
     58 	base/android/jni_string.cc \
     59 	base/android/jni_utils.cc \
     60 	base/android/jni_weak_ref.cc \
     61 	base/android/library_loader/library_loader_hooks.cc \
     62 	base/android/memory_pressure_listener_android.cc \
     63 	base/android/java_handler_thread.cc \
     64 	base/android/path_service_android.cc \
     65 	base/android/path_utils.cc \
     66 	base/android/sys_utils.cc \
     67 	base/android/trace_event_binding.cc \
     68 	base/at_exit.cc \
     69 	base/barrier_closure.cc \
     70 	base/base64.cc \
     71 	base/base_paths.cc \
     72 	base/base_paths_android.cc \
     73 	base/big_endian.cc \
     74 	base/bind_helpers.cc \
     75 	base/build_time.cc \
     76 	base/callback_helpers.cc \
     77 	base/callback_internal.cc \
     78 	base/command_line.cc \
     79 	base/cpu.cc \
     80 	base/debug/alias.cc \
     81 	base/debug/asan_invalid_access.cc \
     82 	base/debug/crash_logging.cc \
     83 	base/debug/debugger.cc \
     84 	base/debug/debugger_posix.cc \
     85 	base/debug/dump_without_crashing.cc \
     86 	base/debug/proc_maps_linux.cc \
     87 	base/debug/profiler.cc \
     88 	base/debug/stack_trace.cc \
     89 	base/debug/stack_trace_android.cc \
     90 	base/debug/trace_event_android.cc \
     91 	base/debug/trace_event_impl.cc \
     92 	base/debug/trace_event_impl_constants.cc \
     93 	base/debug/trace_event_synthetic_delay.cc \
     94 	base/debug/trace_event_system_stats_monitor.cc \
     95 	base/debug/trace_event_memory.cc \
     96 	base/deferred_sequenced_task_runner.cc \
     97 	base/environment.cc \
     98 	base/file_util.cc \
     99 	base/file_util_android.cc \
    100 	base/file_util_posix.cc \
    101 	base/files/file.cc \
    102 	base/files/file_enumerator.cc \
    103 	base/files/file_enumerator_posix.cc \
    104 	base/files/file_path.cc \
    105 	base/files/file_path_constants.cc \
    106 	base/files/file_path_watcher.cc \
    107 	base/files/file_path_watcher_linux.cc \
    108 	base/files/file_posix.cc \
    109 	base/files/file_proxy.cc \
    110 	base/files/file_util_proxy.cc \
    111 	base/files/important_file_writer.cc \
    112 	base/files/memory_mapped_file.cc \
    113 	base/files/memory_mapped_file_posix.cc \
    114 	base/files/scoped_file.cc \
    115 	base/files/scoped_platform_file_closer.cc \
    116 	base/files/scoped_temp_dir.cc \
    117 	base/guid.cc \
    118 	base/guid_posix.cc \
    119 	base/hash.cc \
    120 	base/ini_parser.cc \
    121 	base/json/json_file_value_serializer.cc \
    122 	base/json/json_parser.cc \
    123 	base/json/json_reader.cc \
    124 	base/json/json_string_value_serializer.cc \
    125 	base/json/json_writer.cc \
    126 	base/json/string_escape.cc \
    127 	base/lazy_instance.cc \
    128 	base/location.cc \
    129 	base/logging.cc \
    130 	base/md5.cc \
    131 	base/memory/aligned_memory.cc \
    132 	base/memory/discardable_memory.cc \
    133 	base/memory/discardable_memory_android.cc \
    134 	base/memory/discardable_memory_emulated.cc \
    135 	base/memory/discardable_memory_malloc.cc \
    136 	base/memory/discardable_memory_manager.cc \
    137 	base/memory/memory_pressure_listener.cc \
    138 	base/memory/ref_counted.cc \
    139 	base/memory/ref_counted_memory.cc \
    140 	base/memory/shared_memory_android.cc \
    141 	base/memory/shared_memory_posix.cc \
    142 	base/memory/singleton.cc \
    143 	base/memory/weak_ptr.cc \
    144 	base/message_loop/incoming_task_queue.cc \
    145 	base/message_loop/message_loop.cc \
    146 	base/message_loop/message_loop_proxy.cc \
    147 	base/message_loop/message_loop_proxy_impl.cc \
    148 	base/message_loop/message_pump.cc \
    149 	base/message_loop/message_pump_default.cc \
    150 	base/metrics/sample_map.cc \
    151 	base/metrics/sample_vector.cc \
    152 	base/metrics/bucket_ranges.cc \
    153 	base/metrics/histogram.cc \
    154 	base/metrics/histogram_base.cc \
    155 	base/metrics/histogram_delta_serialization.cc \
    156 	base/metrics/histogram_samples.cc \
    157 	base/metrics/histogram_snapshot_manager.cc \
    158 	base/metrics/sparse_histogram.cc \
    159 	base/metrics/statistics_recorder.cc \
    160 	base/metrics/stats_counters.cc \
    161 	base/metrics/stats_table.cc \
    162 	base/metrics/user_metrics.cc \
    163 	base/native_library_posix.cc \
    164 	base/os_compat_android.cc \
    165 	base/path_service.cc \
    166 	base/pending_task.cc \
    167 	base/pickle.cc \
    168 	base/platform_file.cc \
    169 	base/platform_file_posix.cc \
    170 	base/posix/global_descriptors.cc \
    171 	base/posix/unix_domain_socket_linux.cc \
    172 	base/power_monitor/power_monitor.cc \
    173 	base/power_monitor/power_monitor_device_source_android.cc \
    174 	base/power_monitor/power_monitor_device_source.cc \
    175 	base/power_monitor/power_monitor_source.cc \
    176 	base/process/internal_linux.cc \
    177 	base/process/kill.cc \
    178 	base/process/kill_posix.cc \
    179 	base/process/launch.cc \
    180 	base/process/launch_posix.cc \
    181 	base/process/memory.cc \
    182 	base/process/memory_linux.cc \
    183 	base/process/process_handle_linux.cc \
    184 	base/process/process_handle_posix.cc \
    185 	base/process/process_iterator.cc \
    186 	base/process/process_iterator_linux.cc \
    187 	base/process/process_metrics.cc \
    188 	base/process/process_metrics_linux.cc \
    189 	base/process/process_metrics_posix.cc \
    190 	base/process/process_posix.cc \
    191 	base/profiler/scoped_profile.cc \
    192 	base/profiler/alternate_timer.cc \
    193 	base/profiler/tracked_time.cc \
    194 	base/rand_util.cc \
    195 	base/rand_util_posix.cc \
    196 	base/run_loop.cc \
    197 	base/safe_strerror_posix.cc \
    198 	base/scoped_native_library.cc \
    199 	base/sequence_checker_impl.cc \
    200 	base/sequenced_task_runner.cc \
    201 	base/sha1_portable.cc \
    202 	base/strings/latin1_string_conversions.cc \
    203 	base/strings/nullable_string16.cc \
    204 	base/strings/safe_sprintf.cc \
    205 	base/strings/string16.cc \
    206 	base/strings/string_number_conversions.cc \
    207 	base/strings/string_split.cc \
    208 	base/strings/string_piece.cc \
    209 	base/strings/string_util.cc \
    210 	base/strings/string_util_constants.cc \
    211 	base/strings/stringprintf.cc \
    212 	base/strings/sys_string_conversions_posix.cc \
    213 	base/strings/utf_offset_string_conversions.cc \
    214 	base/strings/utf_string_conversion_utils.cc \
    215 	base/strings/utf_string_conversions.cc \
    216 	base/supports_user_data.cc \
    217 	base/synchronization/cancellation_flag.cc \
    218 	base/synchronization/condition_variable_posix.cc \
    219 	base/synchronization/lock.cc \
    220 	base/synchronization/lock_impl_posix.cc \
    221 	base/synchronization/waitable_event_posix.cc \
    222 	base/synchronization/waitable_event_watcher_posix.cc \
    223 	base/system_monitor/system_monitor.cc \
    224 	base/sys_info.cc \
    225 	base/sys_info_android.cc \
    226 	base/sys_info_linux.cc \
    227 	base/sys_info_posix.cc \
    228 	base/task/cancelable_task_tracker.cc \
    229 	base/task_runner.cc \
    230 	base/thread_task_runner_handle.cc \
    231 	base/threading/non_thread_safe_impl.cc \
    232 	base/threading/platform_thread_android.cc \
    233 	base/threading/platform_thread_posix.cc \
    234 	base/threading/post_task_and_reply_impl.cc \
    235 	base/threading/sequenced_worker_pool.cc \
    236 	base/threading/simple_thread.cc \
    237 	base/threading/thread.cc \
    238 	base/threading/thread_checker_impl.cc \
    239 	base/threading/thread_collision_warner.cc \
    240 	base/threading/thread_id_name_manager.cc \
    241 	base/threading/thread_local_android.cc \
    242 	base/threading/thread_local_posix.cc \
    243 	base/threading/thread_local_storage.cc \
    244 	base/threading/thread_local_storage_posix.cc \
    245 	base/threading/thread_restrictions.cc \
    246 	base/threading/watchdog.cc \
    247 	base/threading/worker_pool.cc \
    248 	base/threading/worker_pool_posix.cc \
    249 	base/time/clock.cc \
    250 	base/time/default_clock.cc \
    251 	base/time/default_tick_clock.cc \
    252 	base/time/tick_clock.cc \
    253 	base/time/time.cc \
    254 	base/time/time_posix.cc \
    255 	base/timer/elapsed_timer.cc \
    256 	base/timer/hi_res_timer_manager_posix.cc \
    257 	base/timer/mock_timer.cc \
    258 	base/timer/timer.cc \
    259 	base/tracked_objects.cc \
    260 	base/tracking_info.cc \
    261 	base/values.cc \
    262 	base/value_conversions.cc \
    263 	base/version.cc \
    264 	base/vlog.cc \
    265 	base/memory/discardable_memory_ashmem_allocator.cc \
    266 	base/memory/discardable_memory_ashmem.cc
    267 
    268 
    269 # Flags passed to both C and C++ files.
    270 MY_CFLAGS_Debug := \
    271 	-fstack-protector \
    272 	--param=ssp-buffer-size=4 \
    273 	-Werror \
    274 	-fno-exceptions \
    275 	-fno-strict-aliasing \
    276 	-Wall \
    277 	-Wno-unused-parameter \
    278 	-Wno-missing-field-initializers \
    279 	-fvisibility=hidden \
    280 	-pipe \
    281 	-fPIC \
    282 	-Wno-unused-local-typedefs \
    283 	-fno-tree-sra \
    284 	-fno-partial-inlining \
    285 	-fno-early-inlining \
    286 	-fno-tree-copy-prop \
    287 	-fno-tree-loop-optimize \
    288 	-fno-move-loop-invariants \
    289 	-fno-caller-saves \
    290 	-Wno-psabi \
    291 	-ffunction-sections \
    292 	-funwind-tables \
    293 	-g \
    294 	-fstack-protector \
    295 	-fno-short-enums \
    296 	-finline-limit=64 \
    297 	-Wa,--noexecstack \
    298 	-U_FORTIFY_SOURCE \
    299 	-Wno-extra \
    300 	-Wno-ignored-qualifiers \
    301 	-Wno-type-limits \
    302 	-Wno-unused-but-set-variable \
    303 	-Os \
    304 	-g \
    305 	-fdata-sections \
    306 	-ffunction-sections \
    307 	-fomit-frame-pointer \
    308 	-funwind-tables
    309 
    310 MY_DEFS_Debug := \
    311 	'-DV8_DEPRECATION_WARNINGS' \
    312 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    313 	'-D_FILE_OFFSET_BITS=64' \
    314 	'-DNO_TCMALLOC' \
    315 	'-DDISABLE_NACL' \
    316 	'-DCHROMIUM_BUILD' \
    317 	'-DUSE_LIBJPEG_TURBO=1' \
    318 	'-DENABLE_WEBRTC=1' \
    319 	'-DUSE_PROPRIETARY_CODECS' \
    320 	'-DENABLE_BROWSER_CDMS' \
    321 	'-DENABLE_CONFIGURATION_POLICY' \
    322 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    323 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    324 	'-DENABLE_EGLIMAGE=1' \
    325 	'-DCLD_VERSION=1' \
    326 	'-DENABLE_PRINTING=1' \
    327 	'-DENABLE_MANAGED_USERS=1' \
    328 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    329 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    330 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    331 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    332 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    333 	'-DVIDEO_HOLE=1' \
    334 	'-DUSE_OPENSSL=1' \
    335 	'-DUSE_OPENSSL_CERTS=1' \
    336 	'-D__STDC_CONSTANT_MACROS' \
    337 	'-D__STDC_FORMAT_MACROS' \
    338 	'-DBASE_IMPLEMENTATION' \
    339 	'-DANDROID_SINCOS_PROVIDED' \
    340 	'-DANDROID' \
    341 	'-D__GNU_SOURCE=1' \
    342 	'-DUSE_STLPORT=1' \
    343 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    344 	'-DCHROME_BUILD_ID=""' \
    345 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    346 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    347 	'-D_DEBUG'
    348 
    349 
    350 # Include paths placed before CFLAGS/CPPFLAGS
    351 LOCAL_C_INCLUDES_Debug := \
    352 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    353 	$(gyp_shared_intermediate_dir) \
    354 	$(gyp_shared_intermediate_dir)/base \
    355 	$(LOCAL_PATH) \
    356 	$(PWD)/frameworks/wilhelm/include \
    357 	$(PWD)/bionic \
    358 	$(PWD)/external/stlport/stlport
    359 
    360 
    361 # Flags passed to only C++ (and not C) files.
    362 LOCAL_CPPFLAGS_Debug := \
    363 	-fno-rtti \
    364 	-fno-threadsafe-statics \
    365 	-fvisibility-inlines-hidden \
    366 	-Wsign-compare \
    367 	-Wno-abi \
    368 	-Wno-non-virtual-dtor \
    369 	-Wno-sign-promo
    370 
    371 
    372 LOCAL_FDO_SUPPORT_Debug := false
    373 
    374 # Flags passed to both C and C++ files.
    375 MY_CFLAGS_Release := \
    376 	-fstack-protector \
    377 	--param=ssp-buffer-size=4 \
    378 	-Werror \
    379 	-fno-exceptions \
    380 	-fno-strict-aliasing \
    381 	-Wall \
    382 	-Wno-unused-parameter \
    383 	-Wno-missing-field-initializers \
    384 	-fvisibility=hidden \
    385 	-pipe \
    386 	-fPIC \
    387 	-Wno-unused-local-typedefs \
    388 	-fno-tree-sra \
    389 	-fno-partial-inlining \
    390 	-fno-early-inlining \
    391 	-fno-tree-copy-prop \
    392 	-fno-tree-loop-optimize \
    393 	-fno-move-loop-invariants \
    394 	-fno-caller-saves \
    395 	-Wno-psabi \
    396 	-ffunction-sections \
    397 	-funwind-tables \
    398 	-g \
    399 	-fstack-protector \
    400 	-fno-short-enums \
    401 	-finline-limit=64 \
    402 	-Wa,--noexecstack \
    403 	-U_FORTIFY_SOURCE \
    404 	-Wno-extra \
    405 	-Wno-ignored-qualifiers \
    406 	-Wno-type-limits \
    407 	-Wno-unused-but-set-variable \
    408 	-Os \
    409 	-fno-ident \
    410 	-fdata-sections \
    411 	-ffunction-sections \
    412 	-fomit-frame-pointer \
    413 	-funwind-tables
    414 
    415 MY_DEFS_Release := \
    416 	'-DV8_DEPRECATION_WARNINGS' \
    417 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    418 	'-D_FILE_OFFSET_BITS=64' \
    419 	'-DNO_TCMALLOC' \
    420 	'-DDISABLE_NACL' \
    421 	'-DCHROMIUM_BUILD' \
    422 	'-DUSE_LIBJPEG_TURBO=1' \
    423 	'-DENABLE_WEBRTC=1' \
    424 	'-DUSE_PROPRIETARY_CODECS' \
    425 	'-DENABLE_BROWSER_CDMS' \
    426 	'-DENABLE_CONFIGURATION_POLICY' \
    427 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    428 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    429 	'-DENABLE_EGLIMAGE=1' \
    430 	'-DCLD_VERSION=1' \
    431 	'-DENABLE_PRINTING=1' \
    432 	'-DENABLE_MANAGED_USERS=1' \
    433 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    434 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    435 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    436 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    437 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    438 	'-DVIDEO_HOLE=1' \
    439 	'-DUSE_OPENSSL=1' \
    440 	'-DUSE_OPENSSL_CERTS=1' \
    441 	'-D__STDC_CONSTANT_MACROS' \
    442 	'-D__STDC_FORMAT_MACROS' \
    443 	'-DBASE_IMPLEMENTATION' \
    444 	'-DANDROID_SINCOS_PROVIDED' \
    445 	'-DANDROID' \
    446 	'-D__GNU_SOURCE=1' \
    447 	'-DUSE_STLPORT=1' \
    448 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    449 	'-DCHROME_BUILD_ID=""' \
    450 	'-DNDEBUG' \
    451 	'-DNVALGRIND' \
    452 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    453 	'-D_FORTIFY_SOURCE=2'
    454 
    455 
    456 # Include paths placed before CFLAGS/CPPFLAGS
    457 LOCAL_C_INCLUDES_Release := \
    458 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    459 	$(gyp_shared_intermediate_dir) \
    460 	$(gyp_shared_intermediate_dir)/base \
    461 	$(LOCAL_PATH) \
    462 	$(PWD)/frameworks/wilhelm/include \
    463 	$(PWD)/bionic \
    464 	$(PWD)/external/stlport/stlport
    465 
    466 
    467 # Flags passed to only C++ (and not C) files.
    468 LOCAL_CPPFLAGS_Release := \
    469 	-fno-rtti \
    470 	-fno-threadsafe-statics \
    471 	-fvisibility-inlines-hidden \
    472 	-Wsign-compare \
    473 	-Wno-abi \
    474 	-Wno-non-virtual-dtor \
    475 	-Wno-sign-promo
    476 
    477 
    478 LOCAL_FDO_SUPPORT_Release := false
    479 
    480 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    481 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
    482 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    483 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    484 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    485 ### Rules for final target.
    486 
    487 LOCAL_LDFLAGS_Debug := \
    488 	-Wl,-z,now \
    489 	-Wl,-z,relro \
    490 	-Wl,--fatal-warnings \
    491 	-Wl,-z,noexecstack \
    492 	-fPIC \
    493 	-Wl,-z,relro \
    494 	-Wl,-z,now \
    495 	-fuse-ld=gold \
    496 	-nostdlib \
    497 	-Wl,--no-undefined \
    498 	-Wl,--exclude-libs=ALL \
    499 	-Wl,--icf=safe \
    500 	-Wl,--warn-shared-textrel \
    501 	-Wl,-O1 \
    502 	-Wl,--as-needed
    503 
    504 
    505 LOCAL_LDFLAGS_Release := \
    506 	-Wl,-z,now \
    507 	-Wl,-z,relro \
    508 	-Wl,--fatal-warnings \
    509 	-Wl,-z,noexecstack \
    510 	-fPIC \
    511 	-Wl,-z,relro \
    512 	-Wl,-z,now \
    513 	-fuse-ld=gold \
    514 	-nostdlib \
    515 	-Wl,--no-undefined \
    516 	-Wl,--exclude-libs=ALL \
    517 	-Wl,--icf=safe \
    518 	-Wl,-O1 \
    519 	-Wl,--as-needed \
    520 	-Wl,--gc-sections \
    521 	-Wl,--warn-shared-textrel
    522 
    523 
    524 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    525 
    526 LOCAL_STATIC_LIBRARIES := \
    527 	cpufeatures
    528 
    529 # Enable grouping to fix circular references
    530 LOCAL_GROUP_STATIC_LIBRARIES := true
    531 
    532 LOCAL_SHARED_LIBRARIES := \
    533 	libstlport \
    534 	libdl
    535 
    536 # Add target alias to "gyp_all_modules" target.
    537 .PHONY: gyp_all_modules
    538 gyp_all_modules: base_base_gyp
    539 
    540 # Alias gyp target name.
    541 .PHONY: base
    542 base: base_base_gyp
    543 
    544 include $(BUILD_STATIC_LIBRARY)
    545