Roll chromium_revision a12e1e1..0cb2549 (326495:327252)

https://codereview.chromium.org/1051343002 adds a dependency
on Chromium's third_party/junit into base/ which affects our
Android tests that uses that code.

The precompiled JUnit 4.11 JAR file that is only by the
libjingle_peerconnection_java_unittest target on Linux has been
moved to third_party/junit-jar, since it collided with the expected
path for the JUnit dependency mentioned above.
It had to be kept since the Chromium JUnit is only possible to build
when OS==android.

This CL also brings in Mockito and Robolectric, which should be
useful for our Android tests.

Other relevant changes:
* src/buildtools: 3b302fe..15308f4
* src/third_party/libjpeg_turbo: 034e9a9..9e9058b
* src/third_party/libyuv: 32ad6e0..01db3d1
Details: a12e1e1..0cb2549/DEPS

Clang version was not updated in this roll.

BUG=4499
R=phoglund@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/48239004

Cr-Commit-Position: refs/heads/master@{#9113}
This commit is contained in:
Henrik Kjellander
2015-04-29 14:47:53 +02:00
parent dea11f9c43
commit 10ba3eec5a
6 changed files with 19 additions and 8 deletions

3
.gitignore vendored
View File

@@ -100,6 +100,7 @@
/third_party/jsoncpp /third_party/jsoncpp
/third_party/jsr-305 /third_party/jsr-305
/third_party/junit /third_party/junit
/third_party/junit-jar
/third_party/libc++ /third_party/libc++
/third_party/libc++abi /third_party/libc++abi
/third_party/libevent /third_party/libevent
@@ -113,6 +114,7 @@
/third_party/libyuv /third_party/libyuv
/third_party/llvm /third_party/llvm
/third_party/llvm-build /third_party/llvm-build
/third_party/mockito
/third_party/modp_b64 /third_party/modp_b64
/third_party/nss /third_party/nss
/third_party/oauth2 /third_party/oauth2
@@ -121,6 +123,7 @@
/third_party/opus /third_party/opus
/third_party/protobuf /third_party/protobuf
/third_party/requests /third_party/requests
/third_party/robolectric
/third_party/sqlite /third_party/sqlite
/third_party/syzygy /third_party/syzygy
/third_party/usrsctp /third_party/usrsctp

4
DEPS
View File

@@ -6,7 +6,7 @@
vars = { vars = {
'extra_gyp_flag': '-Dextra_gyp_flag=0', 'extra_gyp_flag': '-Dextra_gyp_flag=0',
'chromium_git': 'https://chromium.googlesource.com', 'chromium_git': 'https://chromium.googlesource.com',
'chromium_revision': 'a12e1e10c4a910a4f8aa20e3ea8b611846f19ed9', 'chromium_revision': '0cb254911980cce90b2e5c7207a37a27420e9ea7',
} }
# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than # NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
@@ -17,7 +17,7 @@ deps = {
'src/third_party/gflags/src': 'src/third_party/gflags/src':
Var('chromium_git') + '/external/gflags/src@e7390f9185c75f8d902c05ed7d20bb94eb914d0c', # from svn revision 82 Var('chromium_git') + '/external/gflags/src@e7390f9185c75f8d902c05ed7d20bb94eb914d0c', # from svn revision 82
'src/third_party/junit': 'src/third_party/junit-jar':
Var('chromium_git') + '/external/webrtc/deps/third_party/junit@f35596b476aa6e62fd3b3857b9942ddcd13ce35e', # from svn revision 3367 Var('chromium_git') + '/external/webrtc/deps/third_party/junit@f35596b476aa6e62fd3b3857b9942ddcd13ce35e', # from svn revision 3367
} }

View File

@@ -12,7 +12,6 @@ solutions = [{
'src/third_party/cld_2/src': None, 'src/third_party/cld_2/src': None,
'src/third_party/ffmpeg': None, 'src/third_party/ffmpeg': None,
'src/third_party/hunspell_dictionaries': None, 'src/third_party/hunspell_dictionaries': None,
'src/third_party/junit/src': None,
'src/third_party/liblouis/src': None, 'src/third_party/liblouis/src': None,
'src/third_party/pdfium': None, 'src/third_party/pdfium': None,
'src/third_party/skia': None, 'src/third_party/skia': None,

View File

@@ -83,10 +83,13 @@ if 'android' in get_target_os_list():
'third_party/appurify-python', 'third_party/appurify-python',
'third_party/ashmem', 'third_party/ashmem',
'third_party/jsr-305', 'third_party/jsr-305',
'third_party/junit',
'third_party/libevent', 'third_party/libevent',
'third_party/libxml', 'third_party/libxml',
'third_party/mockito',
'third_party/modp_b64', 'third_party/modp_b64',
'third_party/requests', 'third_party/requests',
'third_party/robolectric',
'tools/android', 'tools/android',
'tools/grit', 'tools/grit',
'tools/relocation_packer' 'tools/relocation_packer'

View File

@@ -30,7 +30,7 @@ import textwrap
# Bump this whenever the algorithm changes and you need bots/devs to re-sync, # Bump this whenever the algorithm changes and you need bots/devs to re-sync,
# ignoring the .last_sync_chromium file # ignoring the .last_sync_chromium file
SCRIPT_VERSION = 4 SCRIPT_VERSION = 5
ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
CHROMIUM_NO_HISTORY = 'CHROMIUM_NO_HISTORY' CHROMIUM_NO_HISTORY = 'CHROMIUM_NO_HISTORY'

View File

@@ -250,10 +250,16 @@
], ],
'conditions': [ 'conditions': [
['OS=="linux"', { ['OS=="linux"', {
'variables': {
'junit_jar': '<(DEPTH)/third_party/junit-jar/junit-4.11.jar',
},
'targets': [ 'targets': [
{ {
'target_name': 'libjingle_peerconnection_test_jar', 'target_name': 'libjingle_peerconnection_test_jar',
'type': 'none', 'type': 'none',
'dependencies': [
'libjingle.gyp:libjingle_peerconnection_jar',
],
'actions': [ 'actions': [
{ {
'variables': { 'variables': {
@@ -269,7 +275,7 @@
'<@(java_files)', '<@(java_files)',
'<(PRODUCT_DIR)/libjingle_peerconnection.jar', '<(PRODUCT_DIR)/libjingle_peerconnection.jar',
'<(PRODUCT_DIR)/lib/libjingle_peerconnection_so.so', '<(PRODUCT_DIR)/lib/libjingle_peerconnection_so.so',
'<(DEPTH)/third_party/junit/junit-4.11.jar', '<(junit_jar)',
], ],
'outputs': [ 'outputs': [
'<(PRODUCT_DIR)/libjingle_peerconnection_test.jar', '<(PRODUCT_DIR)/libjingle_peerconnection_test.jar',
@@ -277,7 +283,7 @@
'action': [ 'action': [
'build/build_jar.sh', '<(java_home)', '<@(_outputs)', 'build/build_jar.sh', '<(java_home)', '<@(_outputs)',
'<(INTERMEDIATE_DIR)', '<(INTERMEDIATE_DIR)',
'<(java_src_dir):<(PRODUCT_DIR)/libjingle_peerconnection.jar:<(DEPTH)/third_party/junit/junit-4.11.jar', '<(java_src_dir):<(PRODUCT_DIR)/libjingle_peerconnection.jar:<(junit_jar)',
'<@(java_files)' '<@(java_files)'
], ],
}, },
@@ -292,7 +298,7 @@
'inputs': [ 'inputs': [
'app/webrtc/javatests/libjingle_peerconnection_java_unittest.sh', 'app/webrtc/javatests/libjingle_peerconnection_java_unittest.sh',
'<(PRODUCT_DIR)/libjingle_peerconnection_test_jar', '<(PRODUCT_DIR)/libjingle_peerconnection_test_jar',
'<(DEPTH)/third_party/junit/junit-4.11.jar', '<(junit_jar)',
], ],
'outputs': [ 'outputs': [
'<(PRODUCT_DIR)/libjingle_peerconnection_java_unittest', '<(PRODUCT_DIR)/libjingle_peerconnection_java_unittest',
@@ -303,7 +309,7 @@
'sed -e "s@GYP_JAVA_HOME@<(java_home)@" ' 'sed -e "s@GYP_JAVA_HOME@<(java_home)@" '
'< app/webrtc/javatests/libjingle_peerconnection_java_unittest.sh ' '< app/webrtc/javatests/libjingle_peerconnection_java_unittest.sh '
'> <(PRODUCT_DIR)/libjingle_peerconnection_java_unittest && ' '> <(PRODUCT_DIR)/libjingle_peerconnection_java_unittest && '
'cp <(DEPTH)/third_party/junit/junit-4.11.jar <(PRODUCT_DIR) && ' 'cp <(junit_jar) <(PRODUCT_DIR) && '
'chmod u+x <(PRODUCT_DIR)/libjingle_peerconnection_java_unittest' 'chmod u+x <(PRODUCT_DIR)/libjingle_peerconnection_java_unittest'
], ],
}, },