forked from sanyaade-mobiledev/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG=417847 Review URL: https://codereview.chromium.org/739383005 Cr-Commit-Position: refs/heads/master@{#307301}
- Loading branch information
Showing
8 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Copyright 2014 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
import("//build/config/android/rules.gni") | ||
|
||
# GYP: //third_party/mockito.gyp:cglib_and_asm_jar | ||
java_prebuilt("cglib_and_asm_java") { | ||
jar_path = "src/lib/repackaged/cglib-and-asm-1.0.jar" | ||
} | ||
|
||
# GYP: //third_party/mockito.gyp:objenesis_jar | ||
java_prebuilt("objenesis_java") { | ||
jar_path = "src/lib/run/objenesis-2.1.jar" | ||
} | ||
|
||
# GYP: //third_party/mockito.gyp:mockito_jar | ||
java_library("mockito_java") { | ||
chromium_code = false | ||
testonly = true | ||
deps = [ | ||
":cglib_and_asm_java", | ||
":objenesis_java", | ||
"../junit:junit", | ||
"../junit:hamcrest", | ||
] | ||
DEPRECATED_java_in_dir = "src/src" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License | ||
|
||
Copyright (c) 2007 Mockito contributors | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
jbudorick@chromium.org | ||
klundberg@chromium.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Name: Mockito | ||
URL: https://code.google.com/p/mockito | ||
Version: 1.10.5 | ||
License: MIT | ||
License File: NOT_SHIPPED | ||
Security Critical: no | ||
License Android Compatible: yes | ||
Description: Mockito is a java mocking framework. | ||
Local Modifications: None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 2014 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
{ | ||
'targets': [ | ||
{ | ||
# GN: //third_party/mockito:cglib_and_asm_java | ||
'target_name': 'cglib_and_asm_jar', | ||
'type': 'none', | ||
'variables': { | ||
'jar_path': 'src/lib/repackaged/cglib-and-asm-1.0.jar', | ||
}, | ||
'includes': [ | ||
'../../build/host_prebuilt_jar.gypi', | ||
] | ||
}, | ||
{ | ||
# GN: //third_party/mockito:objenesis_java | ||
'target_name': 'objenesis_jar', | ||
'type': 'none', | ||
'variables': { | ||
'jar_path': 'src/lib/run/objenesis-2.1.jar', | ||
}, | ||
'includes': [ | ||
'../../build/host_prebuilt_jar.gypi', | ||
] | ||
}, | ||
{ | ||
# GN: //third_party/mockito:mockito_java | ||
'target_name': 'mockito_jar', | ||
'type': 'none', | ||
'dependencies': [ | ||
'cglib_and_asm_jar', | ||
'objenesis_jar', | ||
'../junit/junit.gyp:junit_jar', | ||
], | ||
'variables': { | ||
'src_paths': [ 'src/src' ], | ||
}, | ||
'includes': [ | ||
'../../build/host_jar.gypi', | ||
], | ||
}, | ||
], | ||
} | ||
|