Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit ead6ddb

Browse files
committed
Move tonic into //flutter/third_party.
Tonic used to be used by multiple consumers outside of Flutter Engine. Due to this, it has an unnecessary abstraction layer as well as utilities duplicated in FML and other engine subsystems. The sole user of Tonic is now the Flutter Engine. It is intended that the Flutter Engine team now owns this subsystem, remove unnecessary utilities and document the headers. This is the first step in the transition. No history is being imported as the initial history was already lost in the transition of this component to fuchsia.googlesource. As this component was unmaintained there, I could see no additional value in importing the history of the patches there. No functional change. Just moved the repo from //third_party to //flutter/third_party and updates GN refs.
1 parent 6fa1fcd commit ead6ddb

File tree

101 files changed

+5236
-401
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+5236
-401
lines changed

DEPS

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,6 @@ deps = {
145145
# build. Eventually, we'll manage these dependencies together with Fuchsia
146146
# and not have to specific specific hashes.
147147

148-
'src/third_party/tonic':
149-
Var('fuchsia_git') + '/tonic' + '@' + '1a8ed9be2e2b56b32e888266d6db465d36012df4',
150-
151148
'src/third_party/benchmark':
152149
Var('fuchsia_git') + '/third_party/benchmark' + '@' + 'a779ffce872b4c811beef482e18bd0b63626aa42',
153150

ci/licenses_golden/licenses_flutter

Lines changed: 95 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1497,4 +1497,98 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14971497
See the License for the specific language governing permissions and
14981498
limitations under the License.
14991499
====================================================================================================
1500-
Total license count: 2
1500+
1501+
====================================================================================================
1502+
LIBRARY: tonic
1503+
ORIGIN: ../../../flutter/third_party/tonic/LICENSE
1504+
TYPE: LicenseType.bsd
1505+
FILE: ../../../flutter/third_party/tonic/common/build_config.h
1506+
FILE: ../../../flutter/third_party/tonic/common/log.cc
1507+
FILE: ../../../flutter/third_party/tonic/common/log.h
1508+
FILE: ../../../flutter/third_party/tonic/common/macros.h
1509+
FILE: ../../../flutter/third_party/tonic/converter/dart_converter.cc
1510+
FILE: ../../../flutter/third_party/tonic/converter/dart_converter.h
1511+
FILE: ../../../flutter/third_party/tonic/dart_args.h
1512+
FILE: ../../../flutter/third_party/tonic/dart_binding_macros.h
1513+
FILE: ../../../flutter/third_party/tonic/dart_class_library.cc
1514+
FILE: ../../../flutter/third_party/tonic/dart_class_library.h
1515+
FILE: ../../../flutter/third_party/tonic/dart_class_provider.cc
1516+
FILE: ../../../flutter/third_party/tonic/dart_class_provider.h
1517+
FILE: ../../../flutter/third_party/tonic/dart_library_natives.cc
1518+
FILE: ../../../flutter/third_party/tonic/dart_library_natives.h
1519+
FILE: ../../../flutter/third_party/tonic/dart_list.cc
1520+
FILE: ../../../flutter/third_party/tonic/dart_list.h
1521+
FILE: ../../../flutter/third_party/tonic/dart_message_handler.cc
1522+
FILE: ../../../flutter/third_party/tonic/dart_message_handler.h
1523+
FILE: ../../../flutter/third_party/tonic/dart_microtask_queue.cc
1524+
FILE: ../../../flutter/third_party/tonic/dart_microtask_queue.h
1525+
FILE: ../../../flutter/third_party/tonic/dart_persistent_value.cc
1526+
FILE: ../../../flutter/third_party/tonic/dart_persistent_value.h
1527+
FILE: ../../../flutter/third_party/tonic/dart_state.cc
1528+
FILE: ../../../flutter/third_party/tonic/dart_state.h
1529+
FILE: ../../../flutter/third_party/tonic/dart_wrappable.cc
1530+
FILE: ../../../flutter/third_party/tonic/dart_wrappable.h
1531+
FILE: ../../../flutter/third_party/tonic/dart_wrapper_info.h
1532+
FILE: ../../../flutter/third_party/tonic/file_loader/file_loader.cc
1533+
FILE: ../../../flutter/third_party/tonic/file_loader/file_loader.h
1534+
FILE: ../../../flutter/third_party/tonic/file_loader/file_loader_fuchsia.cc
1535+
FILE: ../../../flutter/third_party/tonic/file_loader/file_loader_posix.cc
1536+
FILE: ../../../flutter/third_party/tonic/file_loader/file_loader_win.cc
1537+
FILE: ../../../flutter/third_party/tonic/filesystem/filesystem/eintr_wrapper.h
1538+
FILE: ../../../flutter/third_party/tonic/filesystem/filesystem/file.cc
1539+
FILE: ../../../flutter/third_party/tonic/filesystem/filesystem/file.h
1540+
FILE: ../../../flutter/third_party/tonic/filesystem/filesystem/path.h
1541+
FILE: ../../../flutter/third_party/tonic/filesystem/filesystem/path_posix.cc
1542+
FILE: ../../../flutter/third_party/tonic/filesystem/filesystem/path_win.cc
1543+
FILE: ../../../flutter/third_party/tonic/filesystem/filesystem/portable_unistd.h
1544+
FILE: ../../../flutter/third_party/tonic/logging/dart_error.cc
1545+
FILE: ../../../flutter/third_party/tonic/logging/dart_error.h
1546+
FILE: ../../../flutter/third_party/tonic/logging/dart_invoke.cc
1547+
FILE: ../../../flutter/third_party/tonic/logging/dart_invoke.h
1548+
FILE: ../../../flutter/third_party/tonic/parsers/packages_map.cc
1549+
FILE: ../../../flutter/third_party/tonic/parsers/packages_map.h
1550+
FILE: ../../../flutter/third_party/tonic/platform/platform_utils.h
1551+
FILE: ../../../flutter/third_party/tonic/platform/platform_utils_posix.cc
1552+
FILE: ../../../flutter/third_party/tonic/platform/platform_utils_win.cc
1553+
FILE: ../../../flutter/third_party/tonic/scopes/dart_api_scope.h
1554+
FILE: ../../../flutter/third_party/tonic/scopes/dart_isolate_scope.cc
1555+
FILE: ../../../flutter/third_party/tonic/scopes/dart_isolate_scope.h
1556+
FILE: ../../../flutter/third_party/tonic/typed_data/dart_byte_data.cc
1557+
FILE: ../../../flutter/third_party/tonic/typed_data/dart_byte_data.h
1558+
FILE: ../../../flutter/third_party/tonic/typed_data/float32_list.h
1559+
FILE: ../../../flutter/third_party/tonic/typed_data/float64_list.h
1560+
FILE: ../../../flutter/third_party/tonic/typed_data/int32_list.h
1561+
FILE: ../../../flutter/third_party/tonic/typed_data/typed_list.cc
1562+
FILE: ../../../flutter/third_party/tonic/typed_data/typed_list.h
1563+
FILE: ../../../flutter/third_party/tonic/typed_data/uint16_list.h
1564+
FILE: ../../../flutter/third_party/tonic/typed_data/uint8_list.h
1565+
----------------------------------------------------------------------------------------------------
1566+
Copyright 2013 The Flutter Authors. All rights reserved.
1567+
1568+
Redistribution and use in source and binary forms, with or without
1569+
modification, are permitted provided that the following conditions are
1570+
met:
1571+
1572+
* Redistributions of source code must retain the above copyright
1573+
notice, this list of conditions and the following disclaimer.
1574+
* Redistributions in binary form must reproduce the above
1575+
copyright notice, this list of conditions and the following disclaimer
1576+
in the documentation and/or other materials provided with the
1577+
distribution.
1578+
* Neither the name of Google Inc. nor the names of its
1579+
contributors may be used to endorse or promote products derived from
1580+
this software without specific prior written permission.
1581+
1582+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1583+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1584+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1585+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1586+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1587+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1588+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1589+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1590+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1591+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1592+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1593+
====================================================================================================
1594+
Total license count: 3

0 commit comments

Comments
 (0)