How to use chromium method in lambdium

Best JavaScript code snippet using lambdium

DEPS

Source:DEPS Github

copy

Full Screen

1# This file contains dependencies for WebRTC.2gclient_gn_args_file = 'src/build/config/gclient_args.gni'3gclient_gn_args = [4 'generate_location_tags',5]6vars = {7 # By default, we should check out everything needed to run on the main8 # chromium waterfalls. More info at: crbug.com/570091.9 'checkout_configuration': 'default',10 'checkout_instrumented_libraries': 'checkout_linux and checkout_configuration == "default"',11 'chromium_revision': 'e35a3c7a8acd3dcc1bbebc1b721b682ae9a822a4',12 # Keep the Chromium default of generating location tags.13 'generate_location_tags': True,14}15deps = {16 # TODO(kjellander): Move this to be Android-only once the libevent dependency17 # in base/third_party/libevent is solved.18 'src/base':19 'https://chromium.googlesource.com/chromium/src/base@724970ef620dac0f580f0dd5f4caa4f197d33b4d',20 'src/build':21 'https://chromium.googlesource.com/chromium/src/build@fa02a0c3ece0a36a74ee5c8c4d68fa7772c20c59',22 'src/buildtools':23 'https://chromium.googlesource.com/chromium/src/buildtools@88e9a2946f93d667d787e875c55537c568397f18',24 # Gradle 6.6.1. Used for testing Android Studio project generation for WebRTC.25 'src/examples/androidtests/third_party/gradle': {26 'url': 'https://chromium.googlesource.com/external/github.com/gradle/gradle.git@f2d1fb54a951d8b11d25748e4711bec8d128d7e3',27 'condition': 'checkout_android',28 },29 'src/ios': {30 'url': 'https://chromium.googlesource.com/chromium/src/ios@2fe336757ec8f653d2a5791d7f21ccb61b8c511e',31 'condition': 'checkout_ios',32 },33 'src/testing':34 'https://chromium.googlesource.com/chromium/src/testing@ec366b6184552699f682d63b5a9bb026c4b690c3',35 'src/third_party':36 'https://chromium.googlesource.com/chromium/src/third_party@d01a28e22ca20fc6a74139a91b958a2e73bcde84',37 'src/buildtools/linux64': {38 'packages': [39 {40 'package': 'gn/gn/linux-amd64',41 'version': 'git_revision:69ec4fca1fa69ddadae13f9e6b7507efa0675263',42 }43 ],44 'dep_type': 'cipd',45 'condition': 'checkout_linux',46 },47 'src/buildtools/mac': {48 'packages': [49 {50 'package': 'gn/gn/mac-${{arch}}',51 'version': 'git_revision:69ec4fca1fa69ddadae13f9e6b7507efa0675263',52 }53 ],54 'dep_type': 'cipd',55 'condition': 'checkout_mac',56 },57 'src/buildtools/win': {58 'packages': [59 {60 'package': 'gn/gn/windows-amd64',61 'version': 'git_revision:69ec4fca1fa69ddadae13f9e6b7507efa0675263',62 }63 ],64 'dep_type': 'cipd',65 'condition': 'checkout_win',66 },67 'src/buildtools/clang_format/script':68 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git@99803d74e35962f63a775f29477882afd4d57d94',69 'src/buildtools/third_party/libc++/trunk':70 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git@79a2e924d96e2fc1e4b937c42efd08898fa472d7',71 'src/buildtools/third_party/libc++abi/trunk':72 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git@bac1433f3dfcaa6896b79571db1470526a046dd1',73 'src/buildtools/third_party/libunwind/trunk':74 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git@83f8edbca7fc9b34be334da52091905dc3cc0c4a',75 'src/tools/clang/dsymutil': {76 'packages': [77 {78 'package': 'chromium/llvm-build-tools/dsymutil',79 'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',80 }81 ],82 'condition': 'checkout_mac',83 'dep_type': 'cipd',84 },85 'src/third_party/android_system_sdk': {86 'packages': [87 {88 'package': 'chromium/third_party/android_system_sdk/public',89 'version': 'oSfDIvHlCa6W0gS79Q5OOfB9E4eBg3uAvi3BEDN21U0C',90 },91 ],92 'condition': 'checkout_android',93 'dep_type': 'cipd',94 },95 'src/third_party/android_build_tools/aapt2': {96 'packages': [97 {98 'package': 'chromium/third_party/android_build_tools/aapt2',99 'version': 'PHj2SHpCe6Sr9lcIR9W1onhKN4FIIPL2Mho5aAQG-QIC',100 },101 ],102 'condition': 'checkout_android',103 'dep_type': 'cipd',104 },105 'src/third_party/android_build_tools/bundletool': {106 'packages': [107 {108 'package': 'chromium/third_party/android_build_tools/bundletool',109 'version': 'nK0LSzIJHh_OqyIEMh3zye_Ad54jw57inqQF5jFJzdYC',110 },111 ],112 'condition': 'checkout_android',113 'dep_type': 'cipd',114 },115 'src/third_party/boringssl/src':116 'https://boringssl.googlesource.com/boringssl.git@80df7398ce52574801821ce7a76c031c35d6b882',117 'src/third_party/breakpad/breakpad':118 'https://chromium.googlesource.com/breakpad/breakpad.git@524a6249f0b4dc4e24d38a29a36e1c8ae611d28f',119 'src/third_party/catapult':120 'https://chromium.googlesource.com/catapult.git@7303a9158797100eb0a00267a72bafb8e61f46c5',121 'src/third_party/ced/src': {122 'url': 'https://chromium.googlesource.com/external/github.com/google/compact_enc_det.git@ba412eaaacd3186085babcd901679a48863c7dd5',123 },124 'src/third_party/colorama/src':125 'https://chromium.googlesource.com/external/colorama.git@799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',126 'src/third_party/crc32c/src':127 'https://chromium.googlesource.com/external/github.com/google/crc32c.git@fa5ade41ee480003d9c5af6f43567ba22e4e17e6',128 'src/third_party/depot_tools':129 'https://chromium.googlesource.com/chromium/tools/depot_tools.git@77720f0d5afbc03d775b21798918625b43491fc4',130 'src/third_party/ffmpeg':131 'https://chromium.googlesource.com/chromium/third_party/ffmpeg.git@1f33e234be4e2823c663d02b3baa3e7a7cfc33cb',132 'src/third_party/findbugs': {133 'url': 'https://chromium.googlesource.com/chromium/deps/findbugs.git@4275d9ac8610db6b1bc9a5e887f97e41b33fac67',134 'condition': 'checkout_android',135 },136 # Used for embedded builds. CrOS & Linux use the system version.137 'src/third_party/fontconfig/src': {138 'url': 'https://chromium.googlesource.com/external/fontconfig.git@452be8125f0e2a18a7dfef469e05d19374d36307',139 'condition': 'checkout_linux',140 },141 'src/third_party/freetype/src':142 'https://chromium.googlesource.com/chromium/src/third_party/freetype2.git@e2cceed857f0b4f3f3fd48681d2f3009e62d1194',143 'src/third_party/harfbuzz-ng/src':144 'https://chromium.googlesource.com/external/github.com/harfbuzz/harfbuzz.git@c08f1b89037b9a0277b8cef67ff2f38bcf253dfd',145 'src/third_party/google_benchmark/src': {146 'url': 'https://chromium.googlesource.com/external/github.com/google/benchmark.git@e991355c02b93fe17713efe04cbc2e278e00fdbd',147 },148 # WebRTC-only dependency (not present in Chromium).149 'src/third_party/gtest-parallel':150 'https://chromium.googlesource.com/external/github.com/google/gtest-parallel@11cce5c2872be4849c087afc7d19fbed390fa928',151 'src/third_party/google-truth': {152 'packages': [153 {154 'package': 'chromium/third_party/google-truth',155 'version': 'u8oovXxp24lStqX4d54htRovta-75Sy2w7ijg1TL07gC',156 },157 ],158 'condition': 'checkout_android',159 'dep_type': 'cipd',160 },161 'src/third_party/googletest/src':162 'https://chromium.googlesource.com/external/github.com/google/googletest.git@0134d73a4902574269ff2e42827f7573d3df08ae',163 'src/third_party/icu': {164 'url': 'https://chromium.googlesource.com/chromium/deps/icu.git@a38aef9142ace942a8bf166020c569f4cda0f8d3',165 },166 'src/third_party/jdk': {167 'packages': [168 {169 'package': 'chromium/third_party/jdk',170 'version': 'JhpgSvTpgVUkoKe56yQmYaR1jXNcY8NqlltA0mKIO4EC',171 },172 ],173 'condition': 'host_os == "linux" and checkout_android',174 'dep_type': 'cipd',175 },176 'src/third_party/jdk/extras': {177 'packages': [178 {179 'package': 'chromium/third_party/jdk/extras',180 'version': '-7m_pvgICYN60yQI3qmTj_8iKjtnT4NXicT0G_jJPqsC',181 },182 ],183 'condition': 'host_os == "linux" and checkout_android',184 'dep_type': 'cipd',185 },186 'src/third_party/jsoncpp/source':187 'https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git@9059f5cad030ba11d37818847443a53918c327b1', # from svn 248188 'src/third_party/junit/src': {189 'url': 'https://chromium.googlesource.com/external/junit.git@64155f8a9babcfcf4263cf4d08253a1556e75481',190 'condition': 'checkout_android',191 },192 # Used for building libFuzzers (only supports Linux).193 'src/third_party/libFuzzer/src':194 'https://chromium.googlesource.com/chromium/llvm-project/compiler-rt/lib/fuzzer.git@debe7d2d1982e540fbd6bd78604bf001753f9e74',195 'src/third_party/libjpeg_turbo':196 'https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@ff19e5b2e176c61d552f68768e0e051867745321',197 'src/third_party/libsrtp':198 'https://chromium.googlesource.com/chromium/deps/libsrtp.git@5b7c744eb8310250ccc534f3f86a2015b3887a0a',199 'src/third_party/libaom/source/libaom':200 'https://aomedia.googlesource.com/aom.git@da0b537ee186143863ba7b41f004b2ecbb7b66b2',201 'src/third_party/libunwindstack': {202 'url': 'https://chromium.googlesource.com/chromium/src/third_party/libunwindstack.git@b34a0059a648f179ef05da2c0927f564bdaea2b3',203 'condition': 'checkout_android',204 },205 'src/third_party/perfetto':206 'https://android.googlesource.com/platform/external/perfetto.git@95e9c5e2078ee7e291d4863626d78a21b98dfa26',207 'src/third_party/libvpx/source/libvpx':208 'https://chromium.googlesource.com/webm/libvpx.git@15a75b45304248f746634b43763c496322bf8968',209 'src/third_party/libyuv':210 'https://chromium.googlesource.com/libyuv/libyuv.git@49ebc996aa8c4bdf89c1b5ea461eb677234c61cc',211 'src/third_party/lss': {212 'url': 'https://chromium.googlesource.com/linux-syscall-support.git@92a65a8f5d705d1928874420c8d0d15bde8c89e5',213 'condition': 'checkout_android or checkout_linux',214 },215 'src/third_party/mockito/src': {216 'url': 'https://chromium.googlesource.com/external/mockito/mockito.git@04a2a289a4222f80ad20717c25144981210d2eac',217 'condition': 'checkout_android',218 },219 # Used by boringssl.220 'src/third_party/nasm': {221 'url': 'https://chromium.googlesource.com/chromium/deps/nasm.git@4e6fe9d1549e4ffb6c804494573e404849dfe7de'222 },223 'src/third_party/openh264/src':224 'https://chromium.googlesource.com/external/github.com/cisco/openh264@3dd5b80bc4f172dd82925bb259cb7c82348409c5',225 'src/third_party/r8': {226 'packages': [227 {228 'package': 'chromium/third_party/r8',229 'version': 'version:2@3.1.16',230 },231 ],232 'condition': 'checkout_android',233 'dep_type': 'cipd',234 },235 'src/third_party/proguard': {236 'packages': [237 {238 'package': 'chromium/third_party/proguard',239 'version': 'Fd91BJFVlmiO6c46YMTsdy7n2f5Sk2hVVGlzPLvqZPsC',240 },241 ],242 'condition': 'checkout_android',243 'dep_type': 'cipd',244 },245 'src/third_party/requests/src': {246 'url': 'https://chromium.googlesource.com/external/github.com/kennethreitz/requests.git@refs/tags/v2.23.0',247 'condition': 'checkout_android',248 },249 'src/third_party/ub-uiautomator/lib': {250 'url': 'https://chromium.googlesource.com/chromium/third_party/ub-uiautomator.git@00270549ce3161ae72ceb24712618ea28b4f9434',251 'condition': 'checkout_android',252 },253 'src/third_party/usrsctp/usrsctplib':254 'https://chromium.googlesource.com/external/github.com/sctplab/usrsctp@978003f36a3bc1e9fdeafae26dbfe825684b0a25',255 # Dependency used by libjpeg-turbo.256 'src/third_party/yasm/binaries': {257 'url': 'https://chromium.googlesource.com/chromium/deps/yasm/binaries.git@52f9b3f4b0aa06da24ef8b123058bb61ee468881',258 'condition': 'checkout_win',259 },260 'src/tools':261 'https://chromium.googlesource.com/chromium/src/tools@7fedcd5492f8cab7e7dda3389985625894d0071a',262 'src/third_party/accessibility_test_framework': {263 'packages': [264 {265 'package': 'chromium/third_party/accessibility-test-framework',266 'version': 'b5ec1e56e58e56bc1a0c77d43111c37f9b512c8a',267 },268 ],269 'condition': 'checkout_android',270 'dep_type': 'cipd',271 },272 'src/third_party/android_support_test_runner': {273 'packages': [274 {275 'package': 'chromium/third_party/android_support_test_runner',276 'version': '96d4bf848cd210fdcbca6bcc8c1b4b39cbd93141',277 },278 ],279 'condition': 'checkout_android',280 'dep_type': 'cipd',281 },282 'src/third_party/bazel': {283 'packages': [284 {285 'package': 'chromium/third_party/bazel',286 'version': 'VjMsf48QUWw8n7XtJP2AuSjIGmbQeYdWdwyxVvIRLmAC',287 },288 ],289 'condition': 'checkout_android',290 'dep_type': 'cipd',291 },292 'src/third_party/bouncycastle': {293 'packages': [294 {295 'package': 'chromium/third_party/bouncycastle',296 'version': 'c078e87552ba26e776566fdaf0f22cd8712743d0',297 },298 ],299 'condition': 'checkout_android',300 'dep_type': 'cipd',301 },302 'src/third_party/byte_buddy': {303 'packages': [304 {305 'package': 'chromium/third_party/byte_buddy',306 'version': 'c9b53316603fc2d997c899c7ca1707f809b918cd',307 },308 ],309 'condition': 'checkout_android',310 'dep_type': 'cipd',311 },312 'src/third_party/byte_buddy/android_sdk_build_tools_25_0_2': {313 'packages': [314 {315 'package': 'chromium/third_party/android_sdk/public/build-tools',316 'version': 'kwIs2vdfTm93yEP8LG5aSnchN4BVEdVxbqQtF4XpPdkC',317 },318 ],319 'condition': 'checkout_android',320 'dep_type': 'cipd',321 },322 'src/third_party/espresso': {323 'packages': [324 {325 'package': 'chromium/third_party/espresso',326 'version': 'y8fIfH8Leo2cPm7iGCYnBxZpwOlgLv8rm2mlcmJlvGsC',327 },328 ],329 'condition': 'checkout_android',330 'dep_type': 'cipd',331 },332 'src/third_party/hamcrest': {333 'packages': [334 {335 'package': 'chromium/third_party/hamcrest',336 'version': '37eccfc658fe79695d6abb6dd497463c4372032f',337 },338 ],339 'condition': 'checkout_android',340 'dep_type': 'cipd',341 },342 'src/third_party/android_ndk': {343 'url': 'https://chromium.googlesource.com/android_ndk.git@401019bf85744311b26c88ced255cd53401af8b7',344 'condition': 'checkout_android',345 },346 'src/third_party/androidx': {347 'packages': [348 {349 'package': 'chromium/third_party/androidx',350 'version': 'MHfls6SMbw1w9cf-Cbn_1lmIBXDCXFRTZEcYi8l-uwwC',351 },352 ],353 'condition': 'checkout_android',354 'dep_type': 'cipd',355 },356 'src/third_party/android_sdk/public': {357 'packages': [358 {359 'package': 'chromium/third_party/android_sdk/public/build-tools/31.0.0',360 'version': 'tRoD45SCi7UleQqSV7MrMQO1_e5P8ysphkCcj6z_cCQC',361 },362 {363 'package': 'chromium/third_party/android_sdk/public/emulator',364 'version': 'gMHhUuoQRKfxr-MBn3fNNXZtkAVXtOwMwT7kfx8jkIgC',365 },366 {367 'package': 'chromium/third_party/android_sdk/public/extras',368 'version': 'ppQ4TnqDvBHQ3lXx5KPq97egzF5X2FFyOrVHkGmiTMQC',369 },370 {371 'package': 'chromium/third_party/android_sdk/public/patcher',372 'version': 'I6FNMhrXlpB-E1lOhMlvld7xt9lBVNOO83KIluXDyA0C',373 },374 {375 'package': 'chromium/third_party/android_sdk/public/platform-tools',376 'version': 'qi_k82nm6j9nz4dQosOoqXew4_TFAy8rcGOHDLptx1sC',377 },378 {379 'package': 'chromium/third_party/android_sdk/public/platforms/android-31',380 'version': 'lL3IGexKjYlwjO_1Ga-xwxgwbE_w-lmi2Zi1uOlWUIAC',381 },382 {383 'package': 'chromium/third_party/android_sdk/public/sources/android-30',384 'version': 'n7svc8KYah-i4s8zwkVa85SI3_H0WFOniP0mpwNdFO0C',385 },386 {387 'package': 'chromium/third_party/android_sdk/public/cmdline-tools',388 'version': 'ZT3JmI6GMG4YVcZ1OtECRVMOLLJAWAdPbi-OclubJLMC',389 },390 ],391 'condition': 'checkout_android',392 'dep_type': 'cipd',393 },394 'src/third_party/icu4j': {395 'packages': [396 {397 'package': 'chromium/third_party/icu4j',398 'version': 'e87e5bed2b4935913ee26a3ebd0b723ee2344354',399 },400 ],401 'condition': 'checkout_android',402 'dep_type': 'cipd',403 },404 'src/third_party/objenesis': {405 'packages': [406 {407 'package': 'chromium/third_party/objenesis',408 'version': 'tknDblENYi8IaJYyD6tUahUyHYZlzJ_Y74_QZSz4DpIC',409 },410 ],411 'condition': 'checkout_android',412 'dep_type': 'cipd',413 },414 'src/third_party/robolectric': {415 'packages': [416 {417 'package': 'chromium/third_party/robolectric',418 'version': 'iC6RDM5EH3GEAzR-1shW_Mg0FeeNE5shq1okkFfuuNQC',419 },420 ],421 'condition': 'checkout_android',422 'dep_type': 'cipd',423 },424 'src/third_party/sqlite4java': {425 'packages': [426 {427 'package': 'chromium/third_party/sqlite4java',428 'version': 'LofjKH9dgXIAJhRYCPQlMFywSwxYimrfDeBmaHc-Z5EC',429 },430 ],431 'condition': 'checkout_android',432 'dep_type': 'cipd',433 },434 'src/third_party/turbine': {435 'packages': [436 {437 'package': 'chromium/third_party/turbine',438 'version': 'Om6yIEXgJxuqghErK29h9RcMH6VaymMbxwScwXmcN6EC',439 },440 ],441 'condition': 'checkout_android',442 'dep_type': 'cipd',443 },444 'src/tools/luci-go': {445 'packages': [446 {447 'package': 'infra/tools/luci/isolate/${{platform}}',448 'version': 'git_revision:a5735121c6339dee9b1b3644535e230744daaac9',449 },450 {451 'package': 'infra/tools/luci/isolated/${{platform}}',452 'version': 'git_revision:a5735121c6339dee9b1b3644535e230744daaac9',453 },454 {455 'package': 'infra/tools/luci/swarming/${{platform}}',456 'version': 'git_revision:a5735121c6339dee9b1b3644535e230744daaac9',457 },458 ],459 'dep_type': 'cipd',460 },461 # TODO(crbug.com/1184780) Move this back to ANDROID_DEPS Generated Code462 # section once org_robolectric_shadows_multidex is updated to a new version463 # that does not need jetify.464 'src/third_party/android_deps/libs/org_robolectric_shadows_multidex': {465 'packages': [466 {467 'package': 'chromium/third_party/android_deps/libs/org_robolectric_shadows_multidex',468 'version': 'version:4.3.1-cr1',469 },470 ],471 'condition': 'checkout_android',472 'dep_type': 'cipd',473 },474 # Everything coming after this is automatically updated by the auto-roller.475 # === ANDROID_DEPS Generated Code Start ===476 # Generated by //third_party/android_deps/fetch_all.py477 'src/third_party/android_deps/libs/android_arch_core_common': {478 'packages': [479 {480 'package': 'chromium/third_party/android_deps/libs/android_arch_core_common',481 'version': 'version:2@1.1.1.cr0',482 },483 ],484 'condition': 'checkout_android',485 'dep_type': 'cipd',486 },487 'src/third_party/android_deps/libs/android_arch_core_runtime': {488 'packages': [489 {490 'package': 'chromium/third_party/android_deps/libs/android_arch_core_runtime',491 'version': 'version:2@1.1.1.cr0',492 },493 ],494 'condition': 'checkout_android',495 'dep_type': 'cipd',496 },497 'src/third_party/android_deps/libs/android_arch_lifecycle_common': {498 'packages': [499 {500 'package': 'chromium/third_party/android_deps/libs/android_arch_lifecycle_common',501 'version': 'version:2@1.1.1.cr0',502 },503 ],504 'condition': 'checkout_android',505 'dep_type': 'cipd',506 },507 'src/third_party/android_deps/libs/android_arch_lifecycle_common_java8': {508 'packages': [509 {510 'package': 'chromium/third_party/android_deps/libs/android_arch_lifecycle_common_java8',511 'version': 'version:2@1.1.1.cr0',512 },513 ],514 'condition': 'checkout_android',515 'dep_type': 'cipd',516 },517 'src/third_party/android_deps/libs/android_arch_lifecycle_livedata': {518 'packages': [519 {520 'package': 'chromium/third_party/android_deps/libs/android_arch_lifecycle_livedata',521 'version': 'version:2@1.1.1.cr0',522 },523 ],524 'condition': 'checkout_android',525 'dep_type': 'cipd',526 },527 'src/third_party/android_deps/libs/android_arch_lifecycle_livedata_core': {528 'packages': [529 {530 'package': 'chromium/third_party/android_deps/libs/android_arch_lifecycle_livedata_core',531 'version': 'version:2@1.1.1.cr0',532 },533 ],534 'condition': 'checkout_android',535 'dep_type': 'cipd',536 },537 'src/third_party/android_deps/libs/android_arch_lifecycle_runtime': {538 'packages': [539 {540 'package': 'chromium/third_party/android_deps/libs/android_arch_lifecycle_runtime',541 'version': 'version:2@1.1.1.cr0',542 },543 ],544 'condition': 'checkout_android',545 'dep_type': 'cipd',546 },547 'src/third_party/android_deps/libs/android_arch_lifecycle_viewmodel': {548 'packages': [549 {550 'package': 'chromium/third_party/android_deps/libs/android_arch_lifecycle_viewmodel',551 'version': 'version:2@1.1.1.cr0',552 },553 ],554 'condition': 'checkout_android',555 'dep_type': 'cipd',556 },557 'src/third_party/android_deps/libs/backport_util_concurrent_backport_util_concurrent': {558 'packages': [559 {560 'package': 'chromium/third_party/android_deps/libs/backport_util_concurrent_backport_util_concurrent',561 'version': 'version:2@3.1.cr0',562 },563 ],564 'condition': 'checkout_android',565 'dep_type': 'cipd',566 },567 'src/third_party/android_deps/libs/classworlds_classworlds': {568 'packages': [569 {570 'package': 'chromium/third_party/android_deps/libs/classworlds_classworlds',571 'version': 'version:2@1.1-alpha-2.cr0',572 },573 ],574 'condition': 'checkout_android',575 'dep_type': 'cipd',576 },577 'src/third_party/android_deps/libs/com_android_support_animated_vector_drawable': {578 'packages': [579 {580 'package': 'chromium/third_party/android_deps/libs/com_android_support_animated_vector_drawable',581 'version': 'version:2@28.0.0.cr0',582 },583 ],584 'condition': 'checkout_android',585 'dep_type': 'cipd',586 },587 'src/third_party/android_deps/libs/com_android_support_appcompat_v7': {588 'packages': [589 {590 'package': 'chromium/third_party/android_deps/libs/com_android_support_appcompat_v7',591 'version': 'version:2@28.0.0.cr0',592 },593 ],594 'condition': 'checkout_android',595 'dep_type': 'cipd',596 },597 'src/third_party/android_deps/libs/com_android_support_asynclayoutinflater': {598 'packages': [599 {600 'package': 'chromium/third_party/android_deps/libs/com_android_support_asynclayoutinflater',601 'version': 'version:2@28.0.0.cr0',602 },603 ],604 'condition': 'checkout_android',605 'dep_type': 'cipd',606 },607 'src/third_party/android_deps/libs/com_android_support_cardview_v7': {608 'packages': [609 {610 'package': 'chromium/third_party/android_deps/libs/com_android_support_cardview_v7',611 'version': 'version:2@28.0.0.cr0',612 },613 ],614 'condition': 'checkout_android',615 'dep_type': 'cipd',616 },617 'src/third_party/android_deps/libs/com_android_support_collections': {618 'packages': [619 {620 'package': 'chromium/third_party/android_deps/libs/com_android_support_collections',621 'version': 'version:2@28.0.0.cr0',622 },623 ],624 'condition': 'checkout_android',625 'dep_type': 'cipd',626 },627 'src/third_party/android_deps/libs/com_android_support_coordinatorlayout': {628 'packages': [629 {630 'package': 'chromium/third_party/android_deps/libs/com_android_support_coordinatorlayout',631 'version': 'version:2@28.0.0.cr0',632 },633 ],634 'condition': 'checkout_android',635 'dep_type': 'cipd',636 },637 'src/third_party/android_deps/libs/com_android_support_cursoradapter': {638 'packages': [639 {640 'package': 'chromium/third_party/android_deps/libs/com_android_support_cursoradapter',641 'version': 'version:2@28.0.0.cr0',642 },643 ],644 'condition': 'checkout_android',645 'dep_type': 'cipd',646 },647 'src/third_party/android_deps/libs/com_android_support_customview': {648 'packages': [649 {650 'package': 'chromium/third_party/android_deps/libs/com_android_support_customview',651 'version': 'version:2@28.0.0.cr0',652 },653 ],654 'condition': 'checkout_android',655 'dep_type': 'cipd',656 },657 'src/third_party/android_deps/libs/com_android_support_design': {658 'packages': [659 {660 'package': 'chromium/third_party/android_deps/libs/com_android_support_design',661 'version': 'version:2@28.0.0.cr0',662 },663 ],664 'condition': 'checkout_android',665 'dep_type': 'cipd',666 },667 'src/third_party/android_deps/libs/com_android_support_documentfile': {668 'packages': [669 {670 'package': 'chromium/third_party/android_deps/libs/com_android_support_documentfile',671 'version': 'version:2@28.0.0.cr0',672 },673 ],674 'condition': 'checkout_android',675 'dep_type': 'cipd',676 },677 'src/third_party/android_deps/libs/com_android_support_drawerlayout': {678 'packages': [679 {680 'package': 'chromium/third_party/android_deps/libs/com_android_support_drawerlayout',681 'version': 'version:2@28.0.0.cr0',682 },683 ],684 'condition': 'checkout_android',685 'dep_type': 'cipd',686 },687 'src/third_party/android_deps/libs/com_android_support_interpolator': {688 'packages': [689 {690 'package': 'chromium/third_party/android_deps/libs/com_android_support_interpolator',691 'version': 'version:2@28.0.0.cr0',692 },693 ],694 'condition': 'checkout_android',695 'dep_type': 'cipd',696 },697 'src/third_party/android_deps/libs/com_android_support_loader': {698 'packages': [699 {700 'package': 'chromium/third_party/android_deps/libs/com_android_support_loader',701 'version': 'version:2@28.0.0.cr0',702 },703 ],704 'condition': 'checkout_android',705 'dep_type': 'cipd',706 },707 'src/third_party/android_deps/libs/com_android_support_localbroadcastmanager': {708 'packages': [709 {710 'package': 'chromium/third_party/android_deps/libs/com_android_support_localbroadcastmanager',711 'version': 'version:2@28.0.0.cr0',712 },713 ],714 'condition': 'checkout_android',715 'dep_type': 'cipd',716 },717 'src/third_party/android_deps/libs/com_android_support_multidex': {718 'packages': [719 {720 'package': 'chromium/third_party/android_deps/libs/com_android_support_multidex',721 'version': 'version:2@1.0.0.cr0',722 },723 ],724 'condition': 'checkout_android',725 'dep_type': 'cipd',726 },727 'src/third_party/android_deps/libs/com_android_support_print': {728 'packages': [729 {730 'package': 'chromium/third_party/android_deps/libs/com_android_support_print',731 'version': 'version:2@28.0.0.cr0',732 },733 ],734 'condition': 'checkout_android',735 'dep_type': 'cipd',736 },737 'src/third_party/android_deps/libs/com_android_support_recyclerview_v7': {738 'packages': [739 {740 'package': 'chromium/third_party/android_deps/libs/com_android_support_recyclerview_v7',741 'version': 'version:2@28.0.0.cr0',742 },743 ],744 'condition': 'checkout_android',745 'dep_type': 'cipd',746 },747 'src/third_party/android_deps/libs/com_android_support_slidingpanelayout': {748 'packages': [749 {750 'package': 'chromium/third_party/android_deps/libs/com_android_support_slidingpanelayout',751 'version': 'version:2@28.0.0.cr0',752 },753 ],754 'condition': 'checkout_android',755 'dep_type': 'cipd',756 },757 'src/third_party/android_deps/libs/com_android_support_support_annotations': {758 'packages': [759 {760 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_annotations',761 'version': 'version:2@28.0.0.cr0',762 },763 ],764 'condition': 'checkout_android',765 'dep_type': 'cipd',766 },767 'src/third_party/android_deps/libs/com_android_support_support_compat': {768 'packages': [769 {770 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_compat',771 'version': 'version:2@28.0.0.cr0',772 },773 ],774 'condition': 'checkout_android',775 'dep_type': 'cipd',776 },777 'src/third_party/android_deps/libs/com_android_support_support_core_ui': {778 'packages': [779 {780 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_core_ui',781 'version': 'version:2@28.0.0.cr0',782 },783 ],784 'condition': 'checkout_android',785 'dep_type': 'cipd',786 },787 'src/third_party/android_deps/libs/com_android_support_support_core_utils': {788 'packages': [789 {790 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_core_utils',791 'version': 'version:2@28.0.0.cr0',792 },793 ],794 'condition': 'checkout_android',795 'dep_type': 'cipd',796 },797 'src/third_party/android_deps/libs/com_android_support_support_fragment': {798 'packages': [799 {800 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_fragment',801 'version': 'version:2@28.0.0.cr0',802 },803 ],804 'condition': 'checkout_android',805 'dep_type': 'cipd',806 },807 'src/third_party/android_deps/libs/com_android_support_support_media_compat': {808 'packages': [809 {810 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_media_compat',811 'version': 'version:2@28.0.0.cr0',812 },813 ],814 'condition': 'checkout_android',815 'dep_type': 'cipd',816 },817 'src/third_party/android_deps/libs/com_android_support_support_v4': {818 'packages': [819 {820 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_v4',821 'version': 'version:2@28.0.0.cr0',822 },823 ],824 'condition': 'checkout_android',825 'dep_type': 'cipd',826 },827 'src/third_party/android_deps/libs/com_android_support_support_vector_drawable': {828 'packages': [829 {830 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_vector_drawable',831 'version': 'version:2@28.0.0.cr0',832 },833 ],834 'condition': 'checkout_android',835 'dep_type': 'cipd',836 },837 'src/third_party/android_deps/libs/com_android_support_swiperefreshlayout': {838 'packages': [839 {840 'package': 'chromium/third_party/android_deps/libs/com_android_support_swiperefreshlayout',841 'version': 'version:2@28.0.0.cr0',842 },843 ],844 'condition': 'checkout_android',845 'dep_type': 'cipd',846 },847 'src/third_party/android_deps/libs/com_android_support_transition': {848 'packages': [849 {850 'package': 'chromium/third_party/android_deps/libs/com_android_support_transition',851 'version': 'version:2@28.0.0.cr0',852 },853 ],854 'condition': 'checkout_android',855 'dep_type': 'cipd',856 },857 'src/third_party/android_deps/libs/com_android_support_versionedparcelable': {858 'packages': [859 {860 'package': 'chromium/third_party/android_deps/libs/com_android_support_versionedparcelable',861 'version': 'version:2@28.0.0.cr0',862 },863 ],864 'condition': 'checkout_android',865 'dep_type': 'cipd',866 },867 'src/third_party/android_deps/libs/com_android_support_viewpager': {868 'packages': [869 {870 'package': 'chromium/third_party/android_deps/libs/com_android_support_viewpager',871 'version': 'version:2@28.0.0.cr0',872 },873 ],874 'condition': 'checkout_android',875 'dep_type': 'cipd',876 },877 'src/third_party/android_deps/libs/com_android_tools_common': {878 'packages': [879 {880 'package': 'chromium/third_party/android_deps/libs/com_android_tools_common',881 'version': 'version:2@30.0.0-alpha10.cr0',882 },883 ],884 'condition': 'checkout_android',885 'dep_type': 'cipd',886 },887 'src/third_party/android_deps/libs/com_android_tools_desugar_jdk_libs': {888 'packages': [889 {890 'package': 'chromium/third_party/android_deps/libs/com_android_tools_desugar_jdk_libs',891 'version': 'version:2@1.1.1.cr0',892 },893 ],894 'condition': 'checkout_android',895 'dep_type': 'cipd',896 },897 'src/third_party/android_deps/libs/com_android_tools_desugar_jdk_libs_configuration': {898 'packages': [899 {900 'package': 'chromium/third_party/android_deps/libs/com_android_tools_desugar_jdk_libs_configuration',901 'version': 'version:2@1.1.1.cr0',902 },903 ],904 'condition': 'checkout_android',905 'dep_type': 'cipd',906 },907 'src/third_party/android_deps/libs/com_android_tools_layoutlib_layoutlib_api': {908 'packages': [909 {910 'package': 'chromium/third_party/android_deps/libs/com_android_tools_layoutlib_layoutlib_api',911 'version': 'version:2@30.0.0-alpha10.cr0',912 },913 ],914 'condition': 'checkout_android',915 'dep_type': 'cipd',916 },917 'src/third_party/android_deps/libs/com_android_tools_sdk_common': {918 'packages': [919 {920 'package': 'chromium/third_party/android_deps/libs/com_android_tools_sdk_common',921 'version': 'version:2@30.0.0-alpha10.cr0',922 },923 ],924 'condition': 'checkout_android',925 'dep_type': 'cipd',926 },927 'src/third_party/android_deps/libs/com_github_ben_manes_caffeine_caffeine': {928 'packages': [929 {930 'package': 'chromium/third_party/android_deps/libs/com_github_ben_manes_caffeine_caffeine',931 'version': 'version:2@2.8.8.cr0',932 },933 ],934 'condition': 'checkout_android',935 'dep_type': 'cipd',936 },937 'src/third_party/android_deps/libs/com_github_kevinstern_software_and_algorithms': {938 'packages': [939 {940 'package': 'chromium/third_party/android_deps/libs/com_github_kevinstern_software_and_algorithms',941 'version': 'version:2@1.0.cr0',942 },943 ],944 'condition': 'checkout_android',945 'dep_type': 'cipd',946 },947 'src/third_party/android_deps/libs/com_google_android_datatransport_transport_api': {948 'packages': [949 {950 'package': 'chromium/third_party/android_deps/libs/com_google_android_datatransport_transport_api',951 'version': 'version:2@2.2.1.cr0',952 },953 ],954 'condition': 'checkout_android',955 'dep_type': 'cipd',956 },957 'src/third_party/android_deps/libs/com_google_android_gms_play_services_auth': {958 'packages': [959 {960 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_auth',961 'version': 'version:2@17.0.0.cr0',962 },963 ],964 'condition': 'checkout_android',965 'dep_type': 'cipd',966 },967 'src/third_party/android_deps/libs/com_google_android_gms_play_services_auth_api_phone': {968 'packages': [969 {970 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_auth_api_phone',971 'version': 'version:2@17.5.0.cr0',972 },973 ],974 'condition': 'checkout_android',975 'dep_type': 'cipd',976 },977 'src/third_party/android_deps/libs/com_google_android_gms_play_services_auth_base': {978 'packages': [979 {980 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_auth_base',981 'version': 'version:2@17.0.0.cr0',982 },983 ],984 'condition': 'checkout_android',985 'dep_type': 'cipd',986 },987 'src/third_party/android_deps/libs/com_google_android_gms_play_services_base': {988 'packages': [989 {990 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_base',991 'version': 'version:2@17.5.0.cr0',992 },993 ],994 'condition': 'checkout_android',995 'dep_type': 'cipd',996 },997 'src/third_party/android_deps/libs/com_google_android_gms_play_services_basement': {998 'packages': [999 {1000 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_basement',1001 'version': 'version:2@17.5.0.cr0',1002 },1003 ],1004 'condition': 'checkout_android',1005 'dep_type': 'cipd',1006 },1007 'src/third_party/android_deps/libs/com_google_android_gms_play_services_cast': {1008 'packages': [1009 {1010 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_cast',1011 'version': 'version:2@17.0.0.cr0',1012 },1013 ],1014 'condition': 'checkout_android',1015 'dep_type': 'cipd',1016 },1017 'src/third_party/android_deps/libs/com_google_android_gms_play_services_cast_framework': {1018 'packages': [1019 {1020 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_cast_framework',1021 'version': 'version:2@17.0.0.cr0',1022 },1023 ],1024 'condition': 'checkout_android',1025 'dep_type': 'cipd',1026 },1027 'src/third_party/android_deps/libs/com_google_android_gms_play_services_clearcut': {1028 'packages': [1029 {1030 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_clearcut',1031 'version': 'version:2@17.0.0.cr0',1032 },1033 ],1034 'condition': 'checkout_android',1035 'dep_type': 'cipd',1036 },1037 'src/third_party/android_deps/libs/com_google_android_gms_play_services_cloud_messaging': {1038 'packages': [1039 {1040 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_cloud_messaging',1041 'version': 'version:2@16.0.0.cr0',1042 },1043 ],1044 'condition': 'checkout_android',1045 'dep_type': 'cipd',1046 },1047 'src/third_party/android_deps/libs/com_google_android_gms_play_services_fido': {1048 'packages': [1049 {1050 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_fido',1051 'version': 'version:2@19.0.0-beta.cr0',1052 },1053 ],1054 'condition': 'checkout_android',1055 'dep_type': 'cipd',1056 },1057 'src/third_party/android_deps/libs/com_google_android_gms_play_services_flags': {1058 'packages': [1059 {1060 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_flags',1061 'version': 'version:2@17.0.0.cr0',1062 },1063 ],1064 'condition': 'checkout_android',1065 'dep_type': 'cipd',1066 },1067 'src/third_party/android_deps/libs/com_google_android_gms_play_services_gcm': {1068 'packages': [1069 {1070 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_gcm',1071 'version': 'version:2@17.0.0.cr0',1072 },1073 ],1074 'condition': 'checkout_android',1075 'dep_type': 'cipd',1076 },1077 'src/third_party/android_deps/libs/com_google_android_gms_play_services_iid': {1078 'packages': [1079 {1080 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_iid',1081 'version': 'version:2@17.0.0.cr0',1082 },1083 ],1084 'condition': 'checkout_android',1085 'dep_type': 'cipd',1086 },1087 'src/third_party/android_deps/libs/com_google_android_gms_play_services_instantapps': {1088 'packages': [1089 {1090 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_instantapps',1091 'version': 'version:2@17.0.0.cr0',1092 },1093 ],1094 'condition': 'checkout_android',1095 'dep_type': 'cipd',1096 },1097 'src/third_party/android_deps/libs/com_google_android_gms_play_services_location': {1098 'packages': [1099 {1100 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_location',1101 'version': 'version:2@17.0.0.cr0',1102 },1103 ],1104 'condition': 'checkout_android',1105 'dep_type': 'cipd',1106 },1107 'src/third_party/android_deps/libs/com_google_android_gms_play_services_phenotype': {1108 'packages': [1109 {1110 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_phenotype',1111 'version': 'version:2@17.0.0.cr0',1112 },1113 ],1114 'condition': 'checkout_android',1115 'dep_type': 'cipd',1116 },1117 'src/third_party/android_deps/libs/com_google_android_gms_play_services_places_placereport': {1118 'packages': [1119 {1120 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_places_placereport',1121 'version': 'version:2@17.0.0.cr0',1122 },1123 ],1124 'condition': 'checkout_android',1125 'dep_type': 'cipd',1126 },1127 'src/third_party/android_deps/libs/com_google_android_gms_play_services_stats': {1128 'packages': [1129 {1130 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_stats',1131 'version': 'version:2@17.0.0.cr0',1132 },1133 ],1134 'condition': 'checkout_android',1135 'dep_type': 'cipd',1136 },1137 'src/third_party/android_deps/libs/com_google_android_gms_play_services_tasks': {1138 'packages': [1139 {1140 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_tasks',1141 'version': 'version:2@17.2.0.cr0',1142 },1143 ],1144 'condition': 'checkout_android',1145 'dep_type': 'cipd',1146 },1147 'src/third_party/android_deps/libs/com_google_android_gms_play_services_vision': {1148 'packages': [1149 {1150 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_vision',1151 'version': 'version:2@18.0.0.cr0',1152 },1153 ],1154 'condition': 'checkout_android',1155 'dep_type': 'cipd',1156 },1157 'src/third_party/android_deps/libs/com_google_android_gms_play_services_vision_common': {1158 'packages': [1159 {1160 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_vision_common',1161 'version': 'version:2@18.0.0.cr0',1162 },1163 ],1164 'condition': 'checkout_android',1165 'dep_type': 'cipd',1166 },1167 'src/third_party/android_deps/libs/com_google_android_material_material': {1168 'packages': [1169 {1170 'package': 'chromium/third_party/android_deps/libs/com_google_android_material_material',1171 'version': 'version:2@1.4.0-rc01.cr0',1172 },1173 ],1174 'condition': 'checkout_android',1175 'dep_type': 'cipd',1176 },1177 'src/third_party/android_deps/libs/com_google_android_play_core': {1178 'packages': [1179 {1180 'package': 'chromium/third_party/android_deps/libs/com_google_android_play_core',1181 'version': 'version:2@1.10.0.cr0',1182 },1183 ],1184 'condition': 'checkout_android',1185 'dep_type': 'cipd',1186 },1187 'src/third_party/android_deps/libs/com_google_auto_auto_common': {1188 'packages': [1189 {1190 'package': 'chromium/third_party/android_deps/libs/com_google_auto_auto_common',1191 'version': 'version:2@0.10.cr0',1192 },1193 ],1194 'condition': 'checkout_android',1195 'dep_type': 'cipd',1196 },1197 'src/third_party/android_deps/libs/com_google_auto_service_auto_service': {1198 'packages': [1199 {1200 'package': 'chromium/third_party/android_deps/libs/com_google_auto_service_auto_service',1201 'version': 'version:2@1.0-rc6.cr0',1202 },1203 ],1204 'condition': 'checkout_android',1205 'dep_type': 'cipd',1206 },1207 'src/third_party/android_deps/libs/com_google_auto_service_auto_service_annotations': {1208 'packages': [1209 {1210 'package': 'chromium/third_party/android_deps/libs/com_google_auto_service_auto_service_annotations',1211 'version': 'version:2@1.0-rc6.cr0',1212 },1213 ],1214 'condition': 'checkout_android',1215 'dep_type': 'cipd',1216 },1217 'src/third_party/android_deps/libs/com_google_auto_value_auto_value_annotations': {1218 'packages': [1219 {1220 'package': 'chromium/third_party/android_deps/libs/com_google_auto_value_auto_value_annotations',1221 'version': 'version:2@1.7.cr0',1222 },1223 ],1224 'condition': 'checkout_android',1225 'dep_type': 'cipd',1226 },1227 'src/third_party/android_deps/libs/com_google_code_findbugs_jformatstring': {1228 'packages': [1229 {1230 'package': 'chromium/third_party/android_deps/libs/com_google_code_findbugs_jformatstring',1231 'version': 'version:2@3.0.0.cr0',1232 },1233 ],1234 'condition': 'checkout_android',1235 'dep_type': 'cipd',1236 },1237 'src/third_party/android_deps/libs/com_google_code_findbugs_jsr305': {1238 'packages': [1239 {1240 'package': 'chromium/third_party/android_deps/libs/com_google_code_findbugs_jsr305',1241 'version': 'version:2@3.0.2.cr0',1242 },1243 ],1244 'condition': 'checkout_android',1245 'dep_type': 'cipd',1246 },1247 'src/third_party/android_deps/libs/com_google_code_gson_gson': {1248 'packages': [1249 {1250 'package': 'chromium/third_party/android_deps/libs/com_google_code_gson_gson',1251 'version': 'version:2@2.8.0.cr0',1252 },1253 ],1254 'condition': 'checkout_android',1255 'dep_type': 'cipd',1256 },1257 'src/third_party/android_deps/libs/com_google_dagger_dagger': {1258 'packages': [1259 {1260 'package': 'chromium/third_party/android_deps/libs/com_google_dagger_dagger',1261 'version': 'version:2@2.30.cr0',1262 },1263 ],1264 'condition': 'checkout_android',1265 'dep_type': 'cipd',1266 },1267 'src/third_party/android_deps/libs/com_google_dagger_dagger_compiler': {1268 'packages': [1269 {1270 'package': 'chromium/third_party/android_deps/libs/com_google_dagger_dagger_compiler',1271 'version': 'version:2@2.30.cr0',1272 },1273 ],1274 'condition': 'checkout_android',1275 'dep_type': 'cipd',1276 },1277 'src/third_party/android_deps/libs/com_google_dagger_dagger_producers': {1278 'packages': [1279 {1280 'package': 'chromium/third_party/android_deps/libs/com_google_dagger_dagger_producers',1281 'version': 'version:2@2.30.cr0',1282 },1283 ],1284 'condition': 'checkout_android',1285 'dep_type': 'cipd',1286 },1287 'src/third_party/android_deps/libs/com_google_dagger_dagger_spi': {1288 'packages': [1289 {1290 'package': 'chromium/third_party/android_deps/libs/com_google_dagger_dagger_spi',1291 'version': 'version:2@2.30.cr0',1292 },1293 ],1294 'condition': 'checkout_android',1295 'dep_type': 'cipd',1296 },1297 'src/third_party/android_deps/libs/com_google_errorprone_error_prone_annotation': {1298 'packages': [1299 {1300 'package': 'chromium/third_party/android_deps/libs/com_google_errorprone_error_prone_annotation',1301 'version': 'version:2@2.7.1.cr0',1302 },1303 ],1304 'condition': 'checkout_android',1305 'dep_type': 'cipd',1306 },1307 'src/third_party/android_deps/libs/com_google_errorprone_error_prone_annotations': {1308 'packages': [1309 {1310 'package': 'chromium/third_party/android_deps/libs/com_google_errorprone_error_prone_annotations',1311 'version': 'version:2@2.7.1.cr0',1312 },1313 ],1314 'condition': 'checkout_android',1315 'dep_type': 'cipd',1316 },1317 'src/third_party/android_deps/libs/com_google_errorprone_error_prone_check_api': {1318 'packages': [1319 {1320 'package': 'chromium/third_party/android_deps/libs/com_google_errorprone_error_prone_check_api',1321 'version': 'version:2@2.7.1.cr0',1322 },1323 ],1324 'condition': 'checkout_android',1325 'dep_type': 'cipd',1326 },1327 'src/third_party/android_deps/libs/com_google_errorprone_error_prone_core': {1328 'packages': [1329 {1330 'package': 'chromium/third_party/android_deps/libs/com_google_errorprone_error_prone_core',1331 'version': 'version:2@2.7.1.cr0',1332 },1333 ],1334 'condition': 'checkout_android',1335 'dep_type': 'cipd',1336 },1337 'src/third_party/android_deps/libs/com_google_errorprone_error_prone_type_annotations': {1338 'packages': [1339 {1340 'package': 'chromium/third_party/android_deps/libs/com_google_errorprone_error_prone_type_annotations',1341 'version': 'version:2@2.7.1.cr0',1342 },1343 ],1344 'condition': 'checkout_android',1345 'dep_type': 'cipd',1346 },1347 'src/third_party/android_deps/libs/com_google_errorprone_javac': {1348 'packages': [1349 {1350 'package': 'chromium/third_party/android_deps/libs/com_google_errorprone_javac',1351 'version': 'version:2@9+181-r4173-1.cr0',1352 },1353 ],1354 'condition': 'checkout_android',1355 'dep_type': 'cipd',1356 },1357 'src/third_party/android_deps/libs/com_google_errorprone_javac_shaded': {1358 'packages': [1359 {1360 'package': 'chromium/third_party/android_deps/libs/com_google_errorprone_javac_shaded',1361 'version': 'version:2@9-dev-r4023-3.cr0',1362 },1363 ],1364 'condition': 'checkout_android',1365 'dep_type': 'cipd',1366 },1367 'src/third_party/android_deps/libs/com_google_firebase_firebase_annotations': {1368 'packages': [1369 {1370 'package': 'chromium/third_party/android_deps/libs/com_google_firebase_firebase_annotations',1371 'version': 'version:2@16.0.0.cr0',1372 },1373 ],1374 'condition': 'checkout_android',1375 'dep_type': 'cipd',1376 },1377 'src/third_party/android_deps/libs/com_google_firebase_firebase_common': {1378 'packages': [1379 {1380 'package': 'chromium/third_party/android_deps/libs/com_google_firebase_firebase_common',1381 'version': 'version:2@19.5.0.cr0',1382 },1383 ],1384 'condition': 'checkout_android',1385 'dep_type': 'cipd',1386 },1387 'src/third_party/android_deps/libs/com_google_firebase_firebase_components': {1388 'packages': [1389 {1390 'package': 'chromium/third_party/android_deps/libs/com_google_firebase_firebase_components',1391 'version': 'version:2@16.1.0.cr0',1392 },1393 ],1394 'condition': 'checkout_android',1395 'dep_type': 'cipd',1396 },1397 'src/third_party/android_deps/libs/com_google_firebase_firebase_encoders': {1398 'packages': [1399 {1400 'package': 'chromium/third_party/android_deps/libs/com_google_firebase_firebase_encoders',1401 'version': 'version:2@16.1.0.cr0',1402 },1403 ],1404 'condition': 'checkout_android',1405 'dep_type': 'cipd',1406 },1407 'src/third_party/android_deps/libs/com_google_firebase_firebase_encoders_json': {1408 'packages': [1409 {1410 'package': 'chromium/third_party/android_deps/libs/com_google_firebase_firebase_encoders_json',1411 'version': 'version:2@17.1.0.cr0',1412 },1413 ],1414 'condition': 'checkout_android',1415 'dep_type': 'cipd',1416 },1417 'src/third_party/android_deps/libs/com_google_firebase_firebase_iid': {1418 'packages': [1419 {1420 'package': 'chromium/third_party/android_deps/libs/com_google_firebase_firebase_iid',1421 'version': 'version:2@21.0.1.cr0',1422 },1423 ],1424 'condition': 'checkout_android',1425 'dep_type': 'cipd',1426 },1427 'src/third_party/android_deps/libs/com_google_firebase_firebase_iid_interop': {1428 'packages': [1429 {1430 'package': 'chromium/third_party/android_deps/libs/com_google_firebase_firebase_iid_interop',1431 'version': 'version:2@17.0.0.cr0',1432 },1433 ],1434 'condition': 'checkout_android',1435 'dep_type': 'cipd',1436 },1437 'src/third_party/android_deps/libs/com_google_firebase_firebase_installations': {1438 'packages': [1439 {1440 'package': 'chromium/third_party/android_deps/libs/com_google_firebase_firebase_installations',1441 'version': 'version:2@16.3.5.cr0',1442 },1443 ],1444 'condition': 'checkout_android',1445 'dep_type': 'cipd',1446 },1447 'src/third_party/android_deps/libs/com_google_firebase_firebase_installations_interop': {1448 'packages': [1449 {1450 'package': 'chromium/third_party/android_deps/libs/com_google_firebase_firebase_installations_interop',1451 'version': 'version:2@16.0.1.cr0',1452 },1453 ],1454 'condition': 'checkout_android',1455 'dep_type': 'cipd',1456 },1457 'src/third_party/android_deps/libs/com_google_firebase_firebase_measurement_connector': {1458 'packages': [1459 {1460 'package': 'chromium/third_party/android_deps/libs/com_google_firebase_firebase_measurement_connector',1461 'version': 'version:2@18.0.0.cr0',1462 },1463 ],1464 'condition': 'checkout_android',1465 'dep_type': 'cipd',1466 },1467 'src/third_party/android_deps/libs/com_google_firebase_firebase_messaging': {1468 'packages': [1469 {1470 'package': 'chromium/third_party/android_deps/libs/com_google_firebase_firebase_messaging',1471 'version': 'version:2@21.0.1.cr0',1472 },1473 ],1474 'condition': 'checkout_android',1475 'dep_type': 'cipd',1476 },1477 'src/third_party/android_deps/libs/com_google_googlejavaformat_google_java_format': {1478 'packages': [1479 {1480 'package': 'chromium/third_party/android_deps/libs/com_google_googlejavaformat_google_java_format',1481 'version': 'version:2@1.5.cr0',1482 },1483 ],1484 'condition': 'checkout_android',1485 'dep_type': 'cipd',1486 },1487 'src/third_party/android_deps/libs/com_google_guava_failureaccess': {1488 'packages': [1489 {1490 'package': 'chromium/third_party/android_deps/libs/com_google_guava_failureaccess',1491 'version': 'version:2@1.0.1.cr0',1492 },1493 ],1494 'condition': 'checkout_android',1495 'dep_type': 'cipd',1496 },1497 'src/third_party/android_deps/libs/com_google_guava_guava': {1498 'packages': [1499 {1500 'package': 'chromium/third_party/android_deps/libs/com_google_guava_guava',1501 'version': 'version:2@30.1-jre.cr0',1502 },1503 ],1504 'condition': 'checkout_android',1505 'dep_type': 'cipd',1506 },1507 'src/third_party/android_deps/libs/com_google_guava_guava_android': {1508 'packages': [1509 {1510 'package': 'chromium/third_party/android_deps/libs/com_google_guava_guava_android',1511 'version': 'version:2@30.1-android.cr0',1512 },1513 ],1514 'condition': 'checkout_android',1515 'dep_type': 'cipd',1516 },1517 'src/third_party/android_deps/libs/com_google_guava_listenablefuture': {1518 'packages': [1519 {1520 'package': 'chromium/third_party/android_deps/libs/com_google_guava_listenablefuture',1521 'version': 'version:2@1.0.cr0',1522 },1523 ],1524 'condition': 'checkout_android',1525 'dep_type': 'cipd',1526 },1527 'src/third_party/android_deps/libs/com_google_j2objc_j2objc_annotations': {1528 'packages': [1529 {1530 'package': 'chromium/third_party/android_deps/libs/com_google_j2objc_j2objc_annotations',1531 'version': 'version:2@1.3.cr0',1532 },1533 ],1534 'condition': 'checkout_android',1535 'dep_type': 'cipd',1536 },1537 'src/third_party/android_deps/libs/com_google_protobuf_protobuf_java': {1538 'packages': [1539 {1540 'package': 'chromium/third_party/android_deps/libs/com_google_protobuf_protobuf_java',1541 'version': 'version:2@3.4.0.cr0',1542 },1543 ],1544 'condition': 'checkout_android',1545 'dep_type': 'cipd',1546 },1547 'src/third_party/android_deps/libs/com_google_protobuf_protobuf_javalite': {1548 'packages': [1549 {1550 'package': 'chromium/third_party/android_deps/libs/com_google_protobuf_protobuf_javalite',1551 'version': 'version:2@3.13.0.cr0',1552 },1553 ],1554 'condition': 'checkout_android',1555 'dep_type': 'cipd',1556 },1557 'src/third_party/android_deps/libs/com_googlecode_java_diff_utils_diffutils': {1558 'packages': [1559 {1560 'package': 'chromium/third_party/android_deps/libs/com_googlecode_java_diff_utils_diffutils',1561 'version': 'version:2@1.3.0.cr0',1562 },1563 ],1564 'condition': 'checkout_android',1565 'dep_type': 'cipd',1566 },1567 'src/third_party/android_deps/libs/com_squareup_javapoet': {1568 'packages': [1569 {1570 'package': 'chromium/third_party/android_deps/libs/com_squareup_javapoet',1571 'version': 'version:2@1.13.0.cr0',1572 },1573 ],1574 'condition': 'checkout_android',1575 'dep_type': 'cipd',1576 },1577 'src/third_party/android_deps/libs/com_squareup_javawriter': {1578 'packages': [1579 {1580 'package': 'chromium/third_party/android_deps/libs/com_squareup_javawriter',1581 'version': 'version:2@2.1.1.cr0',1582 },1583 ],1584 'condition': 'checkout_android',1585 'dep_type': 'cipd',1586 },1587 'src/third_party/android_deps/libs/io_github_java_diff_utils_java_diff_utils': {1588 'packages': [1589 {1590 'package': 'chromium/third_party/android_deps/libs/io_github_java_diff_utils_java_diff_utils',1591 'version': 'version:2@4.0.cr0',1592 },1593 ],1594 'condition': 'checkout_android',1595 'dep_type': 'cipd',1596 },1597 'src/third_party/android_deps/libs/javax_annotation_javax_annotation_api': {1598 'packages': [1599 {1600 'package': 'chromium/third_party/android_deps/libs/javax_annotation_javax_annotation_api',1601 'version': 'version:2@1.3.2.cr0',1602 },1603 ],1604 'condition': 'checkout_android',1605 'dep_type': 'cipd',1606 },1607 'src/third_party/android_deps/libs/javax_annotation_jsr250_api': {1608 'packages': [1609 {1610 'package': 'chromium/third_party/android_deps/libs/javax_annotation_jsr250_api',1611 'version': 'version:2@1.0.cr0',1612 },1613 ],1614 'condition': 'checkout_android',1615 'dep_type': 'cipd',1616 },1617 'src/third_party/android_deps/libs/javax_inject_javax_inject': {1618 'packages': [1619 {1620 'package': 'chromium/third_party/android_deps/libs/javax_inject_javax_inject',1621 'version': 'version:2@1.cr0',1622 },1623 ],1624 'condition': 'checkout_android',1625 'dep_type': 'cipd',1626 },1627 'src/third_party/android_deps/libs/nekohtml_nekohtml': {1628 'packages': [1629 {1630 'package': 'chromium/third_party/android_deps/libs/nekohtml_nekohtml',1631 'version': 'version:2@1.9.6.2.cr0',1632 },1633 ],1634 'condition': 'checkout_android',1635 'dep_type': 'cipd',1636 },1637 'src/third_party/android_deps/libs/nekohtml_xercesminimal': {1638 'packages': [1639 {1640 'package': 'chromium/third_party/android_deps/libs/nekohtml_xercesminimal',1641 'version': 'version:2@1.9.6.2.cr0',1642 },1643 ],1644 'condition': 'checkout_android',1645 'dep_type': 'cipd',1646 },1647 'src/third_party/android_deps/libs/net_ltgt_gradle_incap_incap': {1648 'packages': [1649 {1650 'package': 'chromium/third_party/android_deps/libs/net_ltgt_gradle_incap_incap',1651 'version': 'version:2@0.2.cr0',1652 },1653 ],1654 'condition': 'checkout_android',1655 'dep_type': 'cipd',1656 },1657 'src/third_party/android_deps/libs/net_sf_kxml_kxml2': {1658 'packages': [1659 {1660 'package': 'chromium/third_party/android_deps/libs/net_sf_kxml_kxml2',1661 'version': 'version:2@2.3.0.cr0',1662 },1663 ],1664 'condition': 'checkout_android',1665 'dep_type': 'cipd',1666 },1667 'src/third_party/android_deps/libs/org_apache_ant_ant': {1668 'packages': [1669 {1670 'package': 'chromium/third_party/android_deps/libs/org_apache_ant_ant',1671 'version': 'version:2@1.8.0.cr0',1672 },1673 ],1674 'condition': 'checkout_android',1675 'dep_type': 'cipd',1676 },1677 'src/third_party/android_deps/libs/org_apache_ant_ant_launcher': {1678 'packages': [1679 {1680 'package': 'chromium/third_party/android_deps/libs/org_apache_ant_ant_launcher',1681 'version': 'version:2@1.8.0.cr0',1682 },1683 ],1684 'condition': 'checkout_android',1685 'dep_type': 'cipd',1686 },1687 'src/third_party/android_deps/libs/org_apache_maven_maven_ant_tasks': {1688 'packages': [1689 {1690 'package': 'chromium/third_party/android_deps/libs/org_apache_maven_maven_ant_tasks',1691 'version': 'version:2@2.1.3.cr0',1692 },1693 ],1694 'condition': 'checkout_android',1695 'dep_type': 'cipd',1696 },1697 'src/third_party/android_deps/libs/org_apache_maven_maven_artifact': {1698 'packages': [1699 {1700 'package': 'chromium/third_party/android_deps/libs/org_apache_maven_maven_artifact',1701 'version': 'version:2@2.2.1.cr0',1702 },1703 ],1704 'condition': 'checkout_android',1705 'dep_type': 'cipd',1706 },1707 'src/third_party/android_deps/libs/org_apache_maven_maven_artifact_manager': {1708 'packages': [1709 {1710 'package': 'chromium/third_party/android_deps/libs/org_apache_maven_maven_artifact_manager',1711 'version': 'version:2@2.2.1.cr0',1712 },1713 ],1714 'condition': 'checkout_android',1715 'dep_type': 'cipd',1716 },1717 'src/third_party/android_deps/libs/org_apache_maven_maven_error_diagnostics': {1718 'packages': [1719 {1720 'package': 'chromium/third_party/android_deps/libs/org_apache_maven_maven_error_diagnostics',1721 'version': 'version:2@2.2.1.cr0',1722 },1723 ],1724 'condition': 'checkout_android',1725 'dep_type': 'cipd',1726 },1727 'src/third_party/android_deps/libs/org_apache_maven_maven_model': {1728 'packages': [1729 {1730 'package': 'chromium/third_party/android_deps/libs/org_apache_maven_maven_model',1731 'version': 'version:2@2.2.1.cr0',1732 },1733 ],1734 'condition': 'checkout_android',1735 'dep_type': 'cipd',1736 },1737 'src/third_party/android_deps/libs/org_apache_maven_maven_plugin_registry': {1738 'packages': [1739 {1740 'package': 'chromium/third_party/android_deps/libs/org_apache_maven_maven_plugin_registry',1741 'version': 'version:2@2.2.1.cr0',1742 },1743 ],1744 'condition': 'checkout_android',1745 'dep_type': 'cipd',1746 },1747 'src/third_party/android_deps/libs/org_apache_maven_maven_profile': {1748 'packages': [1749 {1750 'package': 'chromium/third_party/android_deps/libs/org_apache_maven_maven_profile',1751 'version': 'version:2@2.2.1.cr0',1752 },1753 ],1754 'condition': 'checkout_android',1755 'dep_type': 'cipd',1756 },1757 'src/third_party/android_deps/libs/org_apache_maven_maven_project': {1758 'packages': [1759 {1760 'package': 'chromium/third_party/android_deps/libs/org_apache_maven_maven_project',1761 'version': 'version:2@2.2.1.cr0',1762 },1763 ],1764 'condition': 'checkout_android',1765 'dep_type': 'cipd',1766 },1767 'src/third_party/android_deps/libs/org_apache_maven_maven_repository_metadata': {1768 'packages': [1769 {1770 'package': 'chromium/third_party/android_deps/libs/org_apache_maven_maven_repository_metadata',1771 'version': 'version:2@2.2.1.cr0',1772 },1773 ],1774 'condition': 'checkout_android',1775 'dep_type': 'cipd',1776 },1777 'src/third_party/android_deps/libs/org_apache_maven_maven_settings': {1778 'packages': [1779 {1780 'package': 'chromium/third_party/android_deps/libs/org_apache_maven_maven_settings',1781 'version': 'version:2@2.2.1.cr0',1782 },1783 ],1784 'condition': 'checkout_android',1785 'dep_type': 'cipd',1786 },1787 'src/third_party/android_deps/libs/org_apache_maven_wagon_wagon_file': {1788 'packages': [1789 {1790 'package': 'chromium/third_party/android_deps/libs/org_apache_maven_wagon_wagon_file',1791 'version': 'version:2@1.0-beta-6.cr0',1792 },1793 ],1794 'condition': 'checkout_android',1795 'dep_type': 'cipd',1796 },1797 'src/third_party/android_deps/libs/org_apache_maven_wagon_wagon_http_lightweight': {1798 'packages': [1799 {1800 'package': 'chromium/third_party/android_deps/libs/org_apache_maven_wagon_wagon_http_lightweight',1801 'version': 'version:2@1.0-beta-6.cr0',1802 },1803 ],1804 'condition': 'checkout_android',1805 'dep_type': 'cipd',1806 },1807 'src/third_party/android_deps/libs/org_apache_maven_wagon_wagon_http_shared': {1808 'packages': [1809 {1810 'package': 'chromium/third_party/android_deps/libs/org_apache_maven_wagon_wagon_http_shared',1811 'version': 'version:2@1.0-beta-6.cr0',1812 },1813 ],1814 'condition': 'checkout_android',1815 'dep_type': 'cipd',1816 },1817 'src/third_party/android_deps/libs/org_apache_maven_wagon_wagon_provider_api': {1818 'packages': [1819 {1820 'package': 'chromium/third_party/android_deps/libs/org_apache_maven_wagon_wagon_provider_api',1821 'version': 'version:2@1.0-beta-6.cr0',1822 },1823 ],1824 'condition': 'checkout_android',1825 'dep_type': 'cipd',1826 },1827 'src/third_party/android_deps/libs/org_ccil_cowan_tagsoup_tagsoup': {1828 'packages': [1829 {1830 'package': 'chromium/third_party/android_deps/libs/org_ccil_cowan_tagsoup_tagsoup',1831 'version': 'version:2@1.2.1.cr0',1832 },1833 ],1834 'condition': 'checkout_android',1835 'dep_type': 'cipd',1836 },1837 'src/third_party/android_deps/libs/org_checkerframework_checker_compat_qual': {1838 'packages': [1839 {1840 'package': 'chromium/third_party/android_deps/libs/org_checkerframework_checker_compat_qual',1841 'version': 'version:2@2.5.5.cr0',1842 },1843 ],1844 'condition': 'checkout_android',1845 'dep_type': 'cipd',1846 },1847 'src/third_party/android_deps/libs/org_checkerframework_checker_qual': {1848 'packages': [1849 {1850 'package': 'chromium/third_party/android_deps/libs/org_checkerframework_checker_qual',1851 'version': 'version:2@3.8.0.cr0',1852 },1853 ],1854 'condition': 'checkout_android',1855 'dep_type': 'cipd',1856 },1857 'src/third_party/android_deps/libs/org_checkerframework_dataflow_shaded': {1858 'packages': [1859 {1860 'package': 'chromium/third_party/android_deps/libs/org_checkerframework_dataflow_shaded',1861 'version': 'version:2@3.11.0.cr0',1862 },1863 ],1864 'condition': 'checkout_android',1865 'dep_type': 'cipd',1866 },1867 'src/third_party/android_deps/libs/org_codehaus_mojo_animal_sniffer_annotations': {1868 'packages': [1869 {1870 'package': 'chromium/third_party/android_deps/libs/org_codehaus_mojo_animal_sniffer_annotations',1871 'version': 'version:2@1.17.cr0',1872 },1873 ],1874 'condition': 'checkout_android',1875 'dep_type': 'cipd',1876 },1877 'src/third_party/android_deps/libs/org_codehaus_plexus_plexus_container_default': {1878 'packages': [1879 {1880 'package': 'chromium/third_party/android_deps/libs/org_codehaus_plexus_plexus_container_default',1881 'version': 'version:2@1.0-alpha-9-stable-1.cr0',1882 },1883 ],1884 'condition': 'checkout_android',1885 'dep_type': 'cipd',1886 },1887 'src/third_party/android_deps/libs/org_codehaus_plexus_plexus_interpolation': {1888 'packages': [1889 {1890 'package': 'chromium/third_party/android_deps/libs/org_codehaus_plexus_plexus_interpolation',1891 'version': 'version:2@1.11.cr0',1892 },1893 ],1894 'condition': 'checkout_android',1895 'dep_type': 'cipd',1896 },1897 'src/third_party/android_deps/libs/org_codehaus_plexus_plexus_utils': {1898 'packages': [1899 {1900 'package': 'chromium/third_party/android_deps/libs/org_codehaus_plexus_plexus_utils',1901 'version': 'version:2@1.5.15.cr0',1902 },1903 ],1904 'condition': 'checkout_android',1905 'dep_type': 'cipd',1906 },1907 'src/third_party/android_deps/libs/org_eclipse_jgit_org_eclipse_jgit': {1908 'packages': [1909 {1910 'package': 'chromium/third_party/android_deps/libs/org_eclipse_jgit_org_eclipse_jgit',1911 'version': 'version:2@4.4.1.201607150455-r.cr0',1912 },1913 ],1914 'condition': 'checkout_android',1915 'dep_type': 'cipd',1916 },1917 'src/third_party/android_deps/libs/org_jetbrains_annotations': {1918 'packages': [1919 {1920 'package': 'chromium/third_party/android_deps/libs/org_jetbrains_annotations',1921 'version': 'version:2@13.0.cr0',1922 },1923 ],1924 'condition': 'checkout_android',1925 'dep_type': 'cipd',1926 },1927 'src/third_party/android_deps/libs/org_jetbrains_kotlin_kotlin_stdlib': {1928 'packages': [1929 {1930 'package': 'chromium/third_party/android_deps/libs/org_jetbrains_kotlin_kotlin_stdlib',1931 'version': 'version:2@1.5.21.cr0',1932 },1933 ],1934 'condition': 'checkout_android',1935 'dep_type': 'cipd',1936 },1937 'src/third_party/android_deps/libs/org_jetbrains_kotlin_kotlin_stdlib_common': {1938 'packages': [1939 {1940 'package': 'chromium/third_party/android_deps/libs/org_jetbrains_kotlin_kotlin_stdlib_common',1941 'version': 'version:2@1.5.21.cr0',1942 },1943 ],1944 'condition': 'checkout_android',1945 'dep_type': 'cipd',1946 },1947 'src/third_party/android_deps/libs/org_jetbrains_kotlin_kotlin_stdlib_jdk7': {1948 'packages': [1949 {1950 'package': 'chromium/third_party/android_deps/libs/org_jetbrains_kotlin_kotlin_stdlib_jdk7',1951 'version': 'version:2@1.5.0.cr0',1952 },1953 ],1954 'condition': 'checkout_android',1955 'dep_type': 'cipd',1956 },1957 'src/third_party/android_deps/libs/org_jetbrains_kotlin_kotlin_stdlib_jdk8': {1958 'packages': [1959 {1960 'package': 'chromium/third_party/android_deps/libs/org_jetbrains_kotlin_kotlin_stdlib_jdk8',1961 'version': 'version:2@1.5.0.cr0',1962 },1963 ],1964 'condition': 'checkout_android',1965 'dep_type': 'cipd',1966 },1967 'src/third_party/android_deps/libs/org_jetbrains_kotlinx_kotlinx_coroutines_android': {1968 'packages': [1969 {1970 'package': 'chromium/third_party/android_deps/libs/org_jetbrains_kotlinx_kotlinx_coroutines_android',1971 'version': 'version:2@1.5.0.cr0',1972 },1973 ],1974 'condition': 'checkout_android',1975 'dep_type': 'cipd',1976 },1977 'src/third_party/android_deps/libs/org_jetbrains_kotlinx_kotlinx_coroutines_core_jvm': {1978 'packages': [1979 {1980 'package': 'chromium/third_party/android_deps/libs/org_jetbrains_kotlinx_kotlinx_coroutines_core_jvm',1981 'version': 'version:2@1.5.0.cr0',1982 },1983 ],1984 'condition': 'checkout_android',1985 'dep_type': 'cipd',1986 },1987 'src/third_party/android_deps/libs/org_jetbrains_kotlinx_kotlinx_metadata_jvm': {1988 'packages': [1989 {1990 'package': 'chromium/third_party/android_deps/libs/org_jetbrains_kotlinx_kotlinx_metadata_jvm',1991 'version': 'version:2@0.1.0.cr0',1992 },1993 ],1994 'condition': 'checkout_android',1995 'dep_type': 'cipd',1996 },1997 'src/third_party/android_deps/libs/org_ow2_asm_asm': {1998 'packages': [1999 {2000 'package': 'chromium/third_party/android_deps/libs/org_ow2_asm_asm',2001 'version': 'version:2@7.0.cr0',2002 },2003 ],2004 'condition': 'checkout_android',2005 'dep_type': 'cipd',2006 },2007 'src/third_party/android_deps/libs/org_ow2_asm_asm_analysis': {2008 'packages': [2009 {2010 'package': 'chromium/third_party/android_deps/libs/org_ow2_asm_asm_analysis',2011 'version': 'version:2@7.0.cr0',2012 },2013 ],2014 'condition': 'checkout_android',2015 'dep_type': 'cipd',2016 },2017 'src/third_party/android_deps/libs/org_ow2_asm_asm_commons': {2018 'packages': [2019 {2020 'package': 'chromium/third_party/android_deps/libs/org_ow2_asm_asm_commons',2021 'version': 'version:2@7.0.cr0',2022 },2023 ],2024 'condition': 'checkout_android',2025 'dep_type': 'cipd',2026 },2027 'src/third_party/android_deps/libs/org_ow2_asm_asm_tree': {2028 'packages': [2029 {2030 'package': 'chromium/third_party/android_deps/libs/org_ow2_asm_asm_tree',2031 'version': 'version:2@7.0.cr0',2032 },2033 ],2034 'condition': 'checkout_android',2035 'dep_type': 'cipd',2036 },2037 'src/third_party/android_deps/libs/org_ow2_asm_asm_util': {2038 'packages': [2039 {2040 'package': 'chromium/third_party/android_deps/libs/org_ow2_asm_asm_util',2041 'version': 'version:2@7.0.cr0',2042 },2043 ],2044 'condition': 'checkout_android',2045 'dep_type': 'cipd',2046 },2047 'src/third_party/android_deps/libs/org_pcollections_pcollections': {2048 'packages': [2049 {2050 'package': 'chromium/third_party/android_deps/libs/org_pcollections_pcollections',2051 'version': 'version:2@2.1.2.cr0',2052 },2053 ],2054 'condition': 'checkout_android',2055 'dep_type': 'cipd',2056 },2057 'src/third_party/android_deps/libs/org_robolectric_annotations': {2058 'packages': [2059 {2060 'package': 'chromium/third_party/android_deps/libs/org_robolectric_annotations',2061 'version': 'version:2@4.3.1.cr0',2062 },2063 ],2064 'condition': 'checkout_android',2065 'dep_type': 'cipd',2066 },2067 'src/third_party/android_deps/libs/org_robolectric_junit': {2068 'packages': [2069 {2070 'package': 'chromium/third_party/android_deps/libs/org_robolectric_junit',2071 'version': 'version:2@4.3.1.cr0',2072 },2073 ],2074 'condition': 'checkout_android',2075 'dep_type': 'cipd',2076 },2077 'src/third_party/android_deps/libs/org_robolectric_pluginapi': {2078 'packages': [2079 {2080 'package': 'chromium/third_party/android_deps/libs/org_robolectric_pluginapi',2081 'version': 'version:2@4.3.1.cr0',2082 },2083 ],2084 'condition': 'checkout_android',2085 'dep_type': 'cipd',2086 },2087 'src/third_party/android_deps/libs/org_robolectric_plugins_maven_dependency_resolver': {2088 'packages': [2089 {2090 'package': 'chromium/third_party/android_deps/libs/org_robolectric_plugins_maven_dependency_resolver',2091 'version': 'version:2@4.3.1.cr0',2092 },2093 ],2094 'condition': 'checkout_android',2095 'dep_type': 'cipd',2096 },2097 'src/third_party/android_deps/libs/org_robolectric_resources': {2098 'packages': [2099 {2100 'package': 'chromium/third_party/android_deps/libs/org_robolectric_resources',2101 'version': 'version:2@4.3.1.cr0',2102 },2103 ],2104 'condition': 'checkout_android',2105 'dep_type': 'cipd',2106 },2107 'src/third_party/android_deps/libs/org_robolectric_robolectric': {2108 'packages': [2109 {2110 'package': 'chromium/third_party/android_deps/libs/org_robolectric_robolectric',2111 'version': 'version:2@4.3.1.cr0',2112 },2113 ],2114 'condition': 'checkout_android',2115 'dep_type': 'cipd',2116 },2117 'src/third_party/android_deps/libs/org_robolectric_sandbox': {2118 'packages': [2119 {2120 'package': 'chromium/third_party/android_deps/libs/org_robolectric_sandbox',2121 'version': 'version:2@4.3.1.cr0',2122 },2123 ],2124 'condition': 'checkout_android',2125 'dep_type': 'cipd',2126 },2127 'src/third_party/android_deps/libs/org_robolectric_shadowapi': {2128 'packages': [2129 {2130 'package': 'chromium/third_party/android_deps/libs/org_robolectric_shadowapi',2131 'version': 'version:2@4.3.1.cr0',2132 },2133 ],2134 'condition': 'checkout_android',2135 'dep_type': 'cipd',2136 },2137 'src/third_party/android_deps/libs/org_robolectric_shadows_framework': {2138 'packages': [2139 {2140 'package': 'chromium/third_party/android_deps/libs/org_robolectric_shadows_framework',2141 'version': 'version:2@4.3.1.cr0',2142 },2143 ],2144 'condition': 'checkout_android',2145 'dep_type': 'cipd',2146 },2147 'src/third_party/android_deps/libs/org_robolectric_shadows_playservices': {2148 'packages': [2149 {2150 'package': 'chromium/third_party/android_deps/libs/org_robolectric_shadows_playservices',2151 'version': 'version:2@4.3.1.cr0',2152 },2153 ],2154 'condition': 'checkout_android',2155 'dep_type': 'cipd',2156 },2157 'src/third_party/android_deps/libs/org_robolectric_utils': {2158 'packages': [2159 {2160 'package': 'chromium/third_party/android_deps/libs/org_robolectric_utils',2161 'version': 'version:2@4.3.1.cr0',2162 },2163 ],2164 'condition': 'checkout_android',2165 'dep_type': 'cipd',2166 },2167 'src/third_party/android_deps/libs/org_robolectric_utils_reflector': {2168 'packages': [2169 {2170 'package': 'chromium/third_party/android_deps/libs/org_robolectric_utils_reflector',2171 'version': 'version:2@4.3.1.cr0',2172 },2173 ],2174 'condition': 'checkout_android',2175 'dep_type': 'cipd',2176 },2177 # === ANDROID_DEPS Generated Code End ===2178}2179hooks = [2180 {2181 # This clobbers when necessary (based on get_landmines.py). It should be2182 # an early hook but it will need to be run after syncing Chromium and2183 # setting up the links, so the script actually exists.2184 'name': 'landmines',2185 'pattern': '.',2186 'action': [2187 'python',2188 'src/build/landmines.py',2189 '--landmine-scripts',2190 'src/tools_webrtc/get_landmines.py',2191 '--src-dir',2192 'src',2193 ],2194 },2195 {2196 # Ensure that the DEPS'd "depot_tools" has its self-update capability2197 # disabled.2198 'name': 'disable_depot_tools_selfupdate',2199 'pattern': '.',2200 'action': [2201 'python',2202 'src/third_party/depot_tools/update_depot_tools_toggle.py',2203 '--disable',2204 ],2205 },2206 {2207 'name': 'sysroot_arm',2208 'pattern': '.',2209 'condition': 'checkout_linux and checkout_arm',2210 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',2211 '--arch=arm'],2212 },2213 {2214 'name': 'sysroot_arm64',2215 'pattern': '.',2216 'condition': 'checkout_linux and checkout_arm64',2217 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',2218 '--arch=arm64'],2219 },2220 {2221 'name': 'sysroot_x86',2222 'pattern': '.',2223 'condition': 'checkout_linux and (checkout_x86 or checkout_x64)',2224 # TODO(mbonadei): change to --arch=x86.2225 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',2226 '--arch=i386'],2227 },2228 {2229 'name': 'sysroot_mips',2230 'pattern': '.',2231 'condition': 'checkout_linux and checkout_mips',2232 # TODO(mbonadei): change to --arch=mips.2233 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',2234 '--arch=mipsel'],2235 },2236 {2237 'name': 'sysroot_x64',2238 'pattern': '.',2239 'condition': 'checkout_linux and checkout_x64',2240 # TODO(mbonadei): change to --arch=x64.2241 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',2242 '--arch=amd64'],2243 },2244 {2245 # Case-insensitivity for the Win SDK. Must run before win_toolchain below.2246 'name': 'ciopfs_linux',2247 'pattern': '.',2248 'condition': 'checkout_win and host_os == "linux"',2249 'action': [ 'python',2250 'src/third_party/depot_tools/download_from_google_storage.py',2251 '--no_resume',2252 '--no_auth',2253 '--bucket', 'chromium-browser-clang/ciopfs',2254 '-s', 'src/build/ciopfs.sha1',2255 ]2256 },2257 {2258 # Update the Windows toolchain if necessary. Must run before 'clang' below.2259 'name': 'win_toolchain',2260 'pattern': '.',2261 'condition': 'checkout_win',2262 'action': ['python', 'src/build/vs_toolchain.py', 'update', '--force'],2263 },2264 {2265 # Update the Mac toolchain if necessary.2266 'name': 'mac_toolchain',2267 'pattern': '.',2268 'condition': 'checkout_mac',2269 'action': ['python', 'src/build/mac_toolchain.py'],2270 },2271 {2272 # Note: On Win, this should run after win_toolchain, as it may use it.2273 'name': 'clang',2274 'pattern': '.',2275 'action': ['python', 'src/tools/clang/scripts/update.py'],2276 },2277 {2278 # Update LASTCHANGE.2279 'name': 'lastchange',2280 'pattern': '.',2281 'action': ['python', 'src/build/util/lastchange.py',2282 '-o', 'src/build/util/LASTCHANGE'],2283 },2284 # Pull clang-format binaries using checked-in hashes.2285 {2286 'name': 'clang_format_win',2287 'pattern': '.',2288 'condition': 'host_os == "win"',2289 'action': [ 'download_from_google_storage',2290 '--no_resume',2291 '--platform=win32',2292 '--no_auth',2293 '--bucket', 'chromium-clang-format',2294 '-s', 'src/buildtools/win/clang-format.exe.sha1',2295 ],2296 },2297 {2298 'name': 'clang_format_mac',2299 'pattern': '.',2300 'condition': 'host_os == "mac"',2301 'action': [ 'download_from_google_storage',2302 '--no_resume',2303 '--platform=darwin',2304 '--no_auth',2305 '--bucket', 'chromium-clang-format',2306 '-s', 'src/buildtools/mac/clang-format.sha1',2307 ],2308 },2309 {2310 'name': 'clang_format_linux',2311 'pattern': '.',2312 'condition': 'host_os == "linux"',2313 'action': [ 'download_from_google_storage',2314 '--no_resume',2315 '--platform=linux*',2316 '--no_auth',2317 '--bucket', 'chromium-clang-format',2318 '-s', 'src/buildtools/linux64/clang-format.sha1',2319 ],2320 },2321 # Pull rc binaries using checked-in hashes.2322 {2323 'name': 'rc_win',2324 'pattern': '.',2325 'condition': 'checkout_win and host_os == "win"',2326 'action': [ 'python',2327 'src/third_party/depot_tools/download_from_google_storage.py',2328 '--no_resume',2329 '--no_auth',2330 '--bucket', 'chromium-browser-clang/rc',2331 '-s', 'src/build/toolchain/win/rc/win/rc.exe.sha1',2332 ],2333 },2334 {2335 'name': 'rc_mac',2336 'pattern': '.',2337 'condition': 'checkout_win and host_os == "mac"',2338 'action': [ 'python',2339 'src/third_party/depot_tools/download_from_google_storage.py',2340 '--no_resume',2341 '--no_auth',2342 '--bucket', 'chromium-browser-clang/rc',2343 '-s', 'src/build/toolchain/win/rc/mac/rc.sha1',2344 ],2345 },2346 {2347 'name': 'rc_linux',2348 'pattern': '.',2349 'condition': 'checkout_win and host_os == "linux"',2350 'action': [ 'python',2351 'src/third_party/depot_tools/download_from_google_storage.py',2352 '--no_resume',2353 '--no_auth',2354 '--bucket', 'chromium-browser-clang/rc',2355 '-s', 'src/build/toolchain/win/rc/linux64/rc.sha1',2356 ],2357 },2358 {2359 'name': 'test_fonts',2360 'pattern': '.',2361 'action': [ 'download_from_google_storage',2362 '--no_resume',2363 '--extract',2364 '--no_auth',2365 '--bucket', 'chromium-fonts',2366 '-s', 'src/third_party/test_fonts/test_fonts.tar.gz.sha1',2367 ],2368 },2369 {2370 'name': 'msan_chained_origins',2371 'pattern': '.',2372 'condition': 'checkout_instrumented_libraries',2373 'action': [ 'python',2374 'src/third_party/depot_tools/download_from_google_storage.py',2375 "--no_resume",2376 "--no_auth",2377 "--bucket", "chromium-instrumented-libraries",2378 "-s", "src/third_party/instrumented_libraries/binaries/msan-chained-origins-trusty.tgz.sha1",2379 ],2380 },2381 {2382 'name': 'msan_no_origins',2383 'pattern': '.',2384 'condition': 'checkout_instrumented_libraries',2385 'action': [ 'python',2386 'src/third_party/depot_tools/download_from_google_storage.py',2387 "--no_resume",2388 "--no_auth",2389 "--bucket", "chromium-instrumented-libraries",2390 "-s", "src/third_party/instrumented_libraries/binaries/msan-no-origins-trusty.tgz.sha1",2391 ],2392 },2393 {2394 # Download test resources, i.e. video and audio files from Google Storage.2395 'pattern': '.',2396 'action': ['download_from_google_storage',2397 '--directory',2398 '--recursive',2399 '--num_threads=10',2400 '--no_auth',2401 '--quiet',2402 '--bucket', 'chromium-webrtc-resources',2403 'src/resources'],2404 },2405 {2406 'name': 'Generate component metadata for tests',2407 'pattern': '.',2408 'action': [2409 'vpython',2410 'src/testing/generate_location_tags.py',2411 '--out',2412 'src/testing/location_tags.json',2413 ],2414 },2415 # Download and initialize "vpython" VirtualEnv environment packages.2416 {2417 'name': 'vpython_common',2418 'pattern': '.',2419 'action': [ 'vpython',2420 '-vpython-spec', 'src/.vpython',2421 '-vpython-tool', 'install',2422 ],2423 },2424]2425recursedeps = []2426# Define rules for which include paths are allowed in our source.2427include_rules = [2428 # Base is only used to build Android APK tests and may not be referenced by2429 # WebRTC production code.2430 "-base",2431 "-chromium",2432 "+external/webrtc/webrtc", # Android platform build.2433 "+libyuv",2434 # These should eventually move out of here.2435 "+common_types.h",2436 "+WebRTC",2437 "+api",2438 "+modules/include",2439 "+rtc_base",2440 "+test",2441 "+rtc_tools",2442 # Abseil allowlist. Keep this in sync with abseil-in-webrtc.md.2443 "+absl/algorithm/algorithm.h",2444 "+absl/algorithm/container.h",2445 "+absl/base/attributes.h",2446 "+absl/base/config.h",2447 "+absl/base/const_init.h",2448 "+absl/base/macros.h",2449 "+absl/container/inlined_vector.h",2450 "+absl/functional/bind_front.h",2451 "+absl/memory/memory.h",2452 "+absl/meta/type_traits.h",2453 "+absl/strings/ascii.h",2454 "+absl/strings/match.h",2455 "+absl/strings/str_replace.h",2456 "+absl/strings/string_view.h",2457 "+absl/types/optional.h",2458 "+absl/types/variant.h",2459 # Abseil flags are allowed in tests and tools.2460 "+absl/flags",2461]2462specific_include_rules = {2463 "webrtc_lib_link_test\.cc": [2464 "+media/engine",2465 "+modules/audio_device",2466 "+modules/audio_processing",2467 ]...

Full Screen

Full Screen

factory_unittest.py

Source:factory_unittest.py Github

copy

Full Screen

1# Copyright (C) 2010 Google Inc. All rights reserved.2#3# Redistribution and use in source and binary forms, with or without4# modification, are permitted provided that the following conditions are5# met:6#7# * Redistributions of source code must retain the above copyright8# notice, this list of conditions and the following disclaimer.9# * Redistributions in binary form must reproduce the above10# copyright notice, this list of conditions and the following disclaimer11# in the documentation and/or other materials provided with the12# distribution.13# * Neither the name of Google Inc. nor the names of its14# contributors may be used to endorse or promote products derived from15# this software without specific prior written permission.16#17# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS18# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT19# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR20# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT21# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,22# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT23# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,24# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.28import sys29import unittest30from webkitpy.tool import mocktool31import chromium_gpu32import chromium_linux33import chromium_mac34import chromium_win35import dryrun36import factory37import google_chrome38import gtk39import mac40import qt41import test42import win43class FactoryTest(unittest.TestCase):44 """Test factory creates proper port object for the target.45 Target is specified by port_name, sys.platform and options.46 """47 # FIXME: The ports themselves should expose what options they require,48 # instead of passing generic "options".49 def setUp(self):50 self.real_sys_platform = sys.platform51 self.webkit_options = mocktool.MockOptions(pixel_tests=False)52 self.chromium_options = mocktool.MockOptions(pixel_tests=False,53 chromium=True)54 def tearDown(self):55 sys.platform = self.real_sys_platform56 def assert_port(self, port_name, expected_port, port_obj=None):57 """Helper assert for port_name.58 Args:59 port_name: port name to get port object.60 expected_port: class of expected port object.61 port_obj: optional port object62 """63 port_obj = port_obj or factory.get(port_name=port_name)64 self.assertTrue(isinstance(port_obj, expected_port))65 def assert_platform_port(self, platform, options, expected_port):66 """Helper assert for platform and options.67 Args:68 platform: sys.platform.69 options: options to get port object.70 expected_port: class of expected port object.71 """72 orig_platform = sys.platform73 sys.platform = platform74 self.assertTrue(isinstance(factory.get(options=options),75 expected_port))76 sys.platform = orig_platform77 def test_test(self):78 self.assert_port("test", test.TestPort)79 def test_dryrun(self):80 self.assert_port("dryrun-test", dryrun.DryRunPort)81 self.assert_port("dryrun-mac", dryrun.DryRunPort)82 def test_mac(self):83 self.assert_port("mac", mac.MacPort)84 self.assert_platform_port("darwin", None, mac.MacPort)85 self.assert_platform_port("darwin", self.webkit_options, mac.MacPort)86 def test_win(self):87 self.assert_port("win", win.WinPort)88 self.assert_platform_port("win32", None, win.WinPort)89 self.assert_platform_port("win32", self.webkit_options, win.WinPort)90 self.assert_platform_port("cygwin", None, win.WinPort)91 self.assert_platform_port("cygwin", self.webkit_options, win.WinPort)92 def test_google_chrome(self):93 # The actual Chrome class names aren't available so we test that the94 # objects we get are at least subclasses of the Chromium versions.95 self.assert_port("google-chrome-linux32",96 chromium_linux.ChromiumLinuxPort)97 self.assert_port("google-chrome-linux64",98 chromium_linux.ChromiumLinuxPort)99 self.assert_port("google-chrome-win",100 chromium_win.ChromiumWinPort)101 self.assert_port("google-chrome-mac",102 chromium_mac.ChromiumMacPort)103 def test_gtk(self):104 self.assert_port("gtk", gtk.GtkPort)105 def test_qt(self):106 self.assert_port("qt", qt.QtPort)107 def test_chromium_gpu_linux(self):108 self.assert_port("chromium-gpu-linux", chromium_gpu.ChromiumGpuLinuxPort)109 def test_chromium_gpu_mac(self):110 self.assert_port("chromium-gpu-mac", chromium_gpu.ChromiumGpuMacPort)111 def test_chromium_gpu_win(self):112 self.assert_port("chromium-gpu-win", chromium_gpu.ChromiumGpuWinPort)113 def test_chromium_mac(self):114 self.assert_port("chromium-mac", chromium_mac.ChromiumMacPort)115 self.assert_platform_port("darwin", self.chromium_options,116 chromium_mac.ChromiumMacPort)117 def test_chromium_linux(self):118 self.assert_port("chromium-linux", chromium_linux.ChromiumLinuxPort)119 self.assert_platform_port("linux2", self.chromium_options,120 chromium_linux.ChromiumLinuxPort)121 def test_chromium_win(self):122 self.assert_port("chromium-win", chromium_win.ChromiumWinPort)123 self.assert_platform_port("win32", self.chromium_options,124 chromium_win.ChromiumWinPort)125 self.assert_platform_port("cygwin", self.chromium_options,126 chromium_win.ChromiumWinPort)127 def test_unknown_specified(self):128 # Test what happens when you specify an unknown port.129 orig_platform = sys.platform130 self.assertRaises(NotImplementedError, factory.get,131 port_name='unknown')132 def test_unknown_default(self):133 # Test what happens when you're running on an unknown platform.134 orig_platform = sys.platform135 sys.platform = 'unknown'136 self.assertRaises(NotImplementedError, factory.get)137 sys.platform = orig_platform138if __name__ == '__main__':...

Full Screen

Full Screen

chromium_win_unittest.py

Source:chromium_win_unittest.py Github

copy

Full Screen

1# Copyright (C) 2010 Google Inc. All rights reserved.2#3# Redistribution and use in source and binary forms, with or without4# modification, are permitted provided that the following conditions are5# met:6#7# * Redistributions of source code must retain the above copyright8# notice, this list of conditions and the following disclaimer.9# * Redistributions in binary form must reproduce the above10# copyright notice, this list of conditions and the following disclaimer11# in the documentation and/or other materials provided with the12# distribution.13# * Neither the name of Google Inc. nor the names of its14# contributors may be used to endorse or promote products derived from15# this software without specific prior written permission.16#17# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS18# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT19# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR20# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT21# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,22# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT23# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,24# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.28import os29import sys30import unittest31from webkitpy.common.system import outputcapture32from webkitpy.tool import mocktool33from webkitpy.layout_tests.port import chromium_win34from webkitpy.layout_tests.port import port_testcase35class ChromiumWinTest(port_testcase.PortTestCase):36 class RegisterCygwinOption(object):37 def __init__(self):38 self.register_cygwin = True39 self.results_directory = '/'40 def setUp(self):41 self.orig_platform = sys.platform42 def tearDown(self):43 sys.platform = self.orig_platform44 self._port = None45 def port_maker(self, platform):46 if platform not in ('cygwin', 'win32'):47 return None48 return chromium_win.ChromiumWinPort49 def _mock_path_from_chromium_base(self, *comps):50 return self._port._filesystem.join("/chromium/src", *comps)51 def test_setup_environ_for_server(self):52 port = self.make_port()53 if not port:54 return55 port._executive = mocktool.MockExecutive(should_log=True)56 self._port = port57 port.path_from_chromium_base = self._mock_path_from_chromium_base58 output = outputcapture.OutputCapture()59 orig_environ = os.environ.copy()60 env = output.assert_outputs(self, port.setup_environ_for_server)61 self.assertEqual(orig_environ["PATH"], os.environ["PATH"])62 self.assertNotEqual(env["PATH"], os.environ["PATH"])63 def test_setup_environ_for_server_register_cygwin(self):64 port = self.make_port(options=ChromiumWinTest.RegisterCygwinOption())65 if not port:66 return67 port._executive = mocktool.MockExecutive(should_log=True)68 port.path_from_chromium_base = self._mock_path_from_chromium_base69 self._port = port70 setup_mount = self._mock_path_from_chromium_base("third_party",71 "cygwin",72 "setup_mount.bat")73 expected_stderr = "MOCK run_command: %s\n" % [setup_mount]74 output = outputcapture.OutputCapture()75 output.assert_outputs(self, port.setup_environ_for_server,76 expected_stderr=expected_stderr)77 def assert_name(self, port_name, windows_version, expected):78 port = chromium_win.ChromiumWinPort(port_name=port_name,79 windows_version=windows_version)80 self.assertEquals(expected, port.name())81 def test_versions(self):82 port = chromium_win.ChromiumWinPort()83 self.assertTrue(port.name() in ('chromium-win-xp', 'chromium-win-vista', 'chromium-win-win7'))84 self.assert_name(None, (5, 1), 'chromium-win-xp')85 self.assert_name('chromium-win', (5, 1), 'chromium-win-xp')86 self.assert_name('chromium-win-xp', (5, 1), 'chromium-win-xp')87 self.assert_name('chromium-win-xp', (6, 0), 'chromium-win-xp')88 self.assert_name('chromium-win-xp', (6, 1), 'chromium-win-xp')89 self.assert_name(None, (6, 0), 'chromium-win-vista')90 self.assert_name('chromium-win', (6, 0), 'chromium-win-vista')91 self.assert_name('chromium-win-vista', (5, 1), 'chromium-win-vista')92 self.assert_name('chromium-win-vista', (6, 0), 'chromium-win-vista')93 self.assert_name('chromium-win-vista', (6, 1), 'chromium-win-vista')94 self.assert_name(None, (6, 1), 'chromium-win-win7')95 self.assert_name('chromium-win', (6, 1), 'chromium-win-win7')96 self.assert_name('chromium-win-win7', (5, 1), 'chromium-win-win7')97 self.assert_name('chromium-win-win7', (6, 0), 'chromium-win-win7')98 self.assert_name('chromium-win-win7', (6, 1), 'chromium-win-win7')99 self.assertRaises(KeyError, self.assert_name, None, (4, 0), 'chromium-win-xp')100 self.assertRaises(KeyError, self.assert_name, None, (5, 0), 'chromium-win-xp')101 self.assertRaises(KeyError, self.assert_name, None, (5, 2), 'chromium-win-xp')102 self.assertRaises(KeyError, self.assert_name, None, (7, 1), 'chromium-win-xp')103 def test_baseline_path(self):104 port = chromium_win.ChromiumWinPort(port_name='chromium-win-xp')105 self.assertEquals(port.baseline_path(), port._webkit_baseline_path('chromium-win-xp'))106 port = chromium_win.ChromiumWinPort(port_name='chromium-win-vista')107 self.assertEquals(port.baseline_path(), port._webkit_baseline_path('chromium-win-vista'))108 port = chromium_win.ChromiumWinPort(port_name='chromium-win-win7')109 self.assertEquals(port.baseline_path(), port._webkit_baseline_path('chromium-win'))110if __name__ == '__main__':...

Full Screen

Full Screen

chromium_gpu.py

Source:chromium_gpu.py Github

copy

Full Screen

1#!/usr/bin/env python2# Copyright (C) 2010 Google Inc. All rights reserved.3#4# Redistribution and use in source and binary forms, with or without5# modification, are permitted provided that the following conditions are6# met:7#8# * Redistributions of source code must retain the above copyright9# notice, this list of conditions and the following disclaimer.10# * Redistributions in binary form must reproduce the above11# copyright notice, this list of conditions and the following disclaimer12# in the documentation and/or other materials provided with the13# distribution.14# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS15# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT16# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR17# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT18# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,19# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT20# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,21# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY22# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT23# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE24# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.25import sys26import chromium_linux27import chromium_mac28import chromium_win29from webkitpy.layout_tests.port import test_files30def get(platform=None, port_name='chromium-gpu', **kwargs):31 """Some tests have slightly different results when run while using32 hardware acceleration. In those cases, we prepend an additional directory33 to the baseline paths."""34 platform = platform or sys.platform35 if port_name == 'chromium-gpu':36 if platform in ('cygwin', 'win32'):37 port_name = 'chromium-gpu-win'38 elif platform == 'linux2':39 port_name = 'chromium-gpu-linux'40 elif platform == 'darwin':41 port_name = 'chromium-gpu-mac'42 else:43 raise NotImplementedError('unsupported platform: %s' % platform)44 if port_name.startswith('chromium-gpu-linux'):45 return ChromiumGpuLinuxPort(port_name=port_name, **kwargs)46 if port_name.startswith('chromium-gpu-mac'):47 return ChromiumGpuMacPort(port_name=port_name, **kwargs)48 if port_name.startswith('chromium-gpu-win'):49 return ChromiumGpuWinPort(port_name=port_name, **kwargs)50 raise NotImplementedError('unsupported port: %s' % port_name)51# FIXME: These should really be a mixin class.52def _set_gpu_options(port):53 port._graphics_type = 'gpu'54 if port.get_option('accelerated_compositing') is None:55 port._options.accelerated_compositing = True56 if port.get_option('accelerated_2d_canvas') is None:57 port._options.accelerated_2d_canvas = True58 # FIXME: Remove this after http://codereview.chromium.org/5133001/ is enabled59 # on the bots.60 if port.get_option('builder_name') is not None and not ' - GPU' in port._options.builder_name:61 port._options.builder_name += ' - GPU'62def _tests(port, paths):63 if not paths:64 paths = ['compositing', 'platform/chromium/compositing', 'media']65 if not port.name().startswith('chromium-gpu-mac'):66 # Canvas is not yet accelerated on the Mac, so there's no point67 # in running the tests there.68 paths += ['fast/canvas', 'canvas/philip']69 # invalidate_rect.html tests a bug in the compositor.70 # See https://bugs.webkit.org/show_bug.cgi?id=5311771 paths += ['plugins/invalidate_rect.html']72 return test_files.find(port, paths)73class ChromiumGpuLinuxPort(chromium_linux.ChromiumLinuxPort):74 def __init__(self, port_name='chromium-gpu-linux', **kwargs):75 chromium_linux.ChromiumLinuxPort.__init__(self, port_name=port_name, **kwargs)76 _set_gpu_options(self)77 def baseline_path(self):78 # GPU baselines aren't yet versioned.79 return self._webkit_baseline_path('chromium-gpu-linux')80 def baseline_search_path(self):81 # Mimic the Linux -> Win expectations fallback in the ordinary Chromium port.82 return (map(self._webkit_baseline_path, ['chromium-gpu-linux', 'chromium-gpu-win', 'chromium-gpu']) +83 chromium_linux.ChromiumLinuxPort.baseline_search_path(self))84 def default_child_processes(self):85 return 186 def tests(self, paths):87 return _tests(self, paths)88class ChromiumGpuMacPort(chromium_mac.ChromiumMacPort):89 def __init__(self, port_name='chromium-gpu-mac', **kwargs):90 chromium_mac.ChromiumMacPort.__init__(self, port_name=port_name, **kwargs)91 _set_gpu_options(self)92 def baseline_path(self):93 # GPU baselines aren't yet versioned.94 return self._webkit_baseline_path('chromium-gpu-mac')95 def baseline_search_path(self):96 return (map(self._webkit_baseline_path, ['chromium-gpu-mac', 'chromium-gpu']) +97 chromium_mac.ChromiumMacPort.baseline_search_path(self))98 def default_child_processes(self):99 return 1100 def tests(self, paths):101 return _tests(self, paths)102class ChromiumGpuWinPort(chromium_win.ChromiumWinPort):103 def __init__(self, port_name='chromium-gpu-win', **kwargs):104 chromium_win.ChromiumWinPort.__init__(self, port_name=port_name, **kwargs)105 _set_gpu_options(self)106 def baseline_path(self):107 # GPU baselines aren't yet versioned.108 return self._webkit_baseline_path('chromium-gpu-win')109 def baseline_search_path(self):110 return (map(self._webkit_baseline_path, ['chromium-gpu-win', 'chromium-gpu']) +111 chromium_win.ChromiumWinPort.baseline_search_path(self))112 def default_child_processes(self):113 return 1114 def tests(self, paths):...

Full Screen

Full Screen

chromium_gpu_unittest.py

Source:chromium_gpu_unittest.py Github

copy

Full Screen

1#!/usr/bin/env python2# Copyright (C) 2010 Google Inc. All rights reserved.3#4# Redistribution and use in source and binary forms, with or without5# modification, are permitted provided that the following conditions are6# met:7#8# * Redistributions of source code must retain the above copyright9# notice, this list of conditions and the following disclaimer.10# * Redistributions in binary form must reproduce the above11# copyright notice, this list of conditions and the following disclaimer12# in the documentation and/or other materials provided with the13# distribution.14# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS15# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT16# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR17# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT18# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,19# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT20# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,21# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY22# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT23# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE24# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.25import unittest26from webkitpy.tool import mocktool27import chromium_gpu28from webkitpy.layout_tests.port import factory29class ChromiumGpuTest(unittest.TestCase):30 def test_get_chromium_gpu_linux(self):31 self.assertOverridesWorked('chromium-gpu-linux')32 def test_get_chromium_gpu_mac(self):33 self.assertOverridesWorked('chromium-gpu-mac')34 def test_get_chromium_gpu_win(self):35 self.assertOverridesWorked('chromium-gpu-win')36 def test_get_chromium_gpu__on_linux(self):37 self.assertOverridesWorked('chromium-gpu-linux', 'chromium-gpu', 'linux2')38 def test_get_chromium_gpu__on_mac(self):39 self.assertOverridesWorked('chromium-gpu-mac', 'chromium-gpu', 'darwin')40 def test_get_chromium_gpu__on_win(self):41 self.assertOverridesWorked('chromium-gpu-win', 'chromium-gpu', 'win32')42 self.assertOverridesWorked('chromium-gpu-win', 'chromium-gpu', 'cygwin')43 def assertOverridesWorked(self, port_name, input_name=None, platform=None):44 # test that we got the right port45 mock_options = mocktool.MockOptions(accelerated_compositing=None,46 accelerated_2d_canvas=None,47 builder_name='foo',48 child_processes=None)49 if input_name and platform:50 port = chromium_gpu.get(platform=platform, port_name=input_name,51 options=mock_options)52 else:53 port = chromium_gpu.get(port_name=port_name, options=mock_options)54 self.assertTrue(port._options.accelerated_compositing)55 self.assertTrue(port._options.accelerated_2d_canvas)56 self.assertEqual(port.default_child_processes(), 1)57 self.assertEqual(port._options.builder_name, 'foo - GPU')58 self.assertTrue(port.name().startswith(port_name))59 # test that it has the right directories in front of the search path.60 paths = port.baseline_search_path()61 self.assertEqual(port._webkit_baseline_path(port_name), paths[0])62 if port_name == 'chromium-gpu-linux':63 self.assertEqual(port._webkit_baseline_path('chromium-gpu-win'), paths[1])64 self.assertEqual(port._webkit_baseline_path('chromium-gpu'), paths[2])65 else:66 self.assertEqual(port._webkit_baseline_path('chromium-gpu'), paths[1])67 # Test that we're limiting to the correct directories.68 # These two tests are picked mostly at random, but we make sure they69 # exist separately from being filtered out by the port.70 files = port.tests(None)71 path = port.abspath_for_test('compositing/checkerboard.html')72 self.assertTrue(port._filesystem.exists(path))73 self.assertTrue(path in files)74 path = port.abspath_for_test('fast/html/keygen.html')75 self.assertTrue(port._filesystem.exists(path))76 self.assertFalse(path in files)77 if port_name.startswith('chromium-gpu-mac'):78 path = port.abspath_for_test('fast/canvas/set-colors.html')79 self.assertTrue(port._filesystem.exists(path))80 self.assertFalse(path in files)81 def test_chromium_gpu__vista(self):82 port = factory.get('chromium-gpu-win-vista')83 self.assertEquals(port.name(), 'chromium-gpu-win-vista')84 self.assertEquals(port.baseline_path(), port._webkit_baseline_path('chromium-gpu-win'))85 def test_chromium_gpu__xp(self):86 port = factory.get('chromium-gpu-win-xp')87 self.assertEquals(port.name(), 'chromium-gpu-win-xp')88 self.assertEquals(port.baseline_path(), port._webkit_baseline_path('chromium-gpu-win'))89 def test_chromium_gpu__win7(self):90 port = factory.get('chromium-gpu-win-win7')91 self.assertEquals(port.name(), 'chromium-gpu-win-win7')92 self.assertEquals(port.baseline_path(), port._webkit_baseline_path('chromium-gpu-win'))93 def test_chromium_gpu__leopard(self):94 port = factory.get('chromium-gpu-mac-leopard')95 self.assertEquals(port.name(), 'chromium-gpu-mac-leopard')96 self.assertEquals(port.baseline_path(), port._webkit_baseline_path('chromium-gpu-mac'))97 def test_chromium_gpu__snowleopard(self):98 port = factory.get('chromium-gpu-mac-snowleopard')99 self.assertEquals(port.name(), 'chromium-gpu-mac-snowleopard')100 self.assertEquals(port.baseline_path(), port._webkit_baseline_path('chromium-gpu-mac'))101if __name__ == '__main__':...

Full Screen

Full Screen

google_chrome.py

Source:google_chrome.py Github

copy

Full Screen

1#!/usr/bin/env python2# Copyright (C) 2010 Google Inc. All rights reserved.3#4# Redistribution and use in source and binary forms, with or without5# modification, are permitted provided that the following conditions are6# met:7#8# * Redistributions of source code must retain the above copyright9# notice, this list of conditions and the following disclaimer.10# * Redistributions in binary form must reproduce the above11# copyright notice, this list of conditions and the following disclaimer12# in the documentation and/or other materials provided with the13# distribution.14# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS15# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT16# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR17# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT18# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,19# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT20# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,21# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY22# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT23# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE24# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.25def _test_expectations_overrides(port, super):26 # The chrome ports use the regular overrides plus anything in the27 # official test_expectations as well. Hopefully we don't get collisions.28 chromium_overrides = super.test_expectations_overrides(port)29 # FIXME: It used to be that AssertionError would get raised by30 # path_from_chromium_base() if we weren't in a Chromium checkout, but31 # this changed in r60427. This should probably be changed back.32 overrides_path = port.path_from_chromium_base('webkit', 'tools',33 'layout_tests', 'test_expectations_chrome.txt')34 if not port._filesystem.exists(overrides_path):35 return chromium_overrides36 chromium_overrides = chromium_overrides or ''37 return chromium_overrides + port._filesystem.read_text_file(overrides_path)38def GetGoogleChromePort(**kwargs):39 """Some tests have slightly different results when compiled as Google40 Chrome vs Chromium. In those cases, we prepend an additional directory to41 to the baseline paths."""42 # FIXME: This whole routine is a tremendous hack that needs to be cleaned up.43 port_name = kwargs['port_name']44 del kwargs['port_name']45 if port_name == 'google-chrome-linux32':46 import chromium_linux47 class GoogleChromeLinux32Port(chromium_linux.ChromiumLinuxPort):48 def baseline_search_path(self):49 paths = chromium_linux.ChromiumLinuxPort.baseline_search_path(50 self)51 paths.insert(0, self._webkit_baseline_path(52 'google-chrome-linux32'))53 return paths54 def test_expectations_overrides(self):55 return _test_expectations_overrides(self,56 chromium_linux.ChromiumLinuxPort)57 def architecture(self):58 return 'x86'59 return GoogleChromeLinux32Port(port_name='chromium-linux-x86', **kwargs)60 elif port_name == 'google-chrome-linux64':61 import chromium_linux62 class GoogleChromeLinux64Port(chromium_linux.ChromiumLinuxPort):63 def baseline_search_path(self):64 paths = chromium_linux.ChromiumLinuxPort.baseline_search_path(65 self)66 paths.insert(0, self._webkit_baseline_path(67 'google-chrome-linux64'))68 return paths69 def test_expectations_overrides(self):70 return _test_expectations_overrides(self,71 chromium_linux.ChromiumLinuxPort)72 def architecture(self):73 return 'x86_64'74 # We use chromium-linux-x86 here in order to skip over the linux-x86_6475 # baselines.76 return GoogleChromeLinux64Port(port_name='chromium-linux-x86', **kwargs)77 elif port_name.startswith('google-chrome-mac'):78 import chromium_mac79 class GoogleChromeMacPort(chromium_mac.ChromiumMacPort):80 def baseline_search_path(self):81 paths = chromium_mac.ChromiumMacPort.baseline_search_path(82 self)83 paths.insert(0, self._webkit_baseline_path(84 'google-chrome-mac'))85 return paths86 def test_expectations_overrides(self):87 return _test_expectations_overrides(self,88 chromium_mac.ChromiumMacPort)89 return GoogleChromeMacPort(**kwargs)90 elif port_name.startswith('google-chrome-win'):91 import chromium_win92 class GoogleChromeWinPort(chromium_win.ChromiumWinPort):93 def baseline_search_path(self):94 paths = chromium_win.ChromiumWinPort.baseline_search_path(95 self)96 paths.insert(0, self._webkit_baseline_path(97 'google-chrome-win'))98 return paths99 def test_expectations_overrides(self):100 return _test_expectations_overrides(self,101 chromium_win.ChromiumWinPort)102 return GoogleChromeWinPort(**kwargs)...

Full Screen

Full Screen

chromium_mac_unittest.py

Source:chromium_mac_unittest.py Github

copy

Full Screen

1# Copyright (C) 2010 Google Inc. All rights reserved.2#3# Redistribution and use in source and binary forms, with or without4# modification, are permitted provided that the following conditions are5# met:6#7# * Redistributions of source code must retain the above copyright8# notice, this list of conditions and the following disclaimer.9# * Redistributions in binary form must reproduce the above10# copyright notice, this list of conditions and the following disclaimer11# in the documentation and/or other materials provided with the12# distribution.13# * Neither the name of Google Inc. nor the names of its14# contributors may be used to endorse or promote products derived from15# this software without specific prior written permission.16#17# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS18# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT19# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR20# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT21# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,22# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT23# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,24# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.28import unittest29from webkitpy.thirdparty.mock import Mock30from webkitpy.layout_tests.port import chromium_mac31from webkitpy.layout_tests.port import port_testcase32class ChromiumMacPortTest(port_testcase.PortTestCase):33 def port_maker(self, platform):34 if platform != 'darwin':35 return None36 return chromium_mac.ChromiumMacPort37 def test_check_wdiff_install(self):38 port = chromium_mac.ChromiumMacPort()39 # Currently is always true, just logs if missing.40 self.assertTrue(port._check_wdiff_install())41 def assert_name(self, port_name, os_version_string, expected):42 port = chromium_mac.ChromiumMacPort(port_name=port_name,43 os_version_string=os_version_string)44 self.assertEquals(expected, port.name())45 def test_versions(self):46 port = chromium_mac.ChromiumMacPort()47 self.assertTrue(port.name() in ('chromium-mac-leopard', 'chromium-mac-snowleopard', 'chromium-mac-future'))48 self.assert_name(None, '10.5.3', 'chromium-mac-leopard')49 self.assert_name('chromium-mac', '10.5.3', 'chromium-mac-leopard')50 self.assert_name('chromium-mac-leopard', '10.5.3', 'chromium-mac-leopard')51 self.assert_name('chromium-mac-leopard', '10.6.3', 'chromium-mac-leopard')52 self.assert_name(None, '10.6.3', 'chromium-mac-snowleopard')53 self.assert_name('chromium-mac', '10.6.3', 'chromium-mac-snowleopard')54 self.assert_name('chromium-mac-snowleopard', '10.5.3', 'chromium-mac-snowleopard')55 self.assert_name('chromium-mac-snowleopard', '10.6.3', 'chromium-mac-snowleopard')56 self.assert_name(None, '10.7', 'chromium-mac-future')57 self.assert_name(None, '10.7.3', 'chromium-mac-future')58 self.assert_name(None, '10.8', 'chromium-mac-future')59 self.assert_name('chromium-mac', '10.7.3', 'chromium-mac-future')60 self.assert_name('chromium-mac-future', '10.4.3', 'chromium-mac-future')61 self.assert_name('chromium-mac-future', '10.5.3', 'chromium-mac-future')62 self.assert_name('chromium-mac-future', '10.6.3', 'chromium-mac-future')63 self.assert_name('chromium-mac-future', '10.7.3', 'chromium-mac-future')64 self.assertRaises(AssertionError, self.assert_name, None, '10.4.1', 'should-raise-assertion-so-this-value-does-not-matter')65 def test_baseline_path(self):66 port = chromium_mac.ChromiumMacPort(port_name='chromium-mac-leopard')67 self.assertEquals(port.baseline_path(), port._webkit_baseline_path('chromium-mac-leopard'))68 port = chromium_mac.ChromiumMacPort(port_name='chromium-mac-snowleopard')69 self.assertEquals(port.baseline_path(), port._webkit_baseline_path('chromium-mac'))70if __name__ == '__main__':...

Full Screen

Full Screen

DumpRenderTree.gypi

Source:DumpRenderTree.gypi Github

copy

Full Screen

1{2 'variables': {3 'drt_files': [4 'chromium/AccessibilityController.cpp',5 'chromium/AccessibilityController.h',6 'chromium/AccessibilityUIElement.cpp',7 'chromium/AccessibilityUIElement.h',8 'chromium/CppBoundClass.cpp',9 'chromium/CppBoundClass.h',10 'chromium/CppVariant.cpp',11 'chromium/CppVariant.h',12 'chromium/DRTDevToolsAgent.cpp',13 'chromium/DRTDevToolsAgent.h',14 'chromium/DRTDevToolsClient.cpp',15 'chromium/DRTDevToolsClient.h',16 'chromium/DumpRenderTree.cpp',17 'chromium/EventSender.cpp',18 'chromium/EventSender.h',19 'chromium/LayoutTestController.cpp',20 'chromium/LayoutTestController.h',21 'chromium/MockSpellCheck.cpp',22 'chromium/MockSpellCheck.h',23 'chromium/NotificationPresenter.h',24 'chromium/NotificationPresenter.cpp',25 'chromium/PlainTextController.cpp',26 'chromium/PlainTextController.h',27 'chromium/Task.h',28 'chromium/Task.cpp',29 'chromium/TestEventPrinter.h',30 'chromium/TestEventPrinter.cpp',31 'chromium/TestNavigationController.cpp',32 'chromium/TestNavigationController.h',33 'chromium/TestShell.cpp',34 'chromium/TestShell.h',35 'chromium/TestShellGtk.cpp',36 'chromium/TestShellMac.mm',37 'chromium/TestShellWin.cpp',38 'chromium/TextInputController.cpp',39 'chromium/TextInputController.h',40 'chromium/WebPreferences.cpp',41 'chromium/WebPreferences.h',42 'chromium/WebViewHost.cpp',43 'chromium/WebViewHost.h',44 ],45 'test_plugin_files': [46 'TestNetscapePlugIn/PluginObject.cpp',47 'TestNetscapePlugIn/PluginObject.h',48 'TestNetscapePlugIn/PluginObjectMac.mm',49 'TestNetscapePlugIn/PluginTest.cpp',50 'TestNetscapePlugIn/PluginTest.h',51 'TestNetscapePlugIn/TestObject.cpp',52 'TestNetscapePlugIn/TestObject.h',53 'TestNetscapePlugIn/Tests/DocumentOpenInDestroyStream.cpp',54 'TestNetscapePlugIn/Tests/EvaluateJSAfterRemovingPluginElement.cpp',55 'TestNetscapePlugIn/Tests/GetURLWithJavaScriptURLDestroyingPlugin.cpp',56 'TestNetscapePlugIn/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp',57 'TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp',58 'TestNetscapePlugIn/Tests/NPRuntimeRemoveProperty.cpp',59 'TestNetscapePlugIn/Tests/NullNPPGetValuePointer.cpp',60 'TestNetscapePlugIn/Tests/PassDifferentNPPStruct.cpp',61 'TestNetscapePlugIn/Tests/PluginScriptableNPObjectInvokeDefault.cpp',62 'TestNetscapePlugIn/main.cpp',63 ],64 'conditions': [65 ['OS=="win"', {66 'drt_files': [67 'chromium/WebThemeControlDRTWin.cpp',68 'chromium/WebThemeControlDRTWin.h',69 'chromium/WebThemeEngineDRTWin.cpp',70 'chromium/WebThemeEngineDRTWin.h',71 ],72 }],73 ['OS=="mac"', {74 'drt_files': [75 'chromium/WebThemeEngineDRTMac.mm',76 'chromium/WebThemeEngineDRTMac.h',77 ],78 }], 79 ],80 }...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1const { chromium } = require('lambdium');2const { puppeteer } = require('lambdium');3const { playwright } = require('lambdium');4const browser = await chromium.launch({ headless: true });5const page = await browser.newPage();6await page.screenshot({ path: 'google.png' });7await browser.close();8const browser = await puppeteer.launch({ headless: true });9const page = await browser.newPage();10await page.screenshot({ path: 'google.png' });11await browser.close();12const browser = await playwright.launch({ headless: true });13const page = await browser.newPage();14await page.screenshot({ path: 'google.png' });15await browser.close();16{17 "scripts": {18 },19 "dependencies": {20 }21}22{23}

Full Screen

Using AI Code Generation

copy

Full Screen

1const chromium = require('chrome-aws-lambda');2const puppeteer = require('puppeteer-core');3const fs = require('fs');4(async () => {5 const browser = await puppeteer.launch({6 });7 const page = await browser.newPage();8 const content = await page.content();9 fs.writeFileSync('example.html', content);10 await browser.close();11})();12{13 "scripts": {14 },15 "dependencies": {16 }17}

Full Screen

Using AI Code Generation

copy

Full Screen

1const chromium = require('lambdium-chromium');2const fs = require('fs');3const path = require('path');4const options = {5};6const html = fs.readFileSync(path.join(__dirname, 'index.html'), 'utf8');7chromium.launch(options).then(async browser => {8 const page = await browser.newPage();9 await page.setContent(html);10 const pdf = await page.pdf({ format: 'A4' });11 await browser.close();12 fs.writeFileSync(path.join(__dirname, 'output.pdf'), pdf);13});

Full Screen

Using AI Code Generation

copy

Full Screen

1var chromium = require('lambdium-chromium');2var browser = chromium.launch();3var page = browser.newPage();4var phantomjs = require('lambdium-phantomjs');5var browser = phantomjs.launch();6var page = browser.newPage();7var selenium = require('lambdium-selenium');8var browser = selenium.launch();9var page = browser.newPage();10var webkit = require('lambdium-webkit');11var browser = webkit.launch();12var page = browser.newPage();13var firefox = require('lambdium-firefox');14var browser = firefox.launch();15var page = browser.newPage();16var chromeless = require('lambdium-chromeless');17var browser = chromeless.launch();18var page = browser.newPage();19var puppeteer = require('lambdium-puppeteer');20var browser = puppeteer.launch();21var page = browser.newPage();22var nightmare = require('lambdium-nightmare');23var browser = nightmare.launch();24var page = browser.newPage();25var casperjs = require('lambdium-casperjs');26var browser = casperjs.launch();27var page = browser.newPage();28var webdriverio = require('lambdium-webdriverio');29var browser = webdriverio.launch();30var page = browser.newPage();31var webdriver = require('lambdium-webdriver');32var browser = webdriver.launch();

Full Screen

Using AI Code Generation

copy

Full Screen

1var chromium = require('lambdium-chromium');2var browser = new chromium.Browser();3var page = new chromium.Page(browser);4page.on('console', function(message) {5 console.log(message.text);6});7page.on('error', function(message) {8 console.log(message.text);9});10page.on('load', function(message) {11 console.log(message.text);12});13page.on('request', function(message) {14 console.log(message.text);15});16page.on('response', function(message) {17 console.log(message.text);18});19page.on('pageerror', function(message) {20 console.log(message.text);21});22page.on('requestfailed', function(message) {23 console.log(message.text);24});25page.on('requestfinished', function(message) {26 console.log(message.text);27});28page.on('frameattached', function(message) {29 console.log(message.text);30});31page.on('framedetached', function(message) {32 console.log(message.text);33});34page.on('framenavigated', function(message) {35 console.log(message.text);36});37page.on('dialog', function(message) {38 console.log(message.text);39});40page.on('domcontentloaded', function(message) {41 console.log(message.text);42});43page.on('load', function(message) {44 console.log(message.text);45});46page.on('metrics', function(message) {47 console.log(message.text);48});49page.on('request', function(message) {50 console.log(message.text);51});52page.on('requestfailed', function(message) {53 console.log(message.text);54});55page.on('requestfinished', function(message) {56 console.log(message.text);57});58page.on('response', function(message) {59 console.log(message.text);60});61page.on('workercreated', function(message) {62 console.log(message.text);63});64page.on('workerdestroyed', function(message) {65 console.log(message.text);66});67page.on('close', function(message) {68 console.log(message.text);69});70page.on('crash', function(message) {71 console.log(message.text);72});73page.on('domcontentloaded', function(message) {74 console.log(message.text);75});76page.on('load', function(message) {77 console.log(message.text);78});79page.on('metrics', function(message) {80 console.log(message.text);81});82page.on('request', function(message) {83 console.log(message.text);84});85page.on('requestfailed', function(message) {86 console.log(message.text);87});

Full Screen

Using AI Code Generation

copy

Full Screen

1var lambdium = require('lambdium');2var lambda = lambdium({3 chrome: {4 }5});6const chromeless = require('chromeless')()7async function run() {8 .type('chromeless', 'input[name="q"]')9 .press(13)10 .wait('#resultStats')11 .screenshot()12 await chromeless.end()13}14run().catch(console.error)15const puppeteer = require('puppeteer');16(async () => {17 const browser = await puppeteer.launch();18 const page = await browser.newPage();19 await page.screenshot({path: 'example.png'});20 await browser.close();21})();22var webdriver = require('selenium-webdriver'),23 until = webdriver.until;24var driver = new webdriver.Builder()25 .forBrowser('chrome')26 .build();27driver.findElement(By.name('q')).sendKeys('webdriver');28driver.findElement(By.name('btnG')).click();29driver.wait(until.titleIs('webdriver - Google Search'), 1000);30driver.quit();31var Nightmare = require('nightmare');32var nightmare = Nightmare({ show: true });33 .type('input[title="Search"]', 'github nightmare')34 .click('input[value="Google Search"]')35 .wait('#resultStats')36 .evaluate(function () {37 return document.querySelector('#resultStats').innerText;38 })39 .end()40 .then(function (result) {41 console.log(result)42 })43 .catch(function (error) {44 console.error('Search failed:', error);45 });46var casper = require('casper').create();47 this.echo(this.getTitle

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run lambdium automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful