|
395 | 395 | <OutFile>$(PySourcePath)Python\frozen_modules\getpath.h</OutFile>
|
396 | 396 | </GetPath>
|
397 | 397 | </ItemGroup>
|
| 398 | + <ItemGroup> |
| 399 | + <!-- BEGIN freeze mappings --> |
| 400 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\importlib._bootstrap.h" FrozenId="importlib._bootstrap" /> |
| 401 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\importlib._bootstrap_external.h" FrozenId="importlib._bootstrap_external" /> |
| 402 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\zipimport.h" FrozenId="zipimport" /> |
| 403 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\abc.h" FrozenId="abc" /> |
| 404 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\codecs.h" FrozenId="codecs" /> |
| 405 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\io.h" FrozenId="io" /> |
| 406 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\_collections_abc.h" FrozenId="_collections_abc" /> |
| 407 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\_sitebuiltins.h" FrozenId="_sitebuiltins" /> |
| 408 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\genericpath.h" FrozenId="genericpath" /> |
| 409 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\ntpath.h" FrozenId="ntpath" /> |
| 410 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\posixpath.h" FrozenId="posixpath" /> |
| 411 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\os.h" FrozenId="os" /> |
| 412 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\site.h" FrozenId="site" /> |
| 413 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\stat.h" FrozenId="stat" /> |
| 414 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\importlib.util.h" FrozenId="importlib.util" /> |
| 415 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\importlib.machinery.h" FrozenId="importlib.machinery" /> |
| 416 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\runpy.h" FrozenId="runpy" /> |
| 417 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\__hello__.h" FrozenId="__hello__" /> |
| 418 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\__phello__.h" FrozenId="__phello__" /> |
| 419 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\__phello__.ham.h" FrozenId="__phello__.ham" /> |
| 420 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\__phello__.ham.eggs.h" FrozenId="__phello__.ham.eggs" /> |
| 421 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\__phello__.spam.h" FrozenId="__phello__.spam" /> |
| 422 | + <FrozenModule Include="$(PySourcePath)\Python\frozen_modules\frozen_only.h" FrozenId="frozen_only" /> |
| 423 | + <!-- END freeze mappings --> |
| 424 | + </ItemGroup> |
398 | 425 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
399 | 426 | <ImportGroup Label="ExtensionTargets">
|
400 | 427 | </ImportGroup>
|
|
426 | 453 | AfterTargets="_RebuildFrozen"
|
427 | 454 | DependsOnTargets="FindPythonForBuild"
|
428 | 455 | Condition="$(Configuration) != 'PGUpdate'">
|
| 456 | + <PropertyGroup> |
| 457 | + <FreezeMappingsFile> |
| 458 | + <!-- BEGIN freeze mapping file --> |
| 459 | +$(IntDir)\deepfreeze_mappings.txt |
| 460 | + <!-- END freeze mapping file --> |
| 461 | + </FreezeMappingsFile> |
| 462 | + </PropertyGroup> |
| 463 | + <WriteLinesToFile |
| 464 | + File="$(FreezeMappingsFile)" |
| 465 | + Overwrite="true" |
| 466 | + Lines="@(FrozenModule->'%(FullPath):%(FrozenId)')" /> |
429 | 467 | <!-- BEGIN deepfreeze rule -->
|
430 |
| - <Exec Command='$(PythonForBuild) "$(PySourcePath)Tools\build\deepfreeze.py" ^ |
431 |
| - "$(PySourcePath)Python\frozen_modules\importlib._bootstrap.h:importlib._bootstrap" ^ |
432 |
| - "$(PySourcePath)Python\frozen_modules\importlib._bootstrap_external.h:importlib._bootstrap_external" ^ |
433 |
| - "$(PySourcePath)Python\frozen_modules\zipimport.h:zipimport" ^ |
434 |
| - "$(PySourcePath)Python\frozen_modules\abc.h:abc" ^ |
435 |
| - "$(PySourcePath)Python\frozen_modules\codecs.h:codecs" ^ |
436 |
| - "$(PySourcePath)Python\frozen_modules\io.h:io" ^ |
437 |
| - "$(PySourcePath)Python\frozen_modules\_collections_abc.h:_collections_abc" ^ |
438 |
| - "$(PySourcePath)Python\frozen_modules\_sitebuiltins.h:_sitebuiltins" ^ |
439 |
| - "$(PySourcePath)Python\frozen_modules\genericpath.h:genericpath" ^ |
440 |
| - "$(PySourcePath)Python\frozen_modules\ntpath.h:ntpath" ^ |
441 |
| - "$(PySourcePath)Python\frozen_modules\posixpath.h:posixpath" ^ |
442 |
| - "$(PySourcePath)Python\frozen_modules\os.h:os" ^ |
443 |
| - "$(PySourcePath)Python\frozen_modules\site.h:site" ^ |
444 |
| - "$(PySourcePath)Python\frozen_modules\stat.h:stat" ^ |
445 |
| - "$(PySourcePath)Python\frozen_modules\importlib.util.h:importlib.util" ^ |
446 |
| - "$(PySourcePath)Python\frozen_modules\importlib.machinery.h:importlib.machinery" ^ |
447 |
| - "$(PySourcePath)Python\frozen_modules\runpy.h:runpy" ^ |
448 |
| - "$(PySourcePath)Python\frozen_modules\__hello__.h:__hello__" ^ |
449 |
| - "$(PySourcePath)Python\frozen_modules\__phello__.h:__phello__" ^ |
450 |
| - "$(PySourcePath)Python\frozen_modules\__phello__.ham.h:__phello__.ham" ^ |
451 |
| - "$(PySourcePath)Python\frozen_modules\__phello__.ham.eggs.h:__phello__.ham.eggs" ^ |
452 |
| - "$(PySourcePath)Python\frozen_modules\__phello__.spam.h:__phello__.spam" ^ |
453 |
| - "$(PySourcePath)Python\frozen_modules\frozen_only.h:frozen_only" ^ |
454 |
| - "-o" "$(PySourcePath)Python\deepfreeze\deepfreeze.c"'/> |
| 468 | + <Exec Command='$(PythonForBuild) "$(PySourcePath)Tools\build\deepfreeze.py" -f "$(IntDir)\deepfreeze_mappings.txt" -o "$(PySourcePath)Python\deepfreeze\deepfreeze.c"' /> |
455 | 469 | <!-- END deepfreeze rule -->
|
456 | 470 | </Target>
|
457 | 471 | <Target Name="_CleanFrozen" BeforeTargets="CoreClean" Condition="$(Configuration) != 'PGUpdate'">
|
|
0 commit comments