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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 'package_name': 'chrome_shell_apk', | 7 'package_name': 'chrome_shell_apk', |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'chrome_android_paks.gypi', # Included for the list of pak resources. | 10 'chrome_android_paks.gypi', # Included for the list of pak resources. |
(...skipping 26 matching lines...) Expand all Loading... | |
37 [ 'OS=="android"', { | 37 [ 'OS=="android"', { |
38 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], | 38 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], |
39 }], | 39 }], |
40 ], | 40 ], |
41 }], | 41 }], |
42 # TODO(dmikurube): Kill android_use_tcmalloc. http://crbug.com/345554 | 42 # TODO(dmikurube): Kill android_use_tcmalloc. http://crbug.com/345554 |
43 [ '(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use _allocator=="see_use_tcmalloc" and android_use_tcmalloc==1)', { | 43 [ '(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use _allocator=="see_use_tcmalloc" and android_use_tcmalloc==1)', { |
44 'dependencies': [ | 44 'dependencies': [ |
45 '../base/allocator/allocator.gyp:allocator', ], | 45 '../base/allocator/allocator.gyp:allocator', ], |
46 }], | 46 }], |
47 ['component == "static_library"', { | |
48 'ldflags!': [ | |
49 # Don't need to strip symbols from libs, because exports are control led | |
50 # through linker vesrion script. | |
51 '-Wl,--exclude-libs=ALL', | |
52 ], | |
53 'ldflags': [ | |
54 # Android exports in linker version script. | |
55 # TODO(ostap): Gyp doesn't corectly calculate path if <(DEPTH) is u sed here. | |
56 # Use <(DEPTH) when gyp is fixed or replaced with gn. | |
57 '-Wl,--version-script="../../build/android/android_exports.lst"', | |
Yaron
2014/04/02 21:02:53
Why not do this everywhere (build/common.gypi)? Th
| |
58 ], | |
59 }], | |
47 ], | 60 ], |
48 }, | 61 }, |
49 { | 62 { |
50 'target_name': 'chrome_shell_apk', | 63 'target_name': 'chrome_shell_apk', |
51 'type': 'none', | 64 'type': 'none', |
52 'dependencies': [ | 65 'dependencies': [ |
53 'chrome_java', | 66 'chrome_java', |
54 'chrome_shell_paks', | 67 'chrome_shell_paks', |
55 'libchromeshell', | 68 'libchromeshell', |
56 '../media/media.gyp:media_java', | 69 '../media/media.gyp:media_java', |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
125 { | 138 { |
126 'destination': '<(chrome_android_pak_output_folder)', | 139 'destination': '<(chrome_android_pak_output_folder)', |
127 'files': [ | 140 'files': [ |
128 '<@(chrome_android_pak_input_resources)', | 141 '<@(chrome_android_pak_input_resources)', |
129 ], | 142 ], |
130 } | 143 } |
131 ], | 144 ], |
132 }, | 145 }, |
133 ], | 146 ], |
134 } | 147 } |
OLD | NEW |