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 'conditions': [ | 7 'conditions': [ |
8 ['component != "shared_library" and target_arch != "arm64" and target_arch
!= "x64" and profiling_full_stack_frames != 1', { | 8 ['component != "shared_library" and target_arch != "arm64" and target_arch
!= "x64" and profiling_full_stack_frames != 1', { |
9 # Only enable the chromium linker on regular builds, since the | 9 # Only enable the chromium linker on regular builds, since the |
10 # component build crashes on Android 4.4. See b/11379966 | 10 # component build crashes on Android 4.4. See b/11379966 |
11 'use_chromium_linker': '1', | 11 'use_chromium_linker': '1', |
12 }], | 12 }], |
13 ], | 13 ], |
14 }, | 14 }, |
15 'includes': [ | 15 'includes': [ |
16 'chrome_android_paks.gypi', # Included for the list of pak resources. | 16 'chrome_android_paks.gypi', # Included for the list of pak resources. |
17 'chrome_shell.gypi', # Built atop chrome_android_core (defined here) | 17 'chrome_shell.gypi', # Built atop chrome_android_core (defined here) |
18 ], | 18 ], |
19 'targets': [ | 19 'targets': [ |
20 { | 20 { |
| 21 # GN: //chrome:chrome_android_core |
21 'target_name': 'chrome_android_core', | 22 'target_name': 'chrome_android_core', |
22 'type': 'static_library', | 23 'type': 'static_library', |
23 'dependencies': [ | 24 'dependencies': [ |
24 'chrome.gyp:browser', | 25 'chrome.gyp:browser', |
25 'chrome.gyp:browser_ui', | 26 'chrome.gyp:browser_ui', |
26 'chrome.gyp:plugin', | 27 'chrome.gyp:plugin', |
27 'chrome.gyp:renderer', | 28 'chrome.gyp:renderer', |
28 'chrome.gyp:utility', | 29 'chrome.gyp:utility', |
29 # TODO(kkimlabs): Move this to chrome.gyp:browser when the dependent | 30 # TODO(kkimlabs): Move this to chrome.gyp:browser when the dependent |
30 # is upstreamed. | 31 # is upstreamed. |
(...skipping 15 matching lines...) Expand all Loading... |
46 ], | 47 ], |
47 'link_settings': { | 48 'link_settings': { |
48 'libraries': [ | 49 'libraries': [ |
49 '-landroid', | 50 '-landroid', |
50 '-ljnigraphics', | 51 '-ljnigraphics', |
51 ], | 52 ], |
52 }, | 53 }, |
53 }, | 54 }, |
54 ], | 55 ], |
55 } | 56 } |
OLD | NEW |