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