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

Unified Diff: scripts/slave/recipes/chromium_mojo.py

Issue 791733005: split out chromium_mojo recipe changes from chromium_mojo master cl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: update docstring Created 6 years 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
Index: scripts/slave/recipes/chromium_mojo.py
diff --git a/scripts/slave/recipes/chromium_mojo.py b/scripts/slave/recipes/chromium_mojo.py
new file mode 100644
index 0000000000000000000000000000000000000000..9423c9ec9793e4fa15f10db76daf1869bd1641ba
--- /dev/null
+++ b/scripts/slave/recipes/chromium_mojo.py
@@ -0,0 +1,42 @@
+# Copyright 2014 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.
+
+DEPS = [
+ 'bot_update',
+ 'chromium',
+]
+
+
+BUILDERS = {
+ 'chromium.mojo': {
+ 'builders': {
+ 'Chromium Mojo Linux': {
+ 'chromium_config_kwargs': {
+ 'BUILD_CONFIG': 'Release',
+ 'TARGET_PLATFORM': 'linux',
+ },
+ },
+ },
+ },
+}
+
+
+def GenSteps(api):
+ _, bot_config = api.chromium.configure_bot(BUILDERS, ['gn'])
+
+ api.bot_update.ensure_checkout(force=True,
+ patch_root=bot_config.get('root_override'))
+
+ api.chromium.runhooks()
+
+ api.chromium.run_gn(use_goma=True)
+
+ api.chromium.compile(targets=['html_viewer_unittests'])
+
+ api.chromium.runtest('html_viewer_unittests')
+
+
+def GenTests(api):
+ for test in api.chromium.gen_tests_for_builders(BUILDERS):
+ yield test

Powered by Google App Engine
This is Rietveld 408576698