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 }, | 7 }, |
8 'includes': [ | 8 'includes': [ |
9 'chrome_android_paks.gypi', # Included for the list of pak resources. | 9 'chrome_android_paks.gypi', # Included for the list of pak resources. |
10 ], | 10 ], |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 'type': 'none', | 44 'type': 'none', |
45 'dependencies': [ | 45 'dependencies': [ |
46 '../media/media.gyp:media_java', | 46 '../media/media.gyp:media_java', |
47 'chrome.gyp:chrome_java', | 47 'chrome.gyp:chrome_java', |
48 'chrome_android_paks', | 48 'chrome_android_paks', |
49 'libchromiumtestshell', | 49 'libchromiumtestshell', |
50 ], | 50 ], |
51 'variables': { | 51 'variables': { |
52 'package_name': 'chromium_testshell', | 52 'package_name': 'chromium_testshell', |
53 'apk_name': 'ChromiumTestShell', | 53 'apk_name': 'ChromiumTestShell', |
| 54 'manifest_package_name': 'org.chromium.chrome.testshell', |
54 'java_in_dir': 'android/testshell/java', | 55 'java_in_dir': 'android/testshell/java', |
55 'resource_dir': '../res', | 56 'resource_dir': '../res', |
56 'asset_location': '<(ant_build_out)/../assets/chrome', | 57 'asset_location': '<(ant_build_out)/../assets/chrome', |
57 'native_libs_paths': [ '<(PRODUCT_DIR)/chromium_testshell/libs/<(android
_app_abi)/libchromiumtestshell.so', ], | 58 'native_libs_paths': [ '<(SHARED_LIB_DIR)/libchromiumtestshell.so', ], |
58 'additional_input_paths': [ '<@(chrome_android_pak_output_resources)', ]
, | 59 'additional_input_paths': [ '<@(chrome_android_pak_output_resources)', ]
, |
59 }, | 60 }, |
60 'actions': [ | |
61 { | |
62 'action_name': 'copy_and_strip_so', | |
63 'inputs': ['<(SHARED_LIB_DIR)/libchromiumtestshell.so'], | |
64 'outputs': ['<(PRODUCT_DIR)/chromium_testshell/libs/<(android_app_abi)
/libchromiumtestshell.so'], | |
65 'action': [ | |
66 '<(android_strip)', | |
67 '--strip-unneeded', | |
68 '<@(_inputs)', | |
69 '-o', | |
70 '<@(_outputs)', | |
71 ], | |
72 }, | |
73 ], | |
74 'includes': [ '../build/java_apk.gypi', ], | 61 'includes': [ '../build/java_apk.gypi', ], |
75 }, | 62 }, |
76 { | 63 { |
77 'target_name': 'chromium_testshell_jni_headers', | 64 'target_name': 'chromium_testshell_jni_headers', |
78 'type': 'none', | 65 'type': 'none', |
79 'sources': [ | 66 'sources': [ |
80 'android/testshell/java/src/org/chromium/chrome/testshell/TabManager.jav
a', | 67 'android/testshell/java/src/org/chromium/chrome/testshell/TabManager.jav
a', |
81 ], | 68 ], |
82 'variables': { | 69 'variables': { |
83 'jni_gen_dir': 'chromium_testshell', | 70 'jni_gen_dir': 'chromium_testshell', |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 ], | 144 ], |
158 'copies': [ | 145 'copies': [ |
159 { | 146 { |
160 'destination': '<(chrome_android_pak_output_folder)', | 147 'destination': '<(chrome_android_pak_output_folder)', |
161 'files': [ '<@(chrome_android_pak_input_resources)' ], | 148 'files': [ '<@(chrome_android_pak_input_resources)' ], |
162 } | 149 } |
163 ], | 150 ], |
164 }, | 151 }, |
165 ], | 152 ], |
166 } | 153 } |
OLD | NEW |