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

Side by Side Diff: tools/gcmole/gcmole.lua

Issue 1748343002: Add include/ to include dir list for gcmole (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | 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 2011 the V8 project authors. All rights reserved. 1 -- Copyright 2011 the V8 project authors. All rights reserved.
2 -- Redistribution and use in source and binary forms, with or without 2 -- Redistribution and use in source and binary forms, with or without
3 -- modification, are permitted provided that the following conditions are 3 -- modification, are permitted provided that the following conditions are
4 -- met: 4 -- met:
5 -- 5 --
6 -- * Redistributions of source code must retain the above copyright 6 -- * Redistributions of source code must retain the above copyright
7 -- notice, this list of conditions and the following disclaimer. 7 -- notice, this list of conditions and the following disclaimer.
8 -- * Redistributions in binary form must reproduce the above 8 -- * Redistributions in binary form must reproduce the above
9 -- copyright notice, this list of conditions and the following 9 -- copyright notice, this list of conditions and the following
10 -- disclaimer in the documentation and/or other materials provided 10 -- disclaimer in the documentation and/or other materials provided
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 end 104 end
105 return CLANG_BIN .. "/clang++ -std=c++11 -c " 105 return CLANG_BIN .. "/clang++ -std=c++11 -c "
106 .. " -Xclang -load -Xclang " .. CLANG_PLUGINS .. "/libgcmole.so" 106 .. " -Xclang -load -Xclang " .. CLANG_PLUGINS .. "/libgcmole.so"
107 .. " -Xclang -plugin -Xclang " .. plugin 107 .. " -Xclang -plugin -Xclang " .. plugin
108 .. (plugin_args or "") 108 .. (plugin_args or "")
109 .. " -Xclang -triple -Xclang " .. triple 109 .. " -Xclang -triple -Xclang " .. triple
110 .. " -D" .. arch_define 110 .. " -D" .. arch_define
111 .. " -DENABLE_DEBUGGER_SUPPORT" 111 .. " -DENABLE_DEBUGGER_SUPPORT"
112 .. " -DV8_I18N_SUPPORT" 112 .. " -DV8_I18N_SUPPORT"
113 .. " -I./" 113 .. " -I./"
114 .. " -Iinclude/"
114 .. " -Ithird_party/icu/source/common" 115 .. " -Ithird_party/icu/source/common"
115 .. " -Ithird_party/icu/source/i18n" 116 .. " -Ithird_party/icu/source/i18n"
116 .. " " .. arch_options 117 .. " " .. arch_options
117 end 118 end
118 119
119 local function IterTable(t) 120 local function IterTable(t)
120 return coroutine.wrap(function () 121 return coroutine.wrap(function ()
121 for i, v in ipairs(t) do 122 for i, v in ipairs(t) do
122 coroutine.yield(v) 123 coroutine.yield(v)
123 end 124 end
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 443
443 for _, arch in ipairs(ARCHS) do 444 for _, arch in ipairs(ARCHS) do
444 if not ARCHITECTURES[arch] then 445 if not ARCHITECTURES[arch] then
445 error ("Unknown arch: " .. arch) 446 error ("Unknown arch: " .. arch)
446 end 447 end
447 448
448 errors = SafeCheckCorrectnessForArch(arch, report) or errors 449 errors = SafeCheckCorrectnessForArch(arch, report) or errors
449 end 450 end
450 451
451 os.exit(errors and 1 or 0) 452 os.exit(errors and 1 or 0)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698