OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 { | 4 { |
5 'conditions': [ | 5 'conditions': [ |
6 ['component == "shared_library"', { | 6 ['component == "shared_library"', { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 # These libraries from the Android ndk are required to be packaged wit
h | 9 # These libraries from the Android ndk are required to be packaged wit
h |
10 # any APK that is built with them. build/java_apk.gypi expects any | 10 # any APK that is built with them. build/java_apk.gypi expects any |
11 # libraries that should be packaged with the apk to be in | 11 # libraries that should be packaged with the apk to be in |
12 # <(SHARED_LIB_DIR) | 12 # <(SHARED_LIB_DIR) |
13 'target_name': 'copy_system_libraries', | 13 'target_name': 'copy_system_libraries', |
14 'type': 'none', | 14 'type': 'none', |
15 'copies': [ | 15 'copies': [ |
16 { | 16 { |
17 'destination': '<(SHARED_LIB_DIR)/', | 17 'destination': '<(SHARED_LIB_DIR)/', |
18 'files': [ | 18 'files': [ |
19 '<(android_stlport_libs_dir)/libstlport_shared.so', | 19 '<(android_stlport_libs_dir)/libstlport_shared.so', |
20 '<(android_libstdcpp_libs_dir)/libgnustl_shared.so', | |
21 ], | 20 ], |
22 }, | 21 }, |
23 ], | 22 ], |
24 }, | 23 }, |
25 ], | 24 ], |
26 }], | 25 }], |
27 ], | 26 ], |
28 'targets': [ | 27 'targets': [ |
29 { | 28 { |
30 # Target for creating common output build directories. Creating output | 29 # Target for creating common output build directories. Creating output |
(...skipping 22 matching lines...) Expand all Loading... |
53 'mkdir', | 52 'mkdir', |
54 '-p', | 53 '-p', |
55 '<@(output_dirs)', | 54 '<@(output_dirs)', |
56 ], | 55 ], |
57 }, | 56 }, |
58 ], | 57 ], |
59 }, # build_output_dirs | 58 }, # build_output_dirs |
60 ] | 59 ] |
61 } | 60 } |
62 | 61 |
OLD | NEW |