1 # Copyright 2013 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.
11 # TODO(tfarina): Remove this target after all traces of it are updated to
12 # point to ui_base_unittests. That means updating buildbot code and some
13 # references in chromium too. crbug.com/331829
14 # GN version: //ui/base:unittests
15 'target_name': 'ui_unittests',
16 'includes': [ 'ui_base_tests.gypi' ],
19 # GN version: //ui/base:unittests
20 'target_name': 'ui_base_unittests',
21 # TODO(tfarina): When ui_unittests is removed, move the content of the
22 # gypi file back here.
23 'includes': [ 'ui_base_tests.gypi' ],
27 # Mac target to build a test Framework bundle to mock out resource loading.
31 'target_name': 'ui_base_tests_bundle',
32 'type': 'shared_library',
34 '../resources/ui_resources.gyp:ui_test_pak',
36 'includes': [ 'ui_base_tests_bundle.gypi' ],
37 # ui_base_tests_bundle doesn't actually contain a shared library and
38 # therefore should not depend on sanitizer_options or any other
39 # libraries. Adding such a dependency will result in creating a
40 # broken shared library within the bundle.
42 ['use_sanitizer_options==1', {
44 '../../build/sanitizers/sanitizers.gyp:sanitizer_options',
54 # TODO(tfarina): Remove this target after all traces of it are updated
55 # to point to ui_base_unittests_apk. crbug.com/331829
56 'target_name': 'ui_unittests_apk',
62 'test_suite_name': 'ui_unittests',
64 'includes': [ '../../build/apk_test.gypi' ],
67 'target_name': 'ui_base_unittests_apk',
73 'test_suite_name': 'ui_base_unittests',
75 'includes': [ '../../build/apk_test.gypi' ],