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 'conditions': [ | 15 'copies': [ |
16 ['target_arch=="arm" and arm_thumb==1', { | 16 { |
17 'copies': [ | 17 'destination': '<(SHARED_LIB_DIR)/', |
18 { | 18 'files': [ |
19 'destination': '<(SHARED_LIB_DIR)/', | 19 '<(android_stlport_libs_dir)/libstlport_shared.so', |
20 'files': [ | |
21 '<(android_stlport_libs_dir)/thumb/libstlport_shared.so', | |
22 ], | |
23 }, | |
24 ], | 20 ], |
25 }, { | 21 }, |
26 'copies': [ | |
27 { | |
28 'destination': '<(SHARED_LIB_DIR)/', | |
29 'files': [ | |
30 '<(android_stlport_libs_dir)/libstlport_shared.so', | |
31 ], | |
32 }, | |
33 ], | |
34 }], | |
35 ], | 22 ], |
36 }, | 23 }, |
37 ], | 24 ], |
38 }], | 25 }], |
39 ], | 26 ], |
40 'targets': [ | 27 'targets': [ |
41 { | 28 { |
42 'target_name': 'get_build_device_configurations', | 29 'target_name': 'get_build_device_configurations', |
43 'type': 'none', | 30 'type': 'none', |
44 'actions': [ | 31 'actions': [ |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 'mkdir', | 73 'mkdir', |
87 '-p', | 74 '-p', |
88 '<@(output_dirs)', | 75 '<@(output_dirs)', |
89 ], | 76 ], |
90 }, | 77 }, |
91 ], | 78 ], |
92 }, # build_output_dirs | 79 }, # build_output_dirs |
93 ] | 80 ] |
94 } | 81 } |
95 | 82 |
OLD | NEW |