diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-22 09:05:59 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-22 09:05:59 +0000 |
commit | c9ea791495b2484dd1bdf85f8182ee3e1d916336 (patch) | |
tree | 04c668e2c826332566bd1ae8089d98a459017ab0 /base/base.isolate | |
parent | d2b8e0a77f525ecc5ca1805bf58a82fbe502803b (diff) | |
download | chromium_src-c9ea791495b2484dd1bdf85f8182ee3e1d916336.zip chromium_src-c9ea791495b2484dd1bdf85f8182ee3e1d916336.tar.gz chromium_src-c9ea791495b2484dd1bdf85f8182ee3e1d916336.tar.bz2 |
Add support for component=shared_library for base_unittests_run.
Specifically, this adds support to run base_unittests isolated
via 'isolate.py run' when built with component build.
This requires rolling icu @ 246118 to get the new icu.isolate.
R=thakis@chromium.org,jshin@chromium.org,frankf@chromium.org,rsleevi@chromium.org
BUG=336439
Review URL: https://codereview.chromium.org/132233030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246247 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.isolate')
-rw-r--r-- | base/base.isolate | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/base/base.isolate b/base/base.isolate new file mode 100644 index 0000000..c92a14b --- /dev/null +++ b/base/base.isolate @@ -0,0 +1,38 @@ +# 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. +{ + 'conditions': [ + ['OS=="linux" and component=="shared_library"', { + 'variables': { + 'isolate_dependency_tracked': [ + '<(PRODUCT_DIR)/lib/libbase.so', + '<(PRODUCT_DIR)/lib/libbase_i18n.so', + '<(PRODUCT_DIR)/lib/libbase_prefs.so', + ], + }, + }], + ['OS=="mac" and component=="shared_library"', { + 'variables': { + 'isolate_dependency_tracked': [ + '<(PRODUCT_DIR)/libbase.dylib', + '<(PRODUCT_DIR)/libbase_i18n.dylib', + '<(PRODUCT_DIR)/libbase_prefs.dylib', + ], + }, + }], + ['OS=="win" and component=="shared_library"', { + 'variables': { + 'isolate_dependency_tracked': [ + '<(PRODUCT_DIR)/base.dll', + '<(PRODUCT_DIR)/base_i18n.dll', + '<(PRODUCT_DIR)/base_prefs.dll', + ], + }, + }], + ], + 'includes': [ + '../build/linux/system.isolate', + '../third_party/icu/icu.isolate', + ], +} |