OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'conditions': [ | 7 'conditions': [ |
8 [ 'os_posix == 1 and OS != "mac"', { | 8 [ 'os_posix == 1 and OS != "mac" and OS != "android"', { |
9 # Link to system .so since we already use it due to GTK. | 9 # Link to system .so since we already use it due to GTK. |
10 'use_system_bzip2%': 1, | 10 'use_system_bzip2%': 1, |
11 }, { # os_posix != 1 or OS == "mac" | 11 }, { # os_posix != 1 or OS == "mac" or OS == "android" |
12 'use_system_bzip2%': 0, | 12 'use_system_bzip2%': 0, |
13 }], | 13 }], |
14 ], | 14 ], |
15 }, | 15 }, |
16 'conditions': [ | 16 'conditions': [ |
17 ['use_system_bzip2==0', { | 17 ['use_system_bzip2==0', { |
18 'targets': [ | 18 'targets': [ |
19 { | 19 { |
20 'target_name': 'bzip2', | 20 'target_name': 'bzip2', |
21 'type': 'static_library', | 21 'type': 'static_library', |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 'link_settings': { | 61 'link_settings': { |
62 'libraries': [ | 62 'libraries': [ |
63 '-lbz2', | 63 '-lbz2', |
64 ], | 64 ], |
65 }, | 65 }, |
66 }, | 66 }, |
67 ] | 67 ] |
68 }], | 68 }], |
69 ], | 69 ], |
70 } | 70 } |
OLD | NEW |