1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 # This target is only used when android_webview_build==1 - it implements a
6 # whitelist for exported symbols to minimise the binary size and prevent us
7 # accidentally exposing things we don't mean to expose.
11 'android_linker_script%': '<(SHARED_INTERMEDIATE_DIR)/android_webview_export_whitelist.lst',
15 'target_name': 'android_exports',
18 '<(DEPTH)/build/android/android_webview_export_whitelist.lst',
21 '<(android_linker_script)',
25 'destination': '<(SHARED_INTERMEDIATE_DIR)',
32 ['component=="static_library"', {
35 # Only export symbols that are specified in version script.
36 '-Wl,--version-script=<(android_linker_script)',