Commit 5ae30e10 authored by mikecase's avatar mikecase Committed by Commit bot

Add Robolectric build and license files to third_party.

BUG=448030

Review URL: https://codereview.chromium.org/831173005

Cr-Commit-Position: refs/heads/master@{#317110}
parent e05fe063
...@@ -363,6 +363,7 @@ v8.log ...@@ -363,6 +363,7 @@ v8.log
/third_party/pywebsocket/src /third_party/pywebsocket/src
/third_party/pywebsocket/src /third_party/pywebsocket/src
/third_party/requests/src /third_party/requests/src
/third_party/robolectric/lib
/third_party/safe_browsing/testing /third_party/safe_browsing/testing
/third_party/scons-2.0.1 /third_party/scons-2.0.1
/third_party/sfntly/cpp /third_party/sfntly/cpp
......
...@@ -476,6 +476,9 @@ deps_os = { ...@@ -476,6 +476,9 @@ deps_os = {
'src/third_party/mockito/src': 'src/third_party/mockito/src':
Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'ed99a52e94a84bd7c467f2443b475a22fcc6ba8e', Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'ed99a52e94a84bd7c467f2443b475a22fcc6ba8e',
'src/third_party/robolectric/lib':
Var('chromium_git') + '/chromium/third_party/robolectric.git' + '@' + '6b63c99a8b6967acdb42cbed0adb067c80efc810',
'src/third_party/lss': 'src/third_party/lss':
Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'), Var('chromium_git') + '/external/linux-syscall-support/lss.git' + '@' + Var('lss_revision'),
......
# Copyright 2015 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/robolectric/robolectric.gyp:android_all_jar
java_prebuilt("android_all_java") {
visibility = [ ":*" ]
jar_path = "lib/android-all-4.3_r2-robolectric-0.jar"
}
# GYP: //third_party/robolectric/robolectric.gyp:tagsoup_jar
java_prebuilt("tagsoup_java") {
visibility = [ ":*" ]
jar_path = "lib/tagsoup-1.2.jar"
}
# GYP: //third_party/robolectric/robolectric.gyp:json_jar
java_prebuilt("json_java") {
visibility = [ ":*" ]
jar_path = "lib/json-20080701.jar"
}
# GYP: //third_party/robolectric/robolectric.gyp:robolectric_jar
java_prebuilt("robolectric_java") {
testonly = true
jar_path = "lib/robolectric-2.4-jar-with-dependencies.jar"
deps = [
":android_all_java",
":tagsoup_java",
":json_java",
]
}
This diff is collapsed.
jbudorick@chromium.org
klundberg@chromium.org
Name: Robolectric
URL: http://robolectric.org
Version: 2.4
License: Apache 2.0
License File: NOT_SHIPPED
Security Critical: no
License Android Compatible: yes
Description: Robolectric is a unit test framework for Android. To update the
robolectric jars, go to robolectric.org/download and follow link to
robolectric-X.X.X-jar-with-dependencies.jar.
Local Modifications: None
Indiana University Extreme! Lab Software License
Version 1.1.1
Copyright (c) 2002 Extreme! Lab, Indiana University. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.
3. The end-user documentation included with the redistribution, if any,
must include the following acknowledgment:
"This product includes software developed by the Indiana University
Extreme! Lab (http://www.extreme.indiana.edu/)."
Alternately, this acknowledgment may appear in the software itself,
if and wherever such third-party acknowledgments normally appear.
4. The names "Indiana Univeristy" and "Indiana Univeristy Extreme! Lab"
must not be used to endorse or promote products derived from this
software without prior written permission. For written permission,
please contact http://www.extreme.indiana.edu/.
5. Products derived from this software may not use "Indiana Univeristy"
name nor may "Indiana Univeristy" appear in their name, without prior
written permission of the Indiana University.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHORS, COPYRIGHT HOLDERS OR ITS CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Javolution - Java(TM) Solution for Real-Time and Embedded Systems
Copyright (c) 2006, Javolution (http://javolution.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The MIT License
Copyright (c) 2010 Xtreme Labs and Pivotal Labs
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.
# Copyright 2015 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/robolectric:android_all_java
'target_name': 'android_all_jar',
'type': 'none',
'variables': {
'jar_path': 'lib/android-all-4.3_r2-robolectric-0.jar',
},
'includes': [
'../../build/host_prebuilt_jar.gypi',
]
},
{
# GN: //third_party/robolectric:tagsoup_java
'target_name': 'tagsoup_jar',
'type': 'none',
'variables': {
'jar_path': 'lib/tagsoup-1.2.jar',
},
'includes': [
'../../build/host_prebuilt_jar.gypi',
]
},
{
# GN: //third_party/robolectric:json_java
'target_name': 'json_jar',
'type': 'none',
'variables': {
'jar_path': 'lib/json-20080701.jar',
},
'includes': [
'../../build/host_prebuilt_jar.gypi',
]
},
{
# GN: //third_party/robolectric:robolectric_java
'target_name': 'robolectric_jar',
'type': 'none',
'dependencies': [
'android_all_jar',
'tagsoup_jar',
'json_jar',
],
'variables': {
'jar_path': 'lib/robolectric-2.4-jar-with-dependencies.jar',
},
'includes': [
'../../build/host_prebuilt_jar.gypi',
]
},
],
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment