OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #ifndef TOOLS_GN_TARGET_H_ | 5 #ifndef TOOLS_GN_TARGET_H_ |
6 #define TOOLS_GN_TARGET_H_ | 6 #define TOOLS_GN_TARGET_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 17 matching lines...) Expand all Loading... |
28 class Token; | 28 class Token; |
29 class Toolchain; | 29 class Toolchain; |
30 | 30 |
31 class Target : public Item { | 31 class Target : public Item { |
32 public: | 32 public: |
33 enum OutputType { | 33 enum OutputType { |
34 UNKNOWN, | 34 UNKNOWN, |
35 GROUP, | 35 GROUP, |
36 EXECUTABLE, | 36 EXECUTABLE, |
37 SHARED_LIBRARY, | 37 SHARED_LIBRARY, |
| 38 LOADABLE_MODULE, |
38 STATIC_LIBRARY, | 39 STATIC_LIBRARY, |
39 SOURCE_SET, | 40 SOURCE_SET, |
40 COPY_FILES, | 41 COPY_FILES, |
41 ACTION, | 42 ACTION, |
42 ACTION_FOREACH, | 43 ACTION_FOREACH, |
43 }; | 44 }; |
44 | 45 |
45 enum DepsIterationType { | 46 enum DepsIterationType { |
46 DEPS_ALL, // Iterates through all public, private, and data deps. | 47 DEPS_ALL, // Iterates through all public, private, and data deps. |
47 DEPS_LINKED, // Iterates through all non-data dependencies. | 48 DEPS_LINKED, // Iterates through all non-data dependencies. |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 | 319 |
319 // Output files. Empty until the target is resolved. | 320 // Output files. Empty until the target is resolved. |
320 std::vector<OutputFile> computed_outputs_; | 321 std::vector<OutputFile> computed_outputs_; |
321 OutputFile link_output_file_; | 322 OutputFile link_output_file_; |
322 OutputFile dependency_output_file_; | 323 OutputFile dependency_output_file_; |
323 | 324 |
324 DISALLOW_COPY_AND_ASSIGN(Target); | 325 DISALLOW_COPY_AND_ASSIGN(Target); |
325 }; | 326 }; |
326 | 327 |
327 #endif // TOOLS_GN_TARGET_H_ | 328 #endif // TOOLS_GN_TARGET_H_ |
OLD | NEW |