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

Side by Side Diff: src/platform/autox/SConstruct

Issue 551133: autox: Rename xtest to autox and package it. (Closed)
Patch Set: remove xtest from wm .gitignore Created 10 years, 11 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
« no previous file with comments | « src/platform/autox/README ('k') | src/platform/autox/autox.cc » ('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) 2010 The Chromium OS 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 os
6
7 env = Environment()
8 for key in Split('CC CXX AR RANLIB LD NM'):
9 value = os.environ.get(key)
10 if value != None:
11 env[key] = value
12 for key in Split('CFLAGS CCFLAGS CPPPATH LIBPATH'):
13 value = os.environ.get(key)
14 if value != None:
15 env[key] = Split(value)
16 if not env.get('CCFLAGS'):
17 env.Append(CCFLAGS=Split('-I.. -Wall -Werror -O3'))
18
19 # Fix issue with scons not passing pkg-config vars through the environment.
20 for key in Split('PKG_CONFIG_LIBDIR PKG_CONFIG_PATH'):
21 if os.environ.has_key(key):
22 env['ENV'][key] = os.environ[key]
23
24 env.Append(CPPPATH=['..'])
25 env.Append(LIBS=Split('base chromeos rt Xtst'))
26 env.ParseConfig('pkg-config --cflags --libs libpcrecpp x11')
27 env.Program('autox', 'autox.cc')
OLDNEW
« 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