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.
9 'chrome_android_paks.gypi', # Included for the list of pak resources.
13 'target_name': 'libchromiumtestshell',
14 'type': 'shared_library',
16 'chrome_android_core',
19 'android/testshell/chrome_main_delegate_testshell_android.cc',
20 'android/testshell/chrome_main_delegate_testshell_android.h',
21 'android/testshell/testshell_entry_point.cc',
22 "android/testshell/testshell_google_location_settings_helper.cc",
23 "android/testshell/testshell_google_location_settings_helper.h",
24 'android/testshell/testshell_stubs.cc',
27 '<(SHARED_INTERMEDIATE_DIR)/android',
28 '<(SHARED_INTERMEDIATE_DIR)/chromium_testshell',
32 [ 'order_profiling!=0', {
35 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ],
42 'target_name': 'chromium_testshell',
45 '../media/media.gyp:media_java',
46 'chrome.gyp:chrome_java',
47 'chrome_android_paks',
48 'libchromiumtestshell',
51 'package_name': 'chromium_testshell',
52 'apk_name': 'ChromiumTestShell',
53 'manifest_package_name': 'org.chromium.chrome.testshell',
54 'java_in_dir': 'android/testshell/java',
55 'resource_dir': '../res',
56 'asset_location': '<(ant_build_out)/../assets/chrome',
57 'native_libs_paths': [ '<(SHARED_LIB_DIR)/libchromiumtestshell.so', ],
58 'additional_input_paths': [ '<@(chrome_android_pak_output_resources)', ],
60 'includes': [ '../build/java_apk.gypi', ],
63 # chromium_testshell creates a .jar as a side effect. Any java targets
64 # that need that .jar in their classpath should depend on this target,
65 # chromium_testshell_java. Dependents of chromium_testshell receive its
66 # jar path in the variable 'apk_output_jar_path'.
67 'target_name': 'chromium_testshell_java',
72 # This all_dependent_settings is used for java targets only. This will add
73 # the chromium_testshell jar to the classpath of dependent java targets.
74 'all_dependent_settings': {
76 'input_jars_paths': ['>(apk_output_jar_path)'],
79 # Add an action with the appropriate output. This allows the generated
80 # buildfiles to determine which target the output corresponds to.
83 'action_name': 'fake_generate_jar',
85 'outputs': ['>(apk_output_jar_path)'],
91 'target_name': 'chrome_android_core',
92 'type': 'static_library',
96 'chrome.gyp:renderer',
98 '../content/content.gyp:content',
102 '<(SHARED_INTERMEDIATE_DIR)/android',
103 '<(SHARED_INTERMEDIATE_DIR)/chrome',
104 '<(android_ndk_include)',
107 'app/android/chrome_android_initializer.cc',
108 'app/android/chrome_android_initializer.h',
109 'app/android/chrome_main_delegate_android.cc',
110 'app/android/chrome_main_delegate_android.h',
111 'app/chrome_main_delegate.cc',
112 'app/chrome_main_delegate.h',
122 'target_name': 'chrome_android_paks',
125 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
126 '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources',
130 'destination': '<(chrome_android_pak_output_folder)',
131 'files': [ '<@(chrome_android_pak_input_resources)' ],