Fix SplitSource.php.
GitOrigin-RevId: e5853e450281acfcfb91730f4627585814f6c083
This commit is contained in:
parent
2ed9cb3b75
commit
5bb97658eb
@ -39,9 +39,9 @@ function split_file($file, $chunks, $undo) {
|
|||||||
$cmake_new_files = $new_files;
|
$cmake_new_files = $new_files;
|
||||||
if ($is_generated) {
|
if ($is_generated) {
|
||||||
foreach ($cmake_new_files as &$file_ref) {
|
foreach ($cmake_new_files as &$file_ref) {
|
||||||
$file_ref = str_replace('td/generate', '${CMAKE_CURRENT_SOURCE_DIR}', $file_ref);
|
$file_ref = str_replace('td/generate/auto/td', '${TD_AUTO_INCLUDE_DIR}', $file_ref);
|
||||||
}
|
}
|
||||||
$cmake_cpp_name = str_replace('td/generate', '${CMAKE_CURRENT_SOURCE_DIR}', $cmake_cpp_name);
|
$cmake_cpp_name = str_replace('td/generate/auto/td', '${TD_AUTO_INCLUDE_DIR}', $cmake_cpp_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($undo) {
|
if ($undo) {
|
||||||
|
Loading…
Reference in New Issue
Block a user