OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # This turns on e.g. the filename-based detection of which | 7 # This turns on e.g. the filename-based detection of which |
8 # platforms to include source files on (e.g. files ending in | 8 # platforms to include source files on (e.g. files ending in |
9 # _mac.h or _mac.cc are only compiled on MacOSX). | 9 # _mac.h or _mac.cc are only compiled on MacOSX). |
10 'chromium_code': 1, | 10 'chromium_code': 1, |
11 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components', | 11 }, |
12 }, | |
13 'conditions': [ | 12 'conditions': [ |
14 ['android_webview_build == 0', { | 13 ['android_webview_build == 0', { |
15 'targets': [ | 14 'targets': [ |
16 { | 15 { |
17 # GN version: //components/components_unittests | 16 # GN version: //components/components_unittests |
18 'target_name': 'components_unittests', | 17 'target_name': 'components_unittests', |
19 'type': '<(gtest_target_type)', | 18 'type': '<(gtest_target_type)', |
20 'sources': [ | 19 'sources': [ |
21 # Note: sources list duplicated in GN build. In the GN build, | 20 # Note: sources list duplicated in GN build. In the GN build, |
22 # each component has its own unit tests target defined in its | 21 # each component has its own unit tests target defined in its |
(...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1053 '../build/isolate.gypi', | 1052 '../build/isolate.gypi', |
1054 ], | 1053 ], |
1055 'sources': [ | 1054 'sources': [ |
1056 'components_unittests.isolate', | 1055 'components_unittests.isolate', |
1057 ], | 1056 ], |
1058 }, | 1057 }, |
1059 ], | 1058 ], |
1060 }], | 1059 }], |
1061 ], | 1060 ], |
1062 } | 1061 } |
OLD | NEW |