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

Unified Diff: src/platform/autox/SConstruct

Issue 2074007: autox: Remove C++ version. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 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 | « src/platform/autox/README ('k') | src/platform/autox/autox.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/autox/SConstruct
diff --git a/src/platform/autox/SConstruct b/src/platform/autox/SConstruct
deleted file mode 100644
index 5ca4c58833cbfd6858aa3271af17cf2fb93527fc..0000000000000000000000000000000000000000
--- a/src/platform/autox/SConstruct
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import os
-
-env = Environment()
-for key in Split('CC CXX AR RANLIB LD NM'):
- value = os.environ.get(key)
- if value != None:
- env[key] = value
-for key in Split('CFLAGS CCFLAGS CPPPATH LIBPATH'):
- value = os.environ.get(key)
- if value != None:
- env[key] = Split(value)
-if not env.get('CCFLAGS'):
- env.Append(CCFLAGS=Split('-I.. -Wall -Werror -O3'))
-
-# Fix issue with scons not passing some vars through the environment.
-for key in Split('PKG_CONFIG_LIBDIR PKG_CONFIG_PATH SYSROOT'):
- if os.environ.has_key(key):
- env['ENV'][key] = os.environ[key]
-
-env.Append(CPPPATH=['..'])
-env.Append(LIBS=Split('base chromeos rt Xtst'))
-env.ParseConfig('pkg-config --cflags --libs libpcrecpp x11')
-env.Program('autox', Split('autox.cc script_runner.cc'))
« no previous file with comments | « src/platform/autox/README ('k') | src/platform/autox/autox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698