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 'package_name': 'chromium_testshell', | 7 'package_name': 'chromium_testshell', |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'chrome_android_paks.gypi', # Included for the list of pak resources. | 10 'chrome_android_paks.gypi', # Included for the list of pak resources. |
11 ], | 11 ], |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'libchromiumtestshell', | 14 'target_name': 'libchromiumtestshell', |
15 'type': 'shared_library', | 15 'type': 'shared_library', |
16 'dependencies': [ | 16 'dependencies': [ |
17 '../base/base.gyp:base', | 17 '../base/base.gyp:base', |
18 'chrome_android_core', | 18 'chrome_android_core', |
19 'chrome_android_auxiliary', | |
20 'chromium_testshell_jni_headers', | 19 'chromium_testshell_jni_headers', |
21 'chrome.gyp:browser_ui', | 20 'chrome.gyp:browser_ui', |
22 '../content/content.gyp:content_app_browser', | 21 '../content/content.gyp:content_app_browser', |
23 ], | 22 ], |
24 'sources': [ | 23 'sources': [ |
25 # This file must always be included in the shared_library step to ensure | 24 # This file must always be included in the shared_library step to ensure |
26 # JNI_OnLoad is exported. | 25 # JNI_OnLoad is exported. |
27 'app/android/chrome_jni_onload.cc', | 26 'app/android/chrome_jni_onload.cc', |
28 'android/testshell/chrome_main_delegate_testshell_android.cc', | 27 'android/testshell/chrome_main_delegate_testshell_android.cc', |
29 'android/testshell/chrome_main_delegate_testshell_android.h', | 28 'android/testshell/chrome_main_delegate_testshell_android.h', |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 ], | 109 ], |
111 'include_dirs': [ | 110 'include_dirs': [ |
112 '..', | 111 '..', |
113 '<(SHARED_INTERMEDIATE_DIR)/android', | 112 '<(SHARED_INTERMEDIATE_DIR)/android', |
114 '<(SHARED_INTERMEDIATE_DIR)/chrome', | 113 '<(SHARED_INTERMEDIATE_DIR)/chrome', |
115 '<(android_ndk_include)', | 114 '<(android_ndk_include)', |
116 ], | 115 ], |
117 'sources': [ | 116 'sources': [ |
118 'app/android/chrome_android_initializer.cc', | 117 'app/android/chrome_android_initializer.cc', |
119 'app/android/chrome_android_initializer.h', | 118 'app/android/chrome_android_initializer.h', |
120 'app/android/chrome_data_reduction_proxy_android.cc', | |
121 'app/android/chrome_data_reduction_proxy_android.h', | |
122 'app/android/chrome_main_delegate_android.cc', | 119 'app/android/chrome_main_delegate_android.cc', |
123 'app/android/chrome_main_delegate_android.h', | 120 'app/android/chrome_main_delegate_android.h', |
124 'app/chrome_main_delegate.cc', | 121 'app/chrome_main_delegate.cc', |
125 'app/chrome_main_delegate.h', | 122 'app/chrome_main_delegate.h', |
126 ], | 123 ], |
127 'link_settings': { | 124 'link_settings': { |
128 'libraries': [ | 125 'libraries': [ |
129 '-landroid', | 126 '-landroid', |
130 '-ljnigraphics', | 127 '-ljnigraphics', |
131 ], | 128 ], |
132 }, | 129 }, |
133 }, | 130 }, |
134 { | 131 { |
135 'target_name': 'chrome_android_auxiliary', | |
136 'type': 'static_library', | |
137 'include_dirs': [ | |
138 '<(SHARED_INTERMEDIATE_DIR)/chromium_testshell', | |
139 ], | |
140 'sources': [ | |
141 'android/testshell/chrome_data_reduction_proxy_testshell_android.cc', | |
142 ], | |
143 'dependencies': [ | |
144 '../base/base.gyp:base', | |
145 ], | |
146 }, | |
147 { | |
148 'target_name': 'chromium_testshell_paks', | 132 'target_name': 'chromium_testshell_paks', |
149 'type': 'none', | 133 'type': 'none', |
150 'dependencies': [ | 134 'dependencies': [ |
151 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources', | 135 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources', |
152 '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources', | 136 '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources', |
153 ], | 137 ], |
154 'copies': [ | 138 'copies': [ |
155 { | 139 { |
156 'destination': '<(chrome_android_pak_output_folder)', | 140 'destination': '<(chrome_android_pak_output_folder)', |
157 'files': [ | 141 'files': [ |
158 '<@(chrome_android_pak_input_resources)', | 142 '<@(chrome_android_pak_input_resources)', |
159 ], | 143 ], |
160 } | 144 } |
161 ], | 145 ], |
162 }, | 146 }, |
163 ], | 147 ], |
164 } | 148 } |
OLD | NEW |