Lines Matching refs:cmd

101   std::vector<std::string> cmd = { "versioner" };  in generateTargetCC1Flags()  local
103 cmd.push_back("-std=gnu++11"); in generateTargetCC1Flags()
104 cmd.push_back("-x"); in generateTargetCC1Flags()
105 cmd.push_back("c++"); in generateTargetCC1Flags()
107 cmd.push_back("-std=gnu11"); in generateTargetCC1Flags()
108 cmd.push_back("-x"); in generateTargetCC1Flags()
109 cmd.push_back("c"); in generateTargetCC1Flags()
112 cmd.push_back("-fsyntax-only"); in generateTargetCC1Flags()
114 cmd.push_back("-Wall"); in generateTargetCC1Flags()
115 cmd.push_back("-Wextra"); in generateTargetCC1Flags()
116 cmd.push_back("-Weverything"); in generateTargetCC1Flags()
117 cmd.push_back("-Werror"); in generateTargetCC1Flags()
118 cmd.push_back("-Wundef"); in generateTargetCC1Flags()
119 cmd.push_back("-Wno-unused-macros"); in generateTargetCC1Flags()
120 cmd.push_back("-Wno-unused-function"); in generateTargetCC1Flags()
121 cmd.push_back("-Wno-unused-variable"); in generateTargetCC1Flags()
122 cmd.push_back("-Wno-unknown-attributes"); in generateTargetCC1Flags()
123 cmd.push_back("-Wno-pragma-once-outside-header"); in generateTargetCC1Flags()
125 cmd.push_back("-target"); in generateTargetCC1Flags()
126 cmd.push_back(arch_targets[type.arch]); in generateTargetCC1Flags()
128 cmd.push_back("-DANDROID"); in generateTargetCC1Flags()
129 cmd.push_back("-D__BIONIC_VERSIONER=1"); in generateTargetCC1Flags()
130 cmd.push_back("-D__ANDROID_API__="s + std::to_string(type.api_level)); in generateTargetCC1Flags()
131 cmd.push_back("-D_FORTIFY_SOURCE=2"); in generateTargetCC1Flags()
132 cmd.push_back("-D_GNU_SOURCE"); in generateTargetCC1Flags()
133 cmd.push_back("-D_FILE_OFFSET_BITS="s + std::to_string(type.file_offset_bits)); in generateTargetCC1Flags()
135 cmd.push_back("-nostdinc"); in generateTargetCC1Flags()
138 cmd.push_back("-include"); in generateTargetCC1Flags()
139 cmd.push_back("android/versioning.h"); in generateTargetCC1Flags()
143 cmd.push_back("-isystem"); in generateTargetCC1Flags()
144 cmd.push_back(dir); in generateTargetCC1Flags()
147 cmd.push_back("-include"); in generateTargetCC1Flags()
148 cmd.push_back(filename_placeholder); in generateTargetCC1Flags()
149 cmd.push_back("-"); in generateTargetCC1Flags()
156 for (const std::string& str : cmd) { in generateTargetCC1Flags()