Add chart names to Y values as well in Endure results.
[chromium-blink-merge.git] / chrome / chrome_android.gypi
blob2b32666369da2071e5b0c0396200597a2a83bb20
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     'package_name': 'chromium_testshell',
8   },
9   'includes': [
10     'chrome_android_paks.gypi', # Included for the list of pak resources.
11   ],
12   'targets': [
13     {
14       'target_name': 'libchromiumtestshell',
15       'type': 'shared_library',
16       'dependencies': [
17         '../base/base.gyp:base',
18         'chrome_android_core',
19         'chromium_testshell_jni_headers',
20         'chrome.gyp:browser_ui',
21         '../content/content.gyp:content_app_browser',
22       ],
23       'sources': [
24         # This file must always be included in the shared_library step to ensure
25         # JNI_OnLoad is exported.
26         'app/android/chrome_jni_onload.cc',
27         'android/testshell/chrome_main_delegate_testshell_android.cc',
28         'android/testshell/chrome_main_delegate_testshell_android.h',
29         "android/testshell/testshell_google_location_settings_helper.cc",
30         "android/testshell/testshell_google_location_settings_helper.h",
31         'android/testshell/testshell_tab.cc',
32         'android/testshell/testshell_tab.h',
33       ],
34       'include_dirs': [
35         '../skia/config',
36       ],
37       'conditions': [
38         [ 'order_profiling!=0', {
39           'conditions': [
40             [ 'OS=="android"', {
41               'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ],
42             }],
43           ],
44         }],
45         [ 'android_use_tcmalloc==1', {
46           'dependencies': [
47             '../base/allocator/allocator.gyp:allocator', ],
48         }],
49       ],
50     },
51     {
52       'target_name': 'chromium_testshell',
53       'type': 'none',
54       'dependencies': [
55         '../media/media.gyp:media_java',
56         'chrome.gyp:chrome_java',
57         'chromium_testshell_paks',
58         'libchromiumtestshell',
59       ],
60       'variables': {
61         'apk_name': 'ChromiumTestShell',
62         'manifest_package_name': 'org.chromium.chrome.testshell',
63         'java_in_dir': 'android/testshell/java',
64         'resource_dir': 'android/testshell/res',
65         'asset_location': '<(PRODUCT_DIR)/../assets/<(package_name)',
66         'native_lib_target': 'libchromiumtestshell',
67         'native_lib_version_name': '<(version_full)',
68         'additional_input_paths': [
69           '<@(chrome_android_pak_output_resources)',
70         ],
71       },
72       'includes': [ '../build/java_apk.gypi', ],
73     },
74     {
75       'target_name': 'chromium_testshell_jni_headers',
76       'type': 'none',
77       'sources': [
78         'android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.java',
79       ],
80       'variables': {
81         'jni_gen_package': 'chromium_testshell',
82         'jni_generator_ptr_type': 'long',
83       },
84       'includes': [ '../build/jni_generator.gypi' ],
85     },
86     {
87       # chromium_testshell creates a .jar as a side effect. Any java targets
88       # that need that .jar in their classpath should depend on this target,
89       # chromium_testshell_java. Dependents of chromium_testshell receive its
90       # jar path in the variable 'apk_output_jar_path'.
91       'target_name': 'chromium_testshell_java',
92       'type': 'none',
93       'dependencies': [
94         'chromium_testshell',
95       ],
96       'includes': [ '../build/apk_fake_jar.gypi' ],
97     },
98     {
99       'target_name': 'chrome_android_core',
100       'type': 'static_library',
101       'dependencies': [
102         'chrome.gyp:browser',
103         'chrome.gyp:browser_ui',
104         'chrome.gyp:plugin',
105         'chrome.gyp:renderer',
106         'chrome.gyp:utility',
107         '../content/content.gyp:content',
108         '../content/content.gyp:content_app_browser',
109       ],
110       'include_dirs': [
111         '..',
112         '<(android_ndk_include)',
113       ],
114       'sources': [
115         'app/android/chrome_android_initializer.cc',
116         'app/android/chrome_android_initializer.h',
117         'app/android/chrome_main_delegate_android.cc',
118         'app/android/chrome_main_delegate_android.h',
119         'app/chrome_main_delegate.cc',
120         'app/chrome_main_delegate.h',
121       ],
122       'link_settings': {
123         'libraries': [
124           '-landroid',
125           '-ljnigraphics',
126         ],
127       },
128     },
129     {
130       'target_name': 'chromium_testshell_paks',
131       'type': 'none',
132       'dependencies': [
133         '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
134         '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources',
135       ],
136       'copies': [
137         {
138           'destination': '<(chrome_android_pak_output_folder)',
139           'files': [
140             '<@(chrome_android_pak_input_resources)',
141           ],
142         }
143       ],
144     },
145   ],