Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Side by Side Diff: tools/gn/substitution_type.h

Issue 1887533003: Add an output_dir override to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: const Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/gn/ninja_binary_target_writer_unittest.cc ('k') | tools/gn/substitution_type.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef TOOLS_GN_SUBSTITUTION_TYPE_H_ 5 #ifndef TOOLS_GN_SUBSTITUTION_TYPE_H_
6 #define TOOLS_GN_SUBSTITUTION_TYPE_H_ 6 #define TOOLS_GN_SUBSTITUTION_TYPE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 class Err; 10 class Err;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 SUBSTITUTION_CFLAGS_OBJC, // {{cflags_objc}} 49 SUBSTITUTION_CFLAGS_OBJC, // {{cflags_objc}}
50 SUBSTITUTION_CFLAGS_OBJCC, // {{cflags_objcc}} 50 SUBSTITUTION_CFLAGS_OBJCC, // {{cflags_objcc}}
51 SUBSTITUTION_DEFINES, // {{defines}} 51 SUBSTITUTION_DEFINES, // {{defines}}
52 SUBSTITUTION_INCLUDE_DIRS, // {{include_dirs}} 52 SUBSTITUTION_INCLUDE_DIRS, // {{include_dirs}}
53 53
54 // Valid for linker tools. 54 // Valid for linker tools.
55 SUBSTITUTION_LINKER_INPUTS, // {{inputs}} 55 SUBSTITUTION_LINKER_INPUTS, // {{inputs}}
56 SUBSTITUTION_LINKER_INPUTS_NEWLINE, // {{inputs_newline}} 56 SUBSTITUTION_LINKER_INPUTS_NEWLINE, // {{inputs_newline}}
57 SUBSTITUTION_LDFLAGS, // {{ldflags}} 57 SUBSTITUTION_LDFLAGS, // {{ldflags}}
58 SUBSTITUTION_LIBS, // {{libs}} 58 SUBSTITUTION_LIBS, // {{libs}}
59 SUBSTITUTION_OUTPUT_DIR, // {{output_dir}}
59 SUBSTITUTION_OUTPUT_EXTENSION, // {{output_extension}} 60 SUBSTITUTION_OUTPUT_EXTENSION, // {{output_extension}}
60 SUBSTITUTION_SOLIBS, // {{solibs}} 61 SUBSTITUTION_SOLIBS, // {{solibs}}
61 62
62 // Valid for bundle_data targets. 63 // Valid for bundle_data targets.
63 SUBSTITUTION_BUNDLE_ROOT_DIR, // {{bundle_root_dir}} 64 SUBSTITUTION_BUNDLE_ROOT_DIR, // {{bundle_root_dir}}
64 SUBSTITUTION_BUNDLE_RESOURCES_DIR, // {{bundle_resources_dir}} 65 SUBSTITUTION_BUNDLE_RESOURCES_DIR, // {{bundle_resources_dir}}
65 SUBSTITUTION_BUNDLE_EXECUTABLE_DIR, // {{bundle_executable_dir}} 66 SUBSTITUTION_BUNDLE_EXECUTABLE_DIR, // {{bundle_executable_dir}}
66 SUBSTITUTION_BUNDLE_PLUGINS_DIR, // {{bundle_plugins_dir}} 67 SUBSTITUTION_BUNDLE_PLUGINS_DIR, // {{bundle_plugins_dir}}
67 68
68 // Used only for the args of actions. 69 // Used only for the args of actions.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 bool IsValidCompileXCassetsSubstitution(SubstitutionType type); 121 bool IsValidCompileXCassetsSubstitution(SubstitutionType type);
121 122
122 // Like the "IsValid..." version above but checks a list of types and sets a 123 // Like the "IsValid..." version above but checks a list of types and sets a
123 // an error blaming the given source if the test fails. 124 // an error blaming the given source if the test fails.
124 bool EnsureValidSourcesSubstitutions( 125 bool EnsureValidSourcesSubstitutions(
125 const std::vector<SubstitutionType>& types, 126 const std::vector<SubstitutionType>& types,
126 const ParseNode* origin, 127 const ParseNode* origin,
127 Err* err); 128 Err* err);
128 129
129 #endif // TOOLS_GN_SUBSTITUTION_TYPE_H_ 130 #endif // TOOLS_GN_SUBSTITUTION_TYPE_H_
OLDNEW
« no previous file with comments | « tools/gn/ninja_binary_target_writer_unittest.cc ('k') | tools/gn/substitution_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698