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

Side by Side Diff: tools/gn/variables.cc

Issue 2205693005: Add bundle_deps_filter to create_bundle targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« tools/gn/variables.h ('K') | « tools/gn/variables.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "tools/gn/variables.h" 5 #include "tools/gn/variables.h"
6 6
7 namespace variables { 7 namespace variables {
8 8
9 // Built-in variables ---------------------------------------------------------- 9 // Built-in variables ----------------------------------------------------------
10 10
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 "\n" 959 "\n"
960 " See also \"gn help deps\" and \"gn help data\".\n" 960 " See also \"gn help deps\" and \"gn help data\".\n"
961 "\n" 961 "\n"
962 "Example\n" 962 "Example\n"
963 "\n" 963 "\n"
964 " executable(\"foo\") {\n" 964 " executable(\"foo\") {\n"
965 " deps = [ \"//base\" ]\n" 965 " deps = [ \"//base\" ]\n"
966 " data_deps = [ \"//plugins:my_runtime_plugin\" ]\n" 966 " data_deps = [ \"//plugins:my_runtime_plugin\" ]\n"
967 " }\n"; 967 " }\n";
968 968
969 const char kDepsFilter[] = "deps_filter";
970 const char kDepsFilter_HelpShort[] =
971 "deps_filter: [label list] A list of labels that must not be linked.";
972 const char kDepsFilter_Help[] =
973 "deps_filter: [label list] A list of labels that must not be linked.\n"
brettw 2016/08/03 19:25:19 Your implementation takes a list of label patterns
974 "\n"
975 " A list of target labels.\n"
976 "\n"
977 " Specifies target that must be ignored when copying data into a bundle.\n"
brettw 2016/08/03 19:25:19 Can you fix the grammar here? I think you mean "sp
978 " Usually used to filter runtime data from an application extension (the\n"
979 " extension can use the runtime data packaged with the main app).\n";
980
969 const char kDefines[] = "defines"; 981 const char kDefines[] = "defines";
970 const char kDefines_HelpShort[] = 982 const char kDefines_HelpShort[] =
971 "defines: [string list] C preprocessor defines."; 983 "defines: [string list] C preprocessor defines.";
972 const char kDefines_Help[] = 984 const char kDefines_Help[] =
973 "defines: C preprocessor defines.\n" 985 "defines: C preprocessor defines.\n"
974 "\n" 986 "\n"
975 " A list of strings\n" 987 " A list of strings\n"
976 "\n" 988 "\n"
977 " These strings will be passed to the C/C++ compiler as #defines. The\n" 989 " These strings will be passed to the C/C++ compiler as #defines. The\n"
978 " strings may or may not include an \"=\" to assign a value.\n" 990 " strings may or may not include an \"=\" to assign a value.\n"
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
1824 INSERT_VARIABLE(CodeSigningSources) 1836 INSERT_VARIABLE(CodeSigningSources)
1825 INSERT_VARIABLE(CodeSigningOutputs) 1837 INSERT_VARIABLE(CodeSigningOutputs)
1826 INSERT_VARIABLE(CompleteStaticLib) 1838 INSERT_VARIABLE(CompleteStaticLib)
1827 INSERT_VARIABLE(Configs) 1839 INSERT_VARIABLE(Configs)
1828 INSERT_VARIABLE(Console) 1840 INSERT_VARIABLE(Console)
1829 INSERT_VARIABLE(Data) 1841 INSERT_VARIABLE(Data)
1830 INSERT_VARIABLE(DataDeps) 1842 INSERT_VARIABLE(DataDeps)
1831 INSERT_VARIABLE(Defines) 1843 INSERT_VARIABLE(Defines)
1832 INSERT_VARIABLE(Depfile) 1844 INSERT_VARIABLE(Depfile)
1833 INSERT_VARIABLE(Deps) 1845 INSERT_VARIABLE(Deps)
1846 INSERT_VARIABLE(DepsFilter)
1834 INSERT_VARIABLE(IncludeDirs) 1847 INSERT_VARIABLE(IncludeDirs)
1835 INSERT_VARIABLE(Inputs) 1848 INSERT_VARIABLE(Inputs)
1836 INSERT_VARIABLE(Ldflags) 1849 INSERT_VARIABLE(Ldflags)
1837 INSERT_VARIABLE(Libs) 1850 INSERT_VARIABLE(Libs)
1838 INSERT_VARIABLE(LibDirs) 1851 INSERT_VARIABLE(LibDirs)
1839 INSERT_VARIABLE(OutputDir) 1852 INSERT_VARIABLE(OutputDir)
1840 INSERT_VARIABLE(OutputExtension) 1853 INSERT_VARIABLE(OutputExtension)
1841 INSERT_VARIABLE(OutputName) 1854 INSERT_VARIABLE(OutputName)
1842 INSERT_VARIABLE(OutputPrefixOverride) 1855 INSERT_VARIABLE(OutputPrefixOverride)
1843 INSERT_VARIABLE(Outputs) 1856 INSERT_VARIABLE(Outputs)
1844 INSERT_VARIABLE(PrecompiledHeader) 1857 INSERT_VARIABLE(PrecompiledHeader)
1845 INSERT_VARIABLE(PrecompiledSource) 1858 INSERT_VARIABLE(PrecompiledSource)
1846 INSERT_VARIABLE(ProductType) 1859 INSERT_VARIABLE(ProductType)
1847 INSERT_VARIABLE(Public) 1860 INSERT_VARIABLE(Public)
1848 INSERT_VARIABLE(PublicConfigs) 1861 INSERT_VARIABLE(PublicConfigs)
1849 INSERT_VARIABLE(PublicDeps) 1862 INSERT_VARIABLE(PublicDeps)
1850 INSERT_VARIABLE(ResponseFileContents) 1863 INSERT_VARIABLE(ResponseFileContents)
1851 INSERT_VARIABLE(Script) 1864 INSERT_VARIABLE(Script)
1852 INSERT_VARIABLE(Sources) 1865 INSERT_VARIABLE(Sources)
1853 INSERT_VARIABLE(Testonly) 1866 INSERT_VARIABLE(Testonly)
1854 INSERT_VARIABLE(Visibility) 1867 INSERT_VARIABLE(Visibility)
1855 INSERT_VARIABLE(WriteRuntimeDeps) 1868 INSERT_VARIABLE(WriteRuntimeDeps)
1856 } 1869 }
1857 return info_map; 1870 return info_map;
1858 } 1871 }
1859 1872
1860 #undef INSERT_VARIABLE 1873 #undef INSERT_VARIABLE
1861 1874
1862 } // namespace variables 1875 } // namespace variables
OLDNEW
« tools/gn/variables.h ('K') | « tools/gn/variables.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698