Copy webkit's test_expectations* files over to content.
[chromium-blink-merge.git] / chrome / chrome_android.gypi
bloba1ec31a754a940392b0ce605b1a99a536d7391fd
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
3 # found in the LICENSE file.
5   'variables': {
6     'chromium_code': 1,
7     'conditions': [
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
10         # component build crashes on Android 4.4. See b/11379966
11         'use_chromium_linker': '1',
12       }],
13     ],
14   },
15   'includes': [
16     'chrome_android_paks.gypi', # Included for the list of pak resources.
17     'chrome_shell.gypi', # Built atop chrome_android_core (defined here)
18   ],
19   'targets': [
20     {
21       'target_name': 'chrome_android_core',
22       'type': 'static_library',
23       'dependencies': [
24         'chrome.gyp:browser',
25         'chrome.gyp:browser_ui',
26         'chrome.gyp:plugin',
27         'chrome.gyp:renderer',
28         'chrome.gyp:utility',
29         # TODO(kkimlabs): Move this to chrome.gyp:browser when the dependent
30         #                 is upstreamed.
31         '../components/components.gyp:enhanced_bookmarks',
32         '../content/content.gyp:content',
33         '../content/content.gyp:content_app_browser',
34       ],
35       'include_dirs': [
36         '..',
37         '<(android_ndk_include)',
38       ],
39       'sources': [
40         'app/android/chrome_android_initializer.cc',
41         'app/android/chrome_android_initializer.h',
42         'app/android/chrome_main_delegate_android.cc',
43         'app/android/chrome_main_delegate_android.h',
44         'app/chrome_main_delegate.cc',
45         'app/chrome_main_delegate.h',
46       ],
47       'link_settings': {
48         'libraries': [
49           '-landroid',
50           '-ljnigraphics',
51         ],
52       },
53     },
54   ],