import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo

This commit is contained in:
Roy Tam 2018-01-19 03:59:58 +08:00
commit dcd9973243
150858 changed files with 23884658 additions and 0 deletions

View file

@ -0,0 +1,5 @@
# 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.
This is a dummy file for rule/action input.

View file

@ -0,0 +1,29 @@
#!/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.
"""
Make sure 'ninja_use_console' is supported in actions and rules.
"""
import TestGyp
test = TestGyp.TestGyp(formats=['ninja'])
test.run_gyp('use-console.gyp')
no_pool = open(test.built_file_path('obj/no_pool.ninja')).read()
if 'pool =' in no_pool:
test.fail_test()
action_pool = open(test.built_file_path('obj/action_pool.ninja')).read()
if 'pool = console' not in action_pool:
test.fail_test()
rule_pool = open(test.built_file_path('obj/rule_pool.ninja')).read()
if 'pool = console' not in rule_pool:
test.fail_test()
test.pass_test()

View file

@ -0,0 +1,60 @@
# 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.
{
'targets': [
{
'target_name': 'no_pool',
'type': 'none',
'actions': [
{
'action_name': 'some_action',
'action': ['echo', 'hello'],
'inputs': ['foo.bar'],
'outputs': ['dummy'],
},
],
'rules': [
{
'rule_name': 'some_rule',
'extension': 'bar',
'action': ['echo', 'hello'],
'outputs': ['dummy'],
},
],
'sources': [
'foo.bar',
],
},
{
'target_name': 'action_pool',
'type': 'none',
'actions': [
{
'action_name': 'some_action',
'action': ['echo', 'hello'],
'inputs': ['foo.bar'],
'outputs': ['dummy'],
'ninja_use_console': 1,
},
],
},
{
'target_name': 'rule_pool',
'type': 'none',
'rules': [
{
'rule_name': 'some_rule',
'extension': 'bar',
'action': ['echo', 'hello'],
'outputs': ['dummy'],
'ninja_use_console': 1,
},
],
'sources': [
'foo.bar',
],
},
],
}