[infra/config] Bump OS X SDK version for dawn.
Bug: chromium:973721
Change-Id: I0dd5d9f4a06c791b4d8b0cb342974579a3f21624
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/9880
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
diff --git a/infra/config/PRESUBMIT.py b/infra/config/PRESUBMIT.py
new file mode 100644
index 0000000..8f08f24
--- /dev/null
+++ b/infra/config/PRESUBMIT.py
@@ -0,0 +1,21 @@
+# Copyright 2018 The Dawn Authors
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+def CheckChangeOnUpload(input_api, output_api):
+ return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api)
+
+
+def CheckChangeOnCommit(input_api, output_api):
+ return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api)
diff --git a/infra/config/global/cr-buildbucket.cfg b/infra/config/global/cr-buildbucket.cfg
index 515e804..c5d47f7 100644
--- a/infra/config/global/cr-buildbucket.cfg
+++ b/infra/config/global/cr-buildbucket.cfg
@@ -77,6 +77,13 @@
name: "osx_sdk"
path: "osx_sdk"
}
+ recipe {
+ properties_j: <<EOF
+ $depot_tools/osx_sdk:{
+ "sdk_version": "10b61"
+ }
+ EOF
+ }
}
buckets {