From ee435a841a4677d44698bb095378ccf3be331eae Mon Sep 17 00:00:00 2001 From: stip Date: Fri, 2 Oct 2015 13:05:38 -0700 Subject: Isolate events_unittests_apk. BUG=525873 R=maruel@chromium.org,jbudorick@chromium.org,sky@chromium.org Review URL: https://codereview.chromium.org/1372763002 Cr-Commit-Position: refs/heads/master@{#352107} --- ui/events/events.gyp | 19 +++++++++++++++++++ ui/events/events_unittests_apk.isolate | 17 +++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 ui/events/events_unittests_apk.isolate diff --git a/ui/events/events.gyp b/ui/events/events.gyp index 128f08c..3bd849e 100644 --- a/ui/events/events.gyp +++ b/ui/events/events.gyp @@ -493,6 +493,25 @@ 'includes': [ '../../build/apk_test.gypi' ], }, ], + 'conditions': [ + ['test_isolation_mode != "noop"', { + 'targets': [ + { + 'target_name': 'events_unittests_apk_run', + 'type': 'none', + 'dependencies': [ + 'events_unittests_apk', + ], + 'includes': [ + '../../build/isolate.gypi', + ], + 'sources': [ + 'events_unittests_apk.isolate', + ], + }, + ], + }], + ], }], ['test_isolation_mode != "noop"', { 'targets': [ diff --git a/ui/events/events_unittests_apk.isolate b/ui/events/events_unittests_apk.isolate new file mode 100644 index 0000000..c45db50 --- /dev/null +++ b/ui/events/events_unittests_apk.isolate @@ -0,0 +1,17 @@ +# Copyright 2015 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. +{ + 'includes': [ + '../../build/android/android.isolate', + ], + 'variables': { + 'command': [ + '<(PRODUCT_DIR)/bin/run_events_unittests', + ], + 'files': [ + '<(PRODUCT_DIR)/bin/run_events_unittests', + '<(PRODUCT_DIR)/events_unittests_apk/', + ] + }, +} -- cgit v1.1