mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 07:17:30 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
42
media/webrtc/trunk/tools/gyp/test/ios/gyptest-watch.py
Normal file
42
media/webrtc/trunk/tools/gyp/test/ios/gyptest-watch.py
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# Copyright (c) 2014 Google Inc. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
"""
|
||||
Verifies that ios watch extensions and apps are built correctly.
|
||||
"""
|
||||
|
||||
import TestGyp
|
||||
import TestMac
|
||||
|
||||
import sys
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
print "This test is currently disabled: https://crbug.com/483696."
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
if sys.platform == 'darwin' and TestMac.Xcode.Version() >= "0620":
|
||||
test = TestGyp.TestGyp(formats=['ninja', 'xcode'])
|
||||
|
||||
test.run_gyp('watch.gyp', chdir='watch')
|
||||
|
||||
test.build(
|
||||
'watch.gyp',
|
||||
'WatchContainer',
|
||||
chdir='watch')
|
||||
|
||||
# Test that the extension exists
|
||||
test.built_file_must_exist(
|
||||
'WatchContainer.app/PlugIns/WatchKitExtension.appex',
|
||||
chdir='watch')
|
||||
|
||||
# Test that the watch app exists
|
||||
test.built_file_must_exist(
|
||||
'WatchContainer.app/PlugIns/WatchKitExtension.appex/WatchApp.app',
|
||||
chdir='watch')
|
||||
|
||||
test.pass_test()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue