提交 dba467b4 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Update gyp dep to master

上级 8f60f054
...@@ -102,11 +102,13 @@ def IsPathSection(section): ...@@ -102,11 +102,13 @@ def IsPathSection(section):
base_non_configuration_keys = [ base_non_configuration_keys = [
# Sections that must exist inside targets and not configurations. # Sections that must exist inside targets and not configurations.
'actions', 'actions',
'all_dependent_settings',
'configurations', 'configurations',
'copies', 'copies',
'default_configuration', 'default_configuration',
'dependencies', 'dependencies',
'dependencies_original', 'dependencies_original',
'direct_dependent_settings',
'libraries', 'libraries',
'postbuilds', 'postbuilds',
'product_dir', 'product_dir',
......
{
"targets": [
{
"target_name": "settings",
"type": "none",
"all_dependent_settings": {
"target_conditions": [
["'library' in _type", {"all_dependent_settings": {}}]
]
},
},
{
"target_name": "library",
"type": "static_library",
"dependencies": ["settings"],
},
]
}
{
"targets": [
{
"target_name": "settings",
"type": "none",
"all_dependent_settings": {
"target_conditions": [
["'library' in _type", {"direct_dependent_settings": {}}]
]
},
},
{
"target_name": "library",
"type": "static_library",
"dependencies": ["settings"],
},
]
}
#!/usr/bin/env python
# Copyright (c) 2009 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 nested dependent_settings directives project generation.
"""
import TestGyp
test = TestGyp.TestGyp()
test.run_gyp("all-dependent-settings.gyp")
test.run_gyp("direct-dependent-settings.gyp")
test.pass_test()
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论