| 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 'targets': [ | 5 'targets': [ |
| 6 { | 6 { |
| 7 'target_name': 'android_webview_test_apk', | 7 'target_name': 'android_webview_test_apk', |
| 8 'type': 'none', | 8 'type': 'none', |
| 9 'dependencies': [ | 9 'dependencies': [ |
| 10 '../base/base.gyp:base_java_test_support', | 10 '../base/base.gyp:base_java_test_support', |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 'files': [ '<!@(find <(java_in_dir)/assets -type f)' ] | 25 'files': [ '<!@(find <(java_in_dir)/assets -type f)' ] |
| 26 }, | 26 }, |
| 27 ], | 27 ], |
| 28 'includes': [ '../build/java_apk.gypi' ], | 28 'includes': [ '../build/java_apk.gypi' ], |
| 29 }, | 29 }, |
| 30 { | 30 { |
| 31 'target_name': 'android_webview_unittests', | 31 'target_name': 'android_webview_unittests', |
| 32 'type': '<(gtest_target_type)', | 32 'type': '<(gtest_target_type)', |
| 33 'dependencies': [ | 33 'dependencies': [ |
| 34 '../base/base.gyp:test_support_base', | 34 '../base/base.gyp:test_support_base', |
| 35 '../net/net.gyp:net_test_support', |
| 35 '../testing/android/native_test.gyp:native_test_native_code', | 36 '../testing/android/native_test.gyp:native_test_native_code', |
| 36 '../testing/gmock.gyp:gmock', | 37 '../testing/gmock.gyp:gmock', |
| 37 '../testing/gtest.gyp:gtest', | 38 '../testing/gtest.gyp:gtest', |
| 38 'android_webview_common', | 39 'android_webview_common', |
| 39 ], | 40 ], |
| 40 'include_dirs': [ | 41 'include_dirs': [ |
| 41 '..', | 42 '..', |
| 42 '../skia/config', | 43 '../skia/config', |
| 44 '<(SHARED_INTERMEDIATE_DIR)/android_webview_unittests', |
| 43 ], | 45 ], |
| 44 'sources': [ | 46 'sources': [ |
| 45 'lib/main/webview_tests.cc', | 47 'lib/main/webview_tests.cc', |
| 46 'native/android_stream_reader_url_request_job_unittests.cc', | 48 'browser/net/android_stream_reader_url_request_job_unittest.cc', |
| 49 'browser/net/input_stream_reader_unittest.cc', |
| 50 'native/input_stream_unittest.cc', |
| 47 ], | 51 ], |
| 48 }, | 52 }, |
| 49 { | 53 { |
| 54 'target_name': 'android_webview_unittest_java', |
| 55 'type': 'none', |
| 56 'dependencies': [ |
| 57 '../base/base.gyp:base_java_test_support', |
| 58 '../content/content.gyp:content_java_test_support', |
| 59 'android_webview_java', |
| 60 ], |
| 61 'variables': { |
| 62 'package_name': 'android_webview_unittest_java', |
| 63 'java_in_dir': '../android_webview/unittestjava', |
| 64 }, |
| 65 'includes': [ '../build/java.gypi' ], |
| 66 }, |
| 67 { |
| 68 'target_name': 'android_webview_unittests_jni', |
| 69 'type': 'none', |
| 70 'sources': [ |
| 71 '../android_webview/unittestjava/src/org/chromium/android_webview/unit
test/InputStreamUnittest.java', |
| 72 ], |
| 73 'variables': { |
| 74 'jni_gen_dir': 'android_webview_unittests', |
| 75 }, |
| 76 'includes': [ '../build/jni_generator.gypi' ], |
| 77 }, |
| 78 { |
| 50 'target_name': 'android_webview_unittests_apk', | 79 'target_name': 'android_webview_unittests_apk', |
| 51 'type': 'none', | 80 'type': 'none', |
| 52 'dependencies': [ | 81 'dependencies': [ |
| 82 'android_webview_unittest_java', |
| 53 'android_webview_unittests', | 83 'android_webview_unittests', |
| 84 'android_webview_unittests_jni', |
| 54 ], | 85 ], |
| 55 'variables': { | 86 'variables': { |
| 56 'test_suite_name': 'android_webview_unittests', | 87 'test_suite_name': 'android_webview_unittests', |
| 57 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)android_webvi
ew_unittests<(SHARED_LIB_SUFFIX)', | 88 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)android_webvi
ew_unittests<(SHARED_LIB_SUFFIX)', |
| 89 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_android_webview_u
nittest_java.jar'], |
| 58 }, | 90 }, |
| 59 'includes': [ '../build/apk_test.gypi' ], | 91 'includes': [ '../build/apk_test.gypi' ], |
| 60 }, | 92 }, |
| 61 ], | 93 ], |
| 62 } | 94 } |
| OLD | NEW |