| 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 'chromium_testshell_jni_headers', | |
| 20 'chrome.gyp:browser_ui', | 19 'chrome.gyp:browser_ui', |
| 21 '../content/content.gyp:content_app_browser', | 20 '../content/content.gyp:content_app_browser', |
| 22 ], | 21 ], |
| 23 'sources': [ | 22 'sources': [ |
| 24 # This file must always be included in the shared_library step to ensure | 23 # This file must always be included in the shared_library step to ensure |
| 25 # JNI_OnLoad is exported. | 24 # JNI_OnLoad is exported. |
| 26 'app/android/chrome_jni_onload.cc', | 25 'app/android/chrome_jni_onload.cc', |
| 27 'android/testshell/chrome_main_delegate_testshell_android.cc', | 26 'android/testshell/chrome_main_delegate_testshell_android.cc', |
| 28 'android/testshell/chrome_main_delegate_testshell_android.h', | 27 'android/testshell/chrome_main_delegate_testshell_android.h', |
| 29 "android/testshell/testshell_google_location_settings_helper.cc", | 28 "android/testshell/testshell_google_location_settings_helper.cc", |
| 30 "android/testshell/testshell_google_location_settings_helper.h", | 29 "android/testshell/testshell_google_location_settings_helper.h", |
| 31 'android/testshell/testshell_tab.cc', | |
| 32 'android/testshell/testshell_tab.h', | |
| 33 ], | 30 ], |
| 34 'include_dirs': [ | 31 'include_dirs': [ |
| 35 '../skia/config', | 32 '../skia/config', |
| 36 ], | 33 ], |
| 37 'conditions': [ | 34 'conditions': [ |
| 38 [ 'order_profiling!=0', { | 35 [ 'order_profiling!=0', { |
| 39 'conditions': [ | 36 'conditions': [ |
| 40 [ 'OS=="android"', { | 37 [ 'OS=="android"', { |
| 41 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile',
], | 38 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile',
], |
| 42 }], | 39 }], |
| (...skipping 22 matching lines...) Expand all Loading... |
| 65 'asset_location': '<(PRODUCT_DIR)/../assets/<(package_name)', | 62 'asset_location': '<(PRODUCT_DIR)/../assets/<(package_name)', |
| 66 'native_lib_target': 'libchromiumtestshell', | 63 'native_lib_target': 'libchromiumtestshell', |
| 67 'native_lib_version_name': '<(version_full)', | 64 'native_lib_version_name': '<(version_full)', |
| 68 'additional_input_paths': [ | 65 'additional_input_paths': [ |
| 69 '<@(chrome_android_pak_output_resources)', | 66 '<@(chrome_android_pak_output_resources)', |
| 70 ], | 67 ], |
| 71 }, | 68 }, |
| 72 'includes': [ '../build/java_apk.gypi', ], | 69 'includes': [ '../build/java_apk.gypi', ], |
| 73 }, | 70 }, |
| 74 { | 71 { |
| 75 'target_name': 'chromium_testshell_jni_headers', | |
| 76 'type': 'none', | |
| 77 'sources': [ | |
| 78 'android/testshell/java/src/org/chromium/chrome/testshell/TestShellTab.j
ava', | |
| 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 | 72 # 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, | 73 # that need that .jar in their classpath should depend on this target, |
| 89 # chromium_testshell_java. Dependents of chromium_testshell receive its | 74 # chromium_testshell_java. Dependents of chromium_testshell receive its |
| 90 # jar path in the variable 'apk_output_jar_path'. | 75 # jar path in the variable 'apk_output_jar_path'. |
| 91 'target_name': 'chromium_testshell_java', | 76 'target_name': 'chromium_testshell_java', |
| 92 'type': 'none', | 77 'type': 'none', |
| 93 'dependencies': [ | 78 'dependencies': [ |
| 94 'chromium_testshell', | 79 'chromium_testshell', |
| 95 ], | 80 ], |
| 96 'includes': [ '../build/apk_fake_jar.gypi' ], | 81 'includes': [ '../build/apk_fake_jar.gypi' ], |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 { | 122 { |
| 138 'destination': '<(chrome_android_pak_output_folder)', | 123 'destination': '<(chrome_android_pak_output_folder)', |
| 139 'files': [ | 124 'files': [ |
| 140 '<@(chrome_android_pak_input_resources)', | 125 '<@(chrome_android_pak_input_resources)', |
| 141 ], | 126 ], |
| 142 } | 127 } |
| 143 ], | 128 ], |
| 144 }, | 129 }, |
| 145 ], | 130 ], |
| 146 } | 131 } |
| OLD | NEW |