Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: build/mb_conf.pyl

Issue 1005723003: First pass at a meta-build wrapper for the gyp->gn migration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename to mb, add docs Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/mb/README.md » ('j') | tools/mb/README.md » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/mb_conf.pyl
diff --git a/build/mb_conf.pyl b/build/mb_conf.pyl
new file mode 100644
index 0000000000000000000000000000000000000000..46626bf2a5f0320f62e48915d5b27d2199c970f4
--- /dev/null
+++ b/build/mb_conf.pyl
@@ -0,0 +1,70 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'build_configs': {
+ 'gn_debug_shared': None,
+ 'gn_release_static': None,
+ 'gyp': ['gyp'],
+ 'gyp_debug_bot': ['gyp_shared', 'bot'],
+ 'gyp_release_bot': ['gyp_static', 'bot'],
+ 'gyp_release_trybot': ['gyp_static', 'trybot'],
+ 'gyp_shared': None,
+ 'gyp_static': None,
+ },
+
+ 'mixins': {
+ 'bot': {
+ 'mixins': ['minimal_symbols']
+ },
+
+ 'dcheck_always_on': {
+ 'gn_args': ['dcheck_always_on=true'],
+ 'gyp_defines': ['dcheck_always_on=1'],
+ },
+
+ 'debug': {
+ 'gn_args': ['is_debug=true'],
+ 'gyp_defines': [],
+ 'gyp_configs': ['Debug', 'Debug_x64'],
+ },
+
+ 'gn': {
+ 'type': 'gn',
+ },
+
+ 'gyp': {
+ 'type': 'gyp',
+ },
+
+ 'gyp_chromium': {
+ 'type': 'gyp_one_config',
+ },
+
+ 'minimal_symbols': {
+ 'gn_args': ['symbol_level=1'],
+ 'gyp_defines': ['fastbuild=1'],
+ },
+
+ 'release': {
+ 'gn_args': ['is_debug=false'],
+ 'gyp_defines': [],
+ 'gyp_configs': ['Release', 'Release_x64']
+ },
+
+ 'shared': {
+ 'gn_args': ['is_component_build=true'],
+ 'gyp_defines': ['component=shared_library'],
+ },
+
+ 'static': {
+ 'gn_args': ['is_component_build=false'],
+ 'gyp_defines': ['component=static_library'],
+ },
+
+ 'trybot': {
+ 'mixins': ['bot', 'dcheck_always_on'],
+ },
+ },
+}
« no previous file with comments | « no previous file | tools/mb/README.md » ('j') | tools/mb/README.md » ('J')

Powered by Google App Engine
This is Rietveld 408576698