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

Side by Side Diff: chrome_frame/PRESUBMIT.py

Issue 6386025: Disabling building of CEEE; we will be moving the code to a separate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to head Created 9 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_installer.gypi ('k') | chrome_frame/chrome_frame.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import sys
6
7
8 def CheckChange(input_api, output_api, committing):
9 # We need to change the path so that we can import ceee_presubmit
10 # which lies at the root of the ceee folder. And we do it here so that
11 # it doesn't pollute all the cases where we get imported yet not called.
12 old_sys_path = sys.path
13 ceee_path = input_api.os_path.join(input_api.PresubmitLocalPath(), '../ceee')
14 try:
15 sys.path = [ceee_path] + sys.path
16 import ceee_presubmit
17 return ceee_presubmit.CheckChange(input_api,
18 output_api,
19 committing,
20 is_chrome_frame=True)
21 finally:
22 sys.path = old_sys_path
23
24
25 def CheckChangeOnUpload(input_api, output_api):
26 return CheckChange(input_api, output_api, False)
27
28
29 def CheckChangeOnCommit(input_api, output_api):
30 return CheckChange(input_api, output_api, True)
OLDNEW
« no previous file with comments | « chrome/chrome_installer.gypi ('k') | chrome_frame/chrome_frame.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698