Commit b324678
authored
[infra] Split up
Closes: #999
Splits up `package:native_assets_cli` in `package:hooks`, `package:code_assets` and `package:data_assets`.
Renames `package:native_assets_builder` to `package:hooks_runner`.
The dependencies are as follows:
* `hooks` has dev dependencies on `code_assets` and `data_assets` because all the integration tests use these asset types.
* `hooks_runner` has a dependency on `code_assets` due to the kernel-encoding `KernelAssets` which is used to bundle the code-assets asset-mapping in various SDKs.
* `hooks_runner` has a dev dependency on `data_assets` because the integration tests use it.
Versions:
* The split up packages continue numbering from the original version. (It doesn't really matter, we'll need to go to 1.0.0 in the future anyway.)
Internal package structure:
* This PR does not reorganize packages. It moves the files exactly to the same path. This could use cleanup, but let's try to get this PR as small as possible.
CI:
* Two workflows are combined. (This could likely use some cleanup, especially trying to collect coverage across all packages in the workspace instead of a single package at the time.)
Publishing:
* These packages will now need their autopublishing set up. I'll do this after we bump the version to non-wip.
Rolling:
* This will need to be rolled into the Dart and Flutter SDKs. Changing the dependencies there and fixing whatever test setup explicitly mentioning the package names.package:native_assets_cli (#2259)1 parent 7bca903 commit b324678
File tree
521 files changed
+1005
-1099
lines changed- .github
- ISSUE_TEMPLATE
- workflows
- pkgs
- code_assets
- doc/schema
- lib
- src/code_assets
- test
- code_assets
- data
- data_assets
- doc/schema
- lib
- src/data_assets
- test
- data_assets
- data
- hooks_runner
- lib
- src
- build_runner
- dependencies_hash_file
- locking
- model
- package_layout
- utils
- test_data
- add_asset_link
- bin
- hook
- lib
- src
- src
- complex_link_helper
- assets
- hook
- lib
- complex_link
- assets
- bin
- hook
- cyclic_package_1
- hook
- cyclic_package_2
- hook
- dart_app
- bin
- depend_on_fail_build_app
- bin
- depend_on_fail_build
- hook
- lib
- drop_dylib_link
- bin
- hook
- lib
- src
- src
- fail_build
- hook
- lib
- fail_on_os_sdk_version_linker
- hook
- fail_on_os_sdk_version_link
- assets
- hook
- fail_on_os_sdk_version
- hook
- native_add_add_source
- hook
- src
- native_add_add_symbol
- src
- native_add_break_build
- src
- native_add_duplicate
- bin
- hook
- src
- native_add_fix_build
- src
- native_add_version_skew_2
- hook
- native_add_version_skew
- hook
- lib
- src
- src
- test
- native_add
- hook
- lib
- src
- src
- test
- native_dynamic_linking
- bin
- hook
- lib
- src
- test
- native_subtract
- hook
- lib
- src
- src
- no_asset_for_link
- hook
- no_hook
- lib
- package_reading_metadata
- hook
- package_with_metadata
- hook
- relative_path
- assets
- hook
- reusable_dynamic_library
- hook
- lib
- src
- test
- reuse_dynamic_library
- hook
- lib
- src
- test
- simple_data_asset
- assets
- bin
- hook
- simple_link_change_asset
- assets
- simple_link
- assets
- bin
- hook
- some_dev_dep
- bin
- system_library
- hook
- lib
- test
- transformer
- data
- hook
- lib/src
- tool
- treeshaking_native_libs
- bin
- hook
- lib
- src
- src
- test
- use_all_api
- hook
- user_defines
- assets
- bin
- hook
- test
- wrong_build_output_2
- hook
- wrong_build_output_3
- hook
- wrong_build_output
- hook
- wrong_linker
- hook
- wrong_namespace_asset
- hook
- test
- build_runner
- dependencies_hash_file
- locking
- model
- test_data
- hooks
- doc/schema
- example
- build
- download_asset
- hook
- lib
- src/hook_helpers
- src
- test
- tool
- local_asset
- assets
- hook
- test
- native_add_app
- bin
- test
- native_add_library
- hook
- lib
- src
- test
- native_dynamic_linking
- hook
- lib
- src
- test
- system_library
- hook
- lib
- test
- use_dart_api
- hook
- lib
- src
- src
- internal
- test
- link
- app_with_asset_treeshaking
- bin
- lib
- package_with_assets
- assets
- hook
- lib
- lib
- src
- api
- hooks
- utils
- test
- api
- data
- example
- model
- tool
- json_syntax_generator/lib/src/generator
- native_assets_cli
- lib/src/api
- test/api
- native_toolchain_c
- lib/src
- cbuilder
- native_toolchain
- tool
- test
- cbuilder
- clinker
- tool
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
521 files changed
+1005
-1099
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
9 | | - | |
10 | | - | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | | - | |
22 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
35 | | - | |
36 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
37 | 46 | | |
38 | 47 | | |
39 | 48 | | |
| |||
57 | 66 | | |
58 | 67 | | |
59 | 68 | | |
60 | | - | |
| 69 | + | |
61 | 70 | | |
62 | 71 | | |
63 | | - | |
| 72 | + | |
64 | 73 | | |
65 | 74 | | |
66 | 75 | | |
| |||
75 | 84 | | |
76 | 85 | | |
77 | 86 | | |
78 | | - | |
| 87 | + | |
79 | 88 | | |
80 | 89 | | |
81 | 90 | | |
82 | | - | |
| 91 | + | |
83 | 92 | | |
84 | 93 | | |
85 | 94 | | |
86 | | - | |
| 95 | + | |
87 | 96 | | |
88 | 97 | | |
89 | 98 | | |
90 | | - | |
| 99 | + | |
91 | 100 | | |
92 | 101 | | |
93 | 102 | | |
94 | | - | |
| 103 | + | |
95 | 104 | | |
96 | 105 | | |
97 | 106 | | |
98 | | - | |
| 107 | + | |
99 | 108 | | |
100 | 109 | | |
101 | 110 | | |
102 | | - | |
| 111 | + | |
103 | 112 | | |
104 | 113 | | |
105 | 114 | | |
106 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
107 | 124 | | |
108 | 125 | | |
109 | 126 | | |
| |||
0 commit comments