提交 65020902 编写于 作者: G George Kulakowski 提交者: GitHub

Fix remaining ftl->fxl conversions (#4091)

* Fix remaining ftl->fxl conversions

The previous scripting pass at this did not account for objective c file endings

* Update tonic DEPS reference to the post-fxl version
上级 3aa7522c
...@@ -45,7 +45,7 @@ group("flutter") { ...@@ -45,7 +45,7 @@ group("flutter") {
"//flutter/synchronization:synchronization_unittests", "//flutter/synchronization:synchronization_unittests",
"//flutter/third_party/txt:txt_benchmarks", "//flutter/third_party/txt:txt_benchmarks",
"//flutter/third_party/txt:txt_unittests", "//flutter/third_party/txt:txt_unittests",
"//garnet/public/lib/ftl:ftl_unittests", "//garnet/public/lib/fxl:fxl_unittests",
] ]
} }
} }
......
...@@ -125,7 +125,7 @@ deps = { ...@@ -125,7 +125,7 @@ deps = {
Var('fuchsia_git') + '/garnet' + '@' + '954225c071a8e44e83e9b0da4d3972771a5ed03a', Var('fuchsia_git') + '/garnet' + '@' + '954225c071a8e44e83e9b0da4d3972771a5ed03a',
'src/lib/tonic': 'src/lib/tonic':
Var('fuchsia_git') + '/tonic' + '@' + 'fca532244483192e961cb826d9d0c05947cf288c', Var('fuchsia_git') + '/tonic' + '@' + 'ce1c9992ddefb940f549e6a9f94252ef2963dd2e',
'src/third_party/benchmark': 'src/third_party/benchmark':
Var('fuchsia_git') + '/third_party/benchmark' + '@' + '296537bc48d380adf21567c5d736ab79f5363d22', Var('fuchsia_git') + '/third_party/benchmark' + '@' + '296537bc48d380adf21567c5d736ab79f5363d22',
......
...@@ -14,7 +14,7 @@ source_set("assets") { ...@@ -14,7 +14,7 @@ source_set("assets") {
deps = [ deps = [
"//flutter/glue", "//flutter/glue",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//garnet/public/lib/zip", "//garnet/public/lib/zip",
] ]
......
...@@ -17,7 +17,7 @@ source_set("common") { ...@@ -17,7 +17,7 @@ source_set("common") {
] ]
deps = [ deps = [
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
] ]
public_configs = [ ":flutter_config" ] public_configs = [ ":flutter_config" ]
......
...@@ -25,7 +25,7 @@ source_set("fml") { ...@@ -25,7 +25,7 @@ source_set("fml") {
deps = [ deps = [
"//dart/runtime:dart_api", "//dart/runtime:dart_api",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
# These need to be in sync with the Fuchsia buildroot. # These need to be in sync with the Fuchsia buildroot.
"//third_party/icu", "//third_party/icu",
...@@ -113,6 +113,6 @@ executable("fml_unittests") { ...@@ -113,6 +113,6 @@ executable("fml_unittests") {
"//dart/runtime:libdart_jit", "//dart/runtime:libdart_jit",
"//flutter/fml", "//flutter/fml",
"//flutter/testing", "//flutter/testing",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
] ]
} }
...@@ -13,7 +13,7 @@ static constexpr CFTimeInterval kDistantFuture = 1.0e10; ...@@ -13,7 +13,7 @@ static constexpr CFTimeInterval kDistantFuture = 1.0e10;
MessageLoopDarwin::MessageLoopDarwin() MessageLoopDarwin::MessageLoopDarwin()
: running_(false), loop_((CFRunLoopRef)CFRetain(CFRunLoopGetCurrent())) { : running_(false), loop_((CFRunLoopRef)CFRetain(CFRunLoopGetCurrent())) {
FTL_DCHECK(loop_ != nullptr); FXL_DCHECK(loop_ != nullptr);
// Setup the delayed wake source. // Setup the delayed wake source.
CFRunLoopTimerContext timer_context = { CFRunLoopTimerContext timer_context = {
...@@ -25,7 +25,7 @@ MessageLoopDarwin::MessageLoopDarwin() ...@@ -25,7 +25,7 @@ MessageLoopDarwin::MessageLoopDarwin()
reinterpret_cast<CFRunLoopTimerCallBack>(&MessageLoopDarwin::OnTimerFire) reinterpret_cast<CFRunLoopTimerCallBack>(&MessageLoopDarwin::OnTimerFire)
/* callout */, /* callout */,
&timer_context /* context */)); &timer_context /* context */));
FTL_DCHECK(delayed_wake_timer_ != nullptr); FXL_DCHECK(delayed_wake_timer_ != nullptr);
CFRunLoopAddTimer(loop_, delayed_wake_timer_, kCFRunLoopCommonModes); CFRunLoopAddTimer(loop_, delayed_wake_timer_, kCFRunLoopCommonModes);
} }
...@@ -35,7 +35,7 @@ MessageLoopDarwin::~MessageLoopDarwin() { ...@@ -35,7 +35,7 @@ MessageLoopDarwin::~MessageLoopDarwin() {
} }
void MessageLoopDarwin::Run() { void MessageLoopDarwin::Run() {
FTL_DCHECK(loop_ == CFRunLoopGetCurrent()); FXL_DCHECK(loop_ == CFRunLoopGetCurrent());
running_ = true; running_ = true;
...@@ -59,12 +59,12 @@ void MessageLoopDarwin::Terminate() { ...@@ -59,12 +59,12 @@ void MessageLoopDarwin::Terminate() {
CFRunLoopStop(loop_); CFRunLoopStop(loop_);
} }
void MessageLoopDarwin::WakeUp(ftl::TimePoint time_point) { void MessageLoopDarwin::WakeUp(fxl::TimePoint time_point) {
// Rearm the timer. The time bases used by CoreFoundation and FTL are // Rearm the timer. The time bases used by CoreFoundation and FXL are
// different and must be accounted for. // different and must be accounted for.
CFRunLoopTimerSetNextFireDate( CFRunLoopTimerSetNextFireDate(
delayed_wake_timer_, delayed_wake_timer_,
CFAbsoluteTimeGetCurrent() + (time_point - ftl::TimePoint::Now()).ToSecondsF()); CFAbsoluteTimeGetCurrent() + (time_point - fxl::TimePoint::Now()).ToSecondsF());
} }
void MessageLoopDarwin::OnTimerFire(CFRunLoopTimerRef timer, MessageLoopDarwin* loop) { void MessageLoopDarwin::OnTimerFire(CFRunLoopTimerRef timer, MessageLoopDarwin* loop) {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <Foundation/Foundation.h> #include <Foundation/Foundation.h>
#include "lib/ftl/files/path.h" #include "lib/fxl/files/path.h"
namespace fml { namespace fml {
namespace paths { namespace paths {
......
...@@ -9,7 +9,7 @@ source_set("glue") { ...@@ -9,7 +9,7 @@ source_set("glue") {
] ]
deps = [ deps = [
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
] ]
if (is_fuchsia) { if (is_fuchsia) {
......
...@@ -11,7 +11,7 @@ source_set("io") { ...@@ -11,7 +11,7 @@ source_set("io") {
deps = [ deps = [
"//dart/runtime:dart_api", "//dart/runtime:dart_api",
"//dart/runtime/bin:embedded_dart_io", "//dart/runtime/bin:embedded_dart_io",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//lib/tonic/converter", "//lib/tonic/converter",
] ]
} }
...@@ -79,7 +79,7 @@ source_set("runtime") { ...@@ -79,7 +79,7 @@ source_set("runtime") {
"//flutter/lib/io", "//flutter/lib/io",
"//flutter/lib/ui", "//flutter/lib/ui",
"//flutter/sky/engine/platform", "//flutter/sky/engine/platform",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//lib/tonic", "//lib/tonic",
"//third_party/rapidjson", "//third_party/rapidjson",
"//third_party/skia", "//third_party/skia",
......
...@@ -113,7 +113,7 @@ source_set("common") { ...@@ -113,7 +113,7 @@ source_set("common") {
"//flutter/sky/engine/wtf", "//flutter/sky/engine/wtf",
"//flutter/synchronization", "//flutter/synchronization",
"//flutter/third_party/txt", "//flutter/third_party/txt",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//lib/tonic", "//lib/tonic",
"//third_party/rapidjson", "//third_party/rapidjson",
"//third_party/skia", "//third_party/skia",
......
...@@ -27,7 +27,7 @@ source_set("gpu") { ...@@ -27,7 +27,7 @@ source_set("gpu") {
"//flutter/glue", "//flutter/glue",
"//flutter/shell/common", "//flutter/shell/common",
"//flutter/synchronization", "//flutter/synchronization",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//third_party/skia", "//third_party/skia",
"//third_party/skia:gpu", "//third_party/skia:gpu",
] ]
......
...@@ -44,7 +44,7 @@ shared_library("flutter_shell_native") { ...@@ -44,7 +44,7 @@ shared_library("flutter_shell_native") {
"//flutter/runtime", "//flutter/runtime",
"//flutter/shell/common", "//flutter/shell/common",
"//flutter/shell/gpu", "//flutter/shell/gpu",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//third_party/skia", "//third_party/skia",
] ]
if (flutter_runtime_mode == "debug") { if (flutter_runtime_mode == "debug") {
......
...@@ -47,7 +47,7 @@ source_set("flutter_channels") { ...@@ -47,7 +47,7 @@ source_set("flutter_channels") {
"//flutter/shell/gpu", "//flutter/shell/gpu",
"//flutter/shell/testing", "//flutter/shell/testing",
"//flutter/sky/engine/wtf", "//flutter/sky/engine/wtf",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//third_party/skia", "//third_party/skia",
] ]
} }
......
...@@ -26,7 +26,7 @@ source_set("common") { ...@@ -26,7 +26,7 @@ source_set("common") {
"//flutter/shell/gpu", "//flutter/shell/gpu",
"//flutter/shell/testing", "//flutter/shell/testing",
"//flutter/sky/engine/wtf", "//flutter/sky/engine/wtf",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//third_party/skia", "//third_party/skia",
] ]
} }
...@@ -14,19 +14,19 @@ ...@@ -14,19 +14,19 @@
#include "flutter/shell/common/switches.h" #include "flutter/shell/common/switches.h"
#include "flutter/shell/common/tracing_controller.h" #include "flutter/shell/common/tracing_controller.h"
#include "flutter/sky/engine/wtf/MakeUnique.h" #include "flutter/sky/engine/wtf/MakeUnique.h"
#include "lib/ftl/command_line.h" #include "lib/fxl/command_line.h"
#include "lib/ftl/strings/string_view.h" #include "lib/fxl/strings/string_view.h"
namespace shell { namespace shell {
static ftl::CommandLine InitializedCommandLine() { static fxl::CommandLine InitializedCommandLine() {
std::vector<std::string> args_vector; std::vector<std::string> args_vector;
for (NSString* arg in [NSProcessInfo processInfo].arguments) { for (NSString* arg in [NSProcessInfo processInfo].arguments) {
args_vector.emplace_back(arg.UTF8String); args_vector.emplace_back(arg.UTF8String);
} }
return ftl::CommandLineFromIterators(args_vector.begin(), args_vector.end()); return fxl::CommandLineFromIterators(args_vector.begin(), args_vector.end());
} }
class EmbedderState { class EmbedderState {
...@@ -37,7 +37,7 @@ class EmbedderState { ...@@ -37,7 +37,7 @@ class EmbedderState {
// See https://github.com/flutter/flutter/issues/4006 // See https://github.com/flutter/flutter/issues/4006
blink::engine_main_enter_ts = Dart_TimelineGetMicros(); blink::engine_main_enter_ts = Dart_TimelineGetMicros();
#endif #endif
FTL_DCHECK([NSThread isMainThread]) FXL_DCHECK([NSThread isMainThread])
<< "Embedder initialization must occur on the main platform thread"; << "Embedder initialization must occur on the main platform thread";
auto command_line = InitializedCommandLine(); auto command_line = InitializedCommandLine();
...@@ -52,7 +52,7 @@ class EmbedderState { ...@@ -52,7 +52,7 @@ class EmbedderState {
~EmbedderState() {} ~EmbedderState() {}
private: private:
FTL_DISALLOW_COPY_AND_ASSIGN(EmbedderState); FXL_DISALLOW_COPY_AND_ASSIGN(EmbedderState);
}; };
void PlatformMacMain(std::string icu_data_path, std::string application_library_path) { void PlatformMacMain(std::string icu_data_path, std::string application_library_path) {
...@@ -92,7 +92,7 @@ static bool FlagsValidForCommandLineLaunch(const std::string& bundle_path, ...@@ -92,7 +92,7 @@ static bool FlagsValidForCommandLineLaunch(const std::string& bundle_path,
return true; return true;
} }
static std::string ResolveCommandLineLaunchFlag(const ftl::StringView name) { static std::string ResolveCommandLineLaunchFlag(const fxl::StringView name) {
const auto& command_line = shell::Shell::Shared().GetCommandLine(); const auto& command_line = shell::Shell::Shared().GetCommandLine();
std::string command_line_option; std::string command_line_option;
......
...@@ -30,7 +30,7 @@ source_set("mac_desktop_platform") { ...@@ -30,7 +30,7 @@ source_set("mac_desktop_platform") {
"//flutter/shell/platform/darwin/common", "//flutter/shell/platform/darwin/common",
"//flutter/shell/testing", "//flutter/shell/testing",
"//flutter/synchronization", "//flutter/synchronization",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//third_party/skia", "//third_party/skia",
] ]
} }
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
#include "flutter/shell/platform/darwin/common/platform_mac.h" #include "flutter/shell/platform/darwin/common/platform_mac.h"
#include "flutter/shell/platform/darwin/common/process_info_mac.h" #include "flutter/shell/platform/darwin/common/process_info_mac.h"
#include "flutter/shell/platform/darwin/desktop/vsync_waiter_mac.h" #include "flutter/shell/platform/darwin/desktop/vsync_waiter_mac.h"
#include "lib/ftl/command_line.h" #include "lib/fxl/command_line.h"
#include "lib/ftl/synchronization/waitable_event.h" #include "lib/fxl/synchronization/waitable_event.h"
namespace shell { namespace shell {
...@@ -146,7 +146,7 @@ bool PlatformViewMac::IsValid() const { ...@@ -146,7 +146,7 @@ bool PlatformViewMac::IsValid() const {
void PlatformViewMac::RunFromSource(const std::string& assets_directory, void PlatformViewMac::RunFromSource(const std::string& assets_directory,
const std::string& main, const std::string& main,
const std::string& packages) { const std::string& packages) {
auto latch = new ftl::ManualResetWaitableEvent(); auto latch = new fxl::ManualResetWaitableEvent();
dispatch_async(dispatch_get_main_queue(), ^{ dispatch_async(dispatch_get_main_queue(), ^{
SetupAndLoadFromSource(assets_directory, main, packages); SetupAndLoadFromSource(assets_directory, main, packages);
......
...@@ -75,7 +75,7 @@ shared_library("flutter_framework_dylib") { ...@@ -75,7 +75,7 @@ shared_library("flutter_framework_dylib") {
"//flutter/shell/platform/darwin/common", "//flutter/shell/platform/darwin/common",
"//flutter/sky/engine/platform", "//flutter/sky/engine/platform",
"//flutter/sky/engine/wtf", "//flutter/sky/engine/wtf",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//third_party/skia", "//third_party/skia",
] ]
if (flutter_runtime_mode == "debug") { if (flutter_runtime_mode == "debug") {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include "flutter/shell/platform/darwin/ios/framework/Headers/FlutterAppDelegate.h" #include "flutter/shell/platform/darwin/ios/framework/Headers/FlutterAppDelegate.h"
#include "flutter/shell/platform/darwin/ios/framework/Headers/FlutterViewController.h" #include "flutter/shell/platform/darwin/ios/framework/Headers/FlutterViewController.h"
#include "lib/ftl/logging.h" #include "lib/fxl/logging.h"
@interface FlutterAppDelegate () @interface FlutterAppDelegate ()
@property(readonly, nonatomic) NSMutableArray* pluginDelegates; @property(readonly, nonatomic) NSMutableArray* pluginDelegates;
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
_debugBackgroundTask = [application _debugBackgroundTask = [application
beginBackgroundTaskWithName:@"Flutter debug task" beginBackgroundTaskWithName:@"Flutter debug task"
expirationHandler:^{ expirationHandler:^{
FTL_LOG(WARNING) FXL_LOG(WARNING)
<< "\nThe OS has terminated the Flutter debug connection for being " << "\nThe OS has terminated the Flutter debug connection for being "
"inactive in the background for too long.\n\n" "inactive in the background for too long.\n\n"
"There are no errors with your Flutter application.\n\n" "There are no errors with your Flutter application.\n\n"
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
#include "flutter/shell/common/switches.h" #include "flutter/shell/common/switches.h"
#include "flutter/shell/platform/darwin/ios/framework/Source/FlutterDartSource.h" #include "flutter/shell/platform/darwin/ios/framework/Source/FlutterDartSource.h"
#include "flutter/shell/platform/darwin/ios/framework/Source/flutter_main_ios.h" #include "flutter/shell/platform/darwin/ios/framework/Source/flutter_main_ios.h"
#include "lib/ftl/strings/string_view.h" #include "lib/fxl/strings/string_view.h"
static NSURL* URLForSwitch(const ftl::StringView name) { static NSURL* URLForSwitch(const fxl::StringView name) {
const auto& cmd = shell::Shell::Shared().GetCommandLine(); const auto& cmd = shell::Shell::Shared().GetCommandLine();
NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults]; NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults];
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include "flutter/flow/layers/layer_tree.h" #include "flutter/flow/layers/layer_tree.h"
#include "flutter/shell/common/rasterizer.h" #include "flutter/shell/common/rasterizer.h"
#include "flutter/shell/common/shell.h" #include "flutter/shell/common/shell.h"
#include "lib/ftl/synchronization/waitable_event.h" #include "lib/fxl/synchronization/waitable_event.h"
#include "third_party/skia/include/utils/mac/SkCGUtils.h" #include "third_party/skia/include/utils/mac/SkCGUtils.h"
@interface FlutterView ()<UIInputViewAudioFeedback> @interface FlutterView ()<UIInputViewAudioFeedback>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
return YES; return YES;
} }
void SnapshotRasterizer(ftl::WeakPtr<shell::Rasterizer> rasterizer, void SnapshotRasterizer(fxl::WeakPtr<shell::Rasterizer> rasterizer,
CGContextRef context, CGContextRef context,
bool is_opaque) { bool is_opaque) {
if (!rasterizer) { if (!rasterizer) {
...@@ -94,7 +94,7 @@ void SnapshotContents(CGContextRef context, bool is_opaque) { ...@@ -94,7 +94,7 @@ void SnapshotContents(CGContextRef context, bool is_opaque) {
// platform view. So use that. Once we support multiple platform views, the // platform view. So use that. Once we support multiple platform views, the
// shell will need to provide a way to get the rasterizer for a specific // shell will need to provide a way to get the rasterizer for a specific
// platform view. // platform view.
std::vector<ftl::WeakPtr<shell::Rasterizer>> registered_rasterizers; std::vector<fxl::WeakPtr<shell::Rasterizer>> registered_rasterizers;
shell::Shell::Shared().GetRasterizers(&registered_rasterizers); shell::Shell::Shared().GetRasterizers(&registered_rasterizers);
for (auto& rasterizer : registered_rasterizers) { for (auto& rasterizer : registered_rasterizers) {
SnapshotRasterizer(rasterizer, context, is_opaque); SnapshotRasterizer(rasterizer, context, is_opaque);
...@@ -108,7 +108,7 @@ void SnapshotContentsSync(CGContextRef context, UIView* view) { ...@@ -108,7 +108,7 @@ void SnapshotContentsSync(CGContextRef context, UIView* view) {
return; return;
} }
ftl::AutoResetWaitableEvent latch; fxl::AutoResetWaitableEvent latch;
gpu_thread->PostTask([&latch, context, view]() { gpu_thread->PostTask([&latch, context, view]() {
SnapshotContents(context, [view isOpaque]); SnapshotContents(context, [view isOpaque]);
latch.Signal(); latch.Signal();
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
#include "flutter/shell/platform/darwin/ios/framework/Source/flutter_main_ios.h" #include "flutter/shell/platform/darwin/ios/framework/Source/flutter_main_ios.h"
#include "flutter/shell/platform/darwin/ios/framework/Source/flutter_touch_mapper.h" #include "flutter/shell/platform/darwin/ios/framework/Source/flutter_touch_mapper.h"
#include "flutter/shell/platform/darwin/ios/platform_view_ios.h" #include "flutter/shell/platform/darwin/ios/platform_view_ios.h"
#include "lib/ftl/functional/make_copyable.h" #include "lib/fxl/functional/make_copyable.h"
#include "lib/ftl/time/time_delta.h" #include "lib/fxl/time/time_delta.h"
namespace { namespace {
...@@ -32,17 +32,17 @@ class PlatformMessageResponseDarwin : public blink::PlatformMessageResponse { ...@@ -32,17 +32,17 @@ class PlatformMessageResponseDarwin : public blink::PlatformMessageResponse {
public: public:
void Complete(std::vector<uint8_t> data) override { void Complete(std::vector<uint8_t> data) override {
ftl::RefPtr<PlatformMessageResponseDarwin> self(this); fxl::RefPtr<PlatformMessageResponseDarwin> self(this);
blink::Threads::Platform()->PostTask( blink::Threads::Platform()->PostTask(
ftl::MakeCopyable([ self, data = std::move(data) ]() mutable { fxl::MakeCopyable([ self, data = std::move(data) ]() mutable {
self->callback_.get()(shell::GetNSDataFromVector(data)); self->callback_.get()(shell::GetNSDataFromVector(data));
})); }));
} }
void CompleteEmpty() override { void CompleteEmpty() override {
ftl::RefPtr<PlatformMessageResponseDarwin> self(this); fxl::RefPtr<PlatformMessageResponseDarwin> self(this);
blink::Threads::Platform()->PostTask( blink::Threads::Platform()->PostTask(
ftl::MakeCopyable([self]() mutable { self->callback_.get()(nil); })); fxl::MakeCopyable([self]() mutable { self->callback_.get()(nil); }));
} }
private: private:
...@@ -311,7 +311,7 @@ class PlatformMessageResponseDarwin : public blink::PlatformMessageResponse { ...@@ -311,7 +311,7 @@ class PlatformMessageResponseDarwin : public blink::PlatformMessageResponse {
#pragma mark - Surface creation and teardown updates #pragma mark - Surface creation and teardown updates
- (void)surfaceUpdated:(BOOL)appeared { - (void)surfaceUpdated:(BOOL)appeared {
FTL_CHECK(_platformView != nullptr); FXL_CHECK(_platformView != nullptr);
// NotifyCreated/NotifyDestroyed are synchronous and require hops between the UI and GPU thread. // NotifyCreated/NotifyDestroyed are synchronous and require hops between the UI and GPU thread.
if (appeared) { if (appeared) {
...@@ -459,7 +459,7 @@ static inline blink::PointerData::DeviceKind DeviceKindFromTouchType(UITouch* to ...@@ -459,7 +459,7 @@ static inline blink::PointerData::DeviceKind DeviceKindFromTouchType(UITouch* to
break; break;
} }
FTL_DCHECK(device_id != 0); FXL_DCHECK(device_id != 0);
CGPoint windowCoordinates = [touch locationInView:nil]; CGPoint windowCoordinates = [touch locationInView:nil];
blink::PointerData pointer_data; blink::PointerData pointer_data;
...@@ -533,7 +533,7 @@ static inline blink::PointerData::DeviceKind DeviceKindFromTouchType(UITouch* to ...@@ -533,7 +533,7 @@ static inline blink::PointerData::DeviceKind DeviceKindFromTouchType(UITouch* to
packet->SetPointerData(i++, pointer_data); packet->SetPointerData(i++, pointer_data);
} }
blink::Threads::UI()->PostTask(ftl::MakeCopyable( blink::Threads::UI()->PostTask(fxl::MakeCopyable(
[ engine = _platformView->engine().GetWeakPtr(), packet = std::move(packet) ] { [ engine = _platformView->engine().GetWeakPtr(), packet = std::move(packet) ] {
if (engine.get()) if (engine.get())
engine->DispatchPointerDataPacket(*packet); engine->DispatchPointerDataPacket(*packet);
...@@ -752,14 +752,14 @@ constexpr CGFloat kStandardStatusBarHeight = 20.0; ...@@ -752,14 +752,14 @@ constexpr CGFloat kStandardStatusBarHeight = 20.0;
message:(NSData*)message message:(NSData*)message
binaryReply:(FlutterBinaryReply)callback { binaryReply:(FlutterBinaryReply)callback {
NSAssert(channel, @"The channel must not be null"); NSAssert(channel, @"The channel must not be null");
ftl::RefPtr<PlatformMessageResponseDarwin> response = fxl::RefPtr<PlatformMessageResponseDarwin> response =
(callback == nil) ? nullptr (callback == nil) ? nullptr
: ftl::MakeRefCounted<PlatformMessageResponseDarwin>(^(NSData* reply) { : fxl::MakeRefCounted<PlatformMessageResponseDarwin>(^(NSData* reply) {
callback(reply); callback(reply);
}); });
ftl::RefPtr<blink::PlatformMessage> platformMessage = fxl::RefPtr<blink::PlatformMessage> platformMessage =
(message == nil) ? ftl::MakeRefCounted<blink::PlatformMessage>(channel.UTF8String, response) (message == nil) ? fxl::MakeRefCounted<blink::PlatformMessage>(channel.UTF8String, response)
: ftl::MakeRefCounted<blink::PlatformMessage>( : fxl::MakeRefCounted<blink::PlatformMessage>(
channel.UTF8String, shell::GetVectorFromNSData(message), response); channel.UTF8String, shell::GetVectorFromNSData(message), response);
_platformView->DispatchPlatformMessage(platformMessage); _platformView->DispatchPlatformMessage(platformMessage);
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#include "flutter/shell/platform/darwin/ios/platform_view_ios.h" #include "flutter/shell/platform/darwin/ios/platform_view_ios.h"
#include "lib/ftl/logging.h" #include "lib/fxl/logging.h"
namespace { namespace {
...@@ -35,7 +35,7 @@ blink::SemanticsAction GetSemanticsActionForScrollDirection( ...@@ -35,7 +35,7 @@ blink::SemanticsAction GetSemanticsActionForScrollDirection(
case UIAccessibilityScrollDirectionDown: case UIAccessibilityScrollDirectionDown:
return blink::SemanticsAction::kScrollUp; return blink::SemanticsAction::kScrollUp;
} }
FTL_DCHECK(false); // Unreachable FXL_DCHECK(false); // Unreachable
return blink::SemanticsAction::kScrollUp; return blink::SemanticsAction::kScrollUp;
} }
...@@ -69,8 +69,8 @@ bool GeometryComparator(SemanticsObject* a, SemanticsObject* b) { ...@@ -69,8 +69,8 @@ bool GeometryComparator(SemanticsObject* a, SemanticsObject* b) {
#pragma mark - Designated initializers #pragma mark - Designated initializers
- (instancetype)initWithBridge:(shell::AccessibilityBridge*)bridge uid:(int32_t)uid { - (instancetype)initWithBridge:(shell::AccessibilityBridge*)bridge uid:(int32_t)uid {
FTL_DCHECK(bridge != nil) << "bridge must be set"; FXL_DCHECK(bridge != nil) << "bridge must be set";
FTL_DCHECK(uid >= kRootNodeId); FXL_DCHECK(uid >= kRootNodeId);
self = [super init]; self = [super init];
if (self) { if (self) {
......
...@@ -14,8 +14,8 @@ PlatformMessageRouter::PlatformMessageRouter() = default; ...@@ -14,8 +14,8 @@ PlatformMessageRouter::PlatformMessageRouter() = default;
PlatformMessageRouter::~PlatformMessageRouter() = default; PlatformMessageRouter::~PlatformMessageRouter() = default;
void PlatformMessageRouter::HandlePlatformMessage(ftl::RefPtr<blink::PlatformMessage> message) { void PlatformMessageRouter::HandlePlatformMessage(fxl::RefPtr<blink::PlatformMessage> message) {
ftl::RefPtr<blink::PlatformMessageResponse> completer = message->response(); fxl::RefPtr<blink::PlatformMessageResponse> completer = message->response();
auto it = message_handlers_.find(message->channel()); auto it = message_handlers_.find(message->channel());
if (it != message_handlers_.end()) { if (it != message_handlers_.end()) {
FlutterBinaryMessageHandler handler = it->second; FlutterBinaryMessageHandler handler = it->second;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "flutter/common/threads.h" #include "flutter/common/threads.h"
#include "flutter/glue/trace_event.h" #include "flutter/glue/trace_event.h"
#include "lib/ftl/logging.h" #include "lib/fxl/logging.h"
@interface VSyncClient : NSObject @interface VSyncClient : NSObject
...@@ -41,16 +41,16 @@ ...@@ -41,16 +41,16 @@
} }
- (void)await:(shell::VsyncWaiter::Callback)callback { - (void)await:(shell::VsyncWaiter::Callback)callback {
FTL_DCHECK(!_pendingCallback); FXL_DCHECK(!_pendingCallback);
_pendingCallback = std::move(callback); _pendingCallback = std::move(callback);
_displayLink.paused = NO; _displayLink.paused = NO;
} }
- (void)onDisplayLink:(CADisplayLink*)link { - (void)onDisplayLink:(CADisplayLink*)link {
// ftl::TimePoint and CATimeInterval both use mach_absolute_time. // fxl::TimePoint and CATimeInterval both use mach_absolute_time.
ftl::TimePoint frame_start_time = ftl::TimePoint::Now(); fxl::TimePoint frame_start_time = fxl::TimePoint::Now();
ftl::TimePoint frame_target_time = fxl::TimePoint frame_target_time =
ftl::TimePoint::FromEpochDelta(ftl::TimeDelta::FromSecondsF(link.targetTimestamp)); fxl::TimePoint::FromEpochDelta(fxl::TimeDelta::FromSecondsF(link.targetTimestamp));
_displayLink.paused = YES; _displayLink.paused = YES;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include "flutter/fml/platform/darwin/cf_utils.h" #include "flutter/fml/platform/darwin/cf_utils.h"
#include "flutter/fml/trace_event.h" #include "flutter/fml/trace_event.h"
#include "lib/ftl/logging.h" #include "lib/fxl/logging.h"
#include "third_party/skia/include/utils/mac/SkCGUtils.h" #include "third_party/skia/include/utils/mac/SkCGUtils.h"
namespace shell { namespace shell {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include "flutter/shell/gpu/gpu_rasterizer.h" #include "flutter/shell/gpu/gpu_rasterizer.h"
#include "flutter/shell/platform/darwin/common/process_info_mac.h" #include "flutter/shell/platform/darwin/common/process_info_mac.h"
#include "flutter/shell/platform/darwin/ios/framework/Source/vsync_waiter_ios.h" #include "flutter/shell/platform/darwin/ios/framework/Source/vsync_waiter_ios.h"
#include "lib/ftl/synchronization/waitable_event.h" #include "lib/fxl/synchronization/waitable_event.h"
namespace shell { namespace shell {
...@@ -29,7 +29,7 @@ void PlatformViewIOS::Attach() { ...@@ -29,7 +29,7 @@ void PlatformViewIOS::Attach() {
Attach(NULL); Attach(NULL);
} }
void PlatformViewIOS::Attach(ftl::Closure firstFrameCallback) { void PlatformViewIOS::Attach(fxl::Closure firstFrameCallback) {
CreateEngine(); CreateEngine();
PostAddToShellTask(); PostAddToShellTask();
if (firstFrameCallback) { if (firstFrameCallback) {
...@@ -68,7 +68,7 @@ void PlatformViewIOS::SetupAndLoadFromSource(const std::string& assets_directory ...@@ -68,7 +68,7 @@ void PlatformViewIOS::SetupAndLoadFromSource(const std::string& assets_directory
}); });
} }
ftl::WeakPtr<PlatformViewIOS> PlatformViewIOS::GetWeakPtr() { fxl::WeakPtr<PlatformViewIOS> PlatformViewIOS::GetWeakPtr() {
return weak_factory_.GetWeakPtr(); return weak_factory_.GetWeakPtr();
} }
...@@ -96,14 +96,14 @@ void PlatformViewIOS::UpdateSemantics(std::vector<blink::SemanticsNode> update) ...@@ -96,14 +96,14 @@ void PlatformViewIOS::UpdateSemantics(std::vector<blink::SemanticsNode> update)
accessibility_bridge_->UpdateSemantics(std::move(update)); accessibility_bridge_->UpdateSemantics(std::move(update));
} }
void PlatformViewIOS::HandlePlatformMessage(ftl::RefPtr<blink::PlatformMessage> message) { void PlatformViewIOS::HandlePlatformMessage(fxl::RefPtr<blink::PlatformMessage> message) {
platform_message_router_.HandlePlatformMessage(std::move(message)); platform_message_router_.HandlePlatformMessage(std::move(message));
} }
void PlatformViewIOS::RunFromSource(const std::string& assets_directory, void PlatformViewIOS::RunFromSource(const std::string& assets_directory,
const std::string& main, const std::string& main,
const std::string& packages) { const std::string& packages) {
auto latch = new ftl::ManualResetWaitableEvent(); auto latch = new fxl::ManualResetWaitableEvent();
dispatch_async(dispatch_get_main_queue(), ^{ dispatch_async(dispatch_get_main_queue(), ^{
SetupAndLoadFromSource(assets_directory, main, packages); SetupAndLoadFromSource(assets_directory, main, packages);
......
...@@ -18,7 +18,7 @@ source_set("embedder") { ...@@ -18,7 +18,7 @@ source_set("embedder") {
"//flutter/fml", "//flutter/fml",
"//flutter/shell/common", "//flutter/shell/common",
"//flutter/shell/gpu", "//flutter/shell/gpu",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//lib/tonic", "//lib/tonic",
"//third_party/skia", "//third_party/skia",
] ]
......
...@@ -16,7 +16,7 @@ executable("linux") { ...@@ -16,7 +16,7 @@ executable("linux") {
"//flutter/fml", "//flutter/fml",
"//flutter/shell/common", "//flutter/shell/common",
"//flutter/shell/testing", "//flutter/shell/testing",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//lib/tonic", "//lib/tonic",
"//third_party/skia", "//third_party/skia",
] ]
......
...@@ -15,7 +15,7 @@ source_set("testing") { ...@@ -15,7 +15,7 @@ source_set("testing") {
deps = [ deps = [
"//flutter/common", "//flutter/common",
"//flutter/shell/common", "//flutter/shell/common",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//third_party/skia", "//third_party/skia",
] ]
} }
...@@ -35,7 +35,7 @@ static_library("core") { ...@@ -35,7 +35,7 @@ static_library("core") {
"//flutter/flow", "//flutter/flow",
"//flutter/glue", "//flutter/glue",
"//flutter/sky/engine/wtf", "//flutter/sky/engine/wtf",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//lib/tonic", "//lib/tonic",
"//third_party/libpng", "//third_party/libpng",
"//third_party/skia", "//third_party/skia",
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
*/ */
#include "flutter/sky/engine/platform/fonts/FontCache.h" #include "flutter/sky/engine/platform/fonts/FontCache.h"
#include "lib/ftl/logging.h" #include "lib/fxl/logging.h"
namespace blink { namespace blink {
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "flutter/sky/engine/platform/fonts/FontCache.h" #include "flutter/sky/engine/platform/fonts/FontCache.h"
#include "flutter/sky/engine/platform/fonts/FontDescription.h" #include "flutter/sky/engine/platform/fonts/FontDescription.h"
#include "lib/fonts/fidl/font_provider.fidl.h" #include "lib/fonts/fidl/font_provider.fidl.h"
#include "lib/ftl/logging.h" #include "lib/fxl/logging.h"
#include "third_party/skia/include/core/SkData.h" #include "third_party/skia/include/core/SkData.h"
#include "third_party/skia/include/core/SkTypeface.h" #include "third_party/skia/include/core/SkTypeface.h"
#include "third_party/skia/include/ports/SkFontMgr.h" #include "third_party/skia/include/ports/SkFontMgr.h"
...@@ -80,14 +80,14 @@ sk_sp<SkData> MakeSkDataFromVMO(const mx::vmo& vmo) { ...@@ -80,14 +80,14 @@ sk_sp<SkData> MakeSkDataFromVMO(const mx::vmo& vmo) {
fonts::FontProviderPtr* g_font_provider = nullptr; fonts::FontProviderPtr* g_font_provider = nullptr;
fonts::FontProviderPtr& GetFontProvider() { fonts::FontProviderPtr& GetFontProvider() {
FTL_CHECK(g_font_provider); FXL_CHECK(g_font_provider);
return *g_font_provider; return *g_font_provider;
} }
} // namespace } // namespace
void SetFontProvider(fonts::FontProviderPtr provider) { void SetFontProvider(fonts::FontProviderPtr provider) {
FTL_CHECK(!g_font_provider); FXL_CHECK(!g_font_provider);
g_font_provider = new fonts::FontProviderPtr; g_font_provider = new fonts::FontProviderPtr;
*g_font_provider = std::move(provider); *g_font_provider = std::move(provider);
} }
...@@ -121,7 +121,7 @@ sk_sp<SkTypeface> FontCache::createTypeface( ...@@ -121,7 +121,7 @@ sk_sp<SkTypeface> FontCache::createTypeface(
[&response](fonts::FontResponsePtr r) { response = std::move(r); }); [&response](fonts::FontResponsePtr r) { response = std::move(r); });
font_provider.WaitForIncomingResponse(); font_provider.WaitForIncomingResponse();
FTL_DCHECK(response) FXL_DCHECK(response)
<< "Unable to contact the font provider. Did you run " << "Unable to contact the font provider. Did you run "
"Flutter in an environment that has a font manager?\n" "Flutter in an environment that has a font manager?\n"
"See <https://fuchsia.googlesource.com/modular/+/master/README.md>."; "See <https://fuchsia.googlesource.com/modular/+/master/README.md>.";
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#include "flutter/sky/engine/wtf/WTF.h" #include "flutter/sky/engine/wtf/WTF.h"
#include "flutter/sky/engine/wtf/text/AtomicString.h" #include "flutter/sky/engine/wtf/text/AtomicString.h"
#include "flutter/sky/engine/wtf/text/TextEncoding.h" #include "flutter/sky/engine/wtf/text/TextEncoding.h"
#include "lib/ftl/build_config.h" #include "lib/fxl/build_config.h"
#include "lib/tonic/dart_microtask_queue.h" #include "lib/tonic/dart_microtask_queue.h"
#if defined(OS_FUCHSIA) #if defined(OS_FUCHSIA)
......
...@@ -197,7 +197,7 @@ source_set("wtf") { ...@@ -197,7 +197,7 @@ source_set("wtf") {
] ]
public_deps = [ public_deps = [
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//third_party/icu", "//third_party/icu",
] ]
......
...@@ -13,7 +13,7 @@ source_set("synchronization") { ...@@ -13,7 +13,7 @@ source_set("synchronization") {
public_deps = [ public_deps = [
"//flutter/glue", "//flutter/glue",
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
] ]
} }
......
...@@ -114,7 +114,7 @@ source_set("txt") { ...@@ -114,7 +114,7 @@ source_set("txt") {
public_configs = [ ":txt_config" ] public_configs = [ ":txt_config" ]
public_deps = [ public_deps = [
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//third_party/harfbuzz", "//third_party/harfbuzz",
"//third_party/icu", "//third_party/icu",
"//third_party/skia", "//third_party/skia",
......
...@@ -62,32 +62,32 @@ FILE: ../../../garnet/public/lib/fidl/examples/echo_client_go/echo_client.go ...@@ -62,32 +62,32 @@ FILE: ../../../garnet/public/lib/fidl/examples/echo_client_go/echo_client.go
FILE: ../../../garnet/public/lib/fidl/examples/echo_server_cpp/echo_server.cc FILE: ../../../garnet/public/lib/fidl/examples/echo_server_cpp/echo_server.cc
FILE: ../../../garnet/public/lib/fidl/examples/echo_server_go/echo_server.go FILE: ../../../garnet/public/lib/fidl/examples/echo_server_go/echo_server.go
FILE: ../../../garnet/public/lib/fidl/rust/fidl/src/endpoints.rs FILE: ../../../garnet/public/lib/fidl/rust/fidl/src/endpoints.rs
FILE: ../../../garnet/public/lib/ftl/files/directory_unittest.cc FILE: ../../../garnet/public/lib/fxl/files/directory_unittest.cc
FILE: ../../../garnet/public/lib/ftl/files/file_descriptor_unittest.cc FILE: ../../../garnet/public/lib/fxl/files/file_descriptor_unittest.cc
FILE: ../../../garnet/public/lib/ftl/files/path_win.cc FILE: ../../../garnet/public/lib/fxl/files/path_win.cc
FILE: ../../../garnet/public/lib/ftl/files/symlink_win.cc FILE: ../../../garnet/public/lib/fxl/files/symlink_win.cc
FILE: ../../../garnet/public/lib/ftl/ftl_export.h FILE: ../../../garnet/public/lib/fxl/fxl_export.h
FILE: ../../../garnet/public/lib/ftl/functional/apply.h FILE: ../../../garnet/public/lib/fxl/functional/apply.h
FILE: ../../../garnet/public/lib/ftl/functional/apply_unittest.cc FILE: ../../../garnet/public/lib/fxl/functional/apply_unittest.cc
FILE: ../../../garnet/public/lib/ftl/functional/auto_call_unittest.cc FILE: ../../../garnet/public/lib/fxl/functional/auto_call_unittest.cc
FILE: ../../../garnet/public/lib/ftl/functional/cancelable_callback.h FILE: ../../../garnet/public/lib/fxl/functional/cancelable_callback.h
FILE: ../../../garnet/public/lib/ftl/functional/cancelable_callback_unittest.cc FILE: ../../../garnet/public/lib/fxl/functional/cancelable_callback_unittest.cc
FILE: ../../../garnet/public/lib/ftl/inttypes.h FILE: ../../../garnet/public/lib/fxl/inttypes.h
FILE: ../../../garnet/public/lib/ftl/log_settings_command_line.cc FILE: ../../../garnet/public/lib/fxl/log_settings_command_line.cc
FILE: ../../../garnet/public/lib/ftl/log_settings_command_line.h FILE: ../../../garnet/public/lib/fxl/log_settings_command_line.h
FILE: ../../../garnet/public/lib/ftl/portable_unistd.h FILE: ../../../garnet/public/lib/fxl/portable_unistd.h
FILE: ../../../garnet/public/lib/ftl/random/rand_unittest.cc FILE: ../../../garnet/public/lib/fxl/random/rand_unittest.cc
FILE: ../../../garnet/public/lib/ftl/random/uuid_unittest.cc FILE: ../../../garnet/public/lib/fxl/random/uuid_unittest.cc
FILE: ../../../garnet/public/lib/ftl/strings/join_strings.h FILE: ../../../garnet/public/lib/fxl/strings/join_strings.h
FILE: ../../../garnet/public/lib/ftl/strings/join_strings_unittest.cc FILE: ../../../garnet/public/lib/fxl/strings/join_strings_unittest.cc
FILE: ../../../garnet/public/lib/ftl/synchronization/cond_var_win.cc FILE: ../../../garnet/public/lib/fxl/synchronization/cond_var_win.cc
FILE: ../../../garnet/public/lib/ftl/synchronization/mutex_win.cc FILE: ../../../garnet/public/lib/fxl/synchronization/mutex_win.cc
FILE: ../../../garnet/public/lib/ftl/threading/thread.cc FILE: ../../../garnet/public/lib/fxl/threading/thread.cc
FILE: ../../../garnet/public/lib/ftl/threading/thread.h FILE: ../../../garnet/public/lib/fxl/threading/thread.h
FILE: ../../../garnet/public/lib/ftl/threading/thread_unittest.cc FILE: ../../../garnet/public/lib/fxl/threading/thread_unittest.cc
FILE: ../../../garnet/public/lib/ftl/time/stopwatch_unittest.cc FILE: ../../../garnet/public/lib/fxl/time/stopwatch_unittest.cc
FILE: ../../../garnet/public/lib/ftl/time/time_delta_unittest.cc FILE: ../../../garnet/public/lib/fxl/time/time_delta_unittest.cc
FILE: ../../../garnet/public/lib/ftl/time/time_point_unittest.cc FILE: ../../../garnet/public/lib/fxl/time/time_point_unittest.cc
---------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------
Copyright 2017 The Fuchsia Authors. All rights reserved. Copyright 2017 The Fuchsia Authors. All rights reserved.
...@@ -169,111 +169,111 @@ FILE: ../../../garnet/public/lib/fidl/rust/fidl/src/server.rs ...@@ -169,111 +169,111 @@ FILE: ../../../garnet/public/lib/fidl/rust/fidl/src/server.rs
FILE: ../../../garnet/public/lib/fidl/tools/sublime/FIDL.sublime-syntax FILE: ../../../garnet/public/lib/fidl/tools/sublime/FIDL.sublime-syntax
FILE: ../../../garnet/public/lib/fidl/tools/vim/ftdetect/fidl.vim FILE: ../../../garnet/public/lib/fidl/tools/vim/ftdetect/fidl.vim
FILE: ../../../garnet/public/lib/fidl/tools/vim/syntax/fidl.vim FILE: ../../../garnet/public/lib/fidl/tools/vim/syntax/fidl.vim
FILE: ../../../garnet/public/lib/ftl/arraysize.h FILE: ../../../garnet/public/lib/fxl/arraysize.h
FILE: ../../../garnet/public/lib/ftl/arraysize_unittest.cc FILE: ../../../garnet/public/lib/fxl/arraysize_unittest.cc
FILE: ../../../garnet/public/lib/ftl/build_config.h FILE: ../../../garnet/public/lib/fxl/build_config.h
FILE: ../../../garnet/public/lib/ftl/command_line.cc FILE: ../../../garnet/public/lib/fxl/command_line.cc
FILE: ../../../garnet/public/lib/ftl/command_line.h FILE: ../../../garnet/public/lib/fxl/command_line.h
FILE: ../../../garnet/public/lib/ftl/command_line_unittest.cc FILE: ../../../garnet/public/lib/fxl/command_line_unittest.cc
FILE: ../../../garnet/public/lib/ftl/compiler_specific.h FILE: ../../../garnet/public/lib/fxl/compiler_specific.h
FILE: ../../../garnet/public/lib/ftl/debug/debugger.cc FILE: ../../../garnet/public/lib/fxl/debug/debugger.cc
FILE: ../../../garnet/public/lib/ftl/debug/debugger.h FILE: ../../../garnet/public/lib/fxl/debug/debugger.h
FILE: ../../../garnet/public/lib/ftl/files/directory.cc FILE: ../../../garnet/public/lib/fxl/files/directory.cc
FILE: ../../../garnet/public/lib/ftl/files/directory.h FILE: ../../../garnet/public/lib/fxl/files/directory.h
FILE: ../../../garnet/public/lib/ftl/files/eintr_wrapper.h FILE: ../../../garnet/public/lib/fxl/files/eintr_wrapper.h
FILE: ../../../garnet/public/lib/ftl/files/file.cc FILE: ../../../garnet/public/lib/fxl/files/file.cc
FILE: ../../../garnet/public/lib/ftl/files/file.h FILE: ../../../garnet/public/lib/fxl/files/file.h
FILE: ../../../garnet/public/lib/ftl/files/file_descriptor.cc FILE: ../../../garnet/public/lib/fxl/files/file_descriptor.cc
FILE: ../../../garnet/public/lib/ftl/files/file_descriptor.h FILE: ../../../garnet/public/lib/fxl/files/file_descriptor.h
FILE: ../../../garnet/public/lib/ftl/files/file_unittest.cc FILE: ../../../garnet/public/lib/fxl/files/file_unittest.cc
FILE: ../../../garnet/public/lib/ftl/files/path.h FILE: ../../../garnet/public/lib/fxl/files/path.h
FILE: ../../../garnet/public/lib/ftl/files/path_posix.cc FILE: ../../../garnet/public/lib/fxl/files/path_posix.cc
FILE: ../../../garnet/public/lib/ftl/files/path_unittest.cc FILE: ../../../garnet/public/lib/fxl/files/path_unittest.cc
FILE: ../../../garnet/public/lib/ftl/files/scoped_temp_dir.cc FILE: ../../../garnet/public/lib/fxl/files/scoped_temp_dir.cc
FILE: ../../../garnet/public/lib/ftl/files/scoped_temp_dir.h FILE: ../../../garnet/public/lib/fxl/files/scoped_temp_dir.h
FILE: ../../../garnet/public/lib/ftl/files/scoped_temp_dir_unittest.cc FILE: ../../../garnet/public/lib/fxl/files/scoped_temp_dir_unittest.cc
FILE: ../../../garnet/public/lib/ftl/files/symlink.h FILE: ../../../garnet/public/lib/fxl/files/symlink.h
FILE: ../../../garnet/public/lib/ftl/files/symlink_posix.cc FILE: ../../../garnet/public/lib/fxl/files/symlink_posix.cc
FILE: ../../../garnet/public/lib/ftl/files/unique_fd.cc FILE: ../../../garnet/public/lib/fxl/files/unique_fd.cc
FILE: ../../../garnet/public/lib/ftl/files/unique_fd.h FILE: ../../../garnet/public/lib/fxl/files/unique_fd.h
FILE: ../../../garnet/public/lib/ftl/functional/auto_call.h FILE: ../../../garnet/public/lib/fxl/functional/auto_call.h
FILE: ../../../garnet/public/lib/ftl/functional/closure.h FILE: ../../../garnet/public/lib/fxl/functional/closure.h
FILE: ../../../garnet/public/lib/ftl/functional/make_copyable.h FILE: ../../../garnet/public/lib/fxl/functional/make_copyable.h
FILE: ../../../garnet/public/lib/ftl/functional/make_copyable_unittest.cc FILE: ../../../garnet/public/lib/fxl/functional/make_copyable_unittest.cc
FILE: ../../../garnet/public/lib/ftl/log_level.h FILE: ../../../garnet/public/lib/fxl/log_level.h
FILE: ../../../garnet/public/lib/ftl/log_settings.cc FILE: ../../../garnet/public/lib/fxl/log_settings.cc
FILE: ../../../garnet/public/lib/ftl/log_settings.h FILE: ../../../garnet/public/lib/fxl/log_settings.h
FILE: ../../../garnet/public/lib/ftl/log_settings_state.cc FILE: ../../../garnet/public/lib/fxl/log_settings_state.cc
FILE: ../../../garnet/public/lib/ftl/log_settings_unittest.cc FILE: ../../../garnet/public/lib/fxl/log_settings_unittest.cc
FILE: ../../../garnet/public/lib/ftl/logging.cc FILE: ../../../garnet/public/lib/fxl/logging.cc
FILE: ../../../garnet/public/lib/ftl/logging.h FILE: ../../../garnet/public/lib/fxl/logging.h
FILE: ../../../garnet/public/lib/ftl/macros.h FILE: ../../../garnet/public/lib/fxl/macros.h
FILE: ../../../garnet/public/lib/ftl/memory/ref_counted.h FILE: ../../../garnet/public/lib/fxl/memory/ref_counted.h
FILE: ../../../garnet/public/lib/ftl/memory/ref_counted_internal.h FILE: ../../../garnet/public/lib/fxl/memory/ref_counted_internal.h
FILE: ../../../garnet/public/lib/ftl/memory/ref_counted_unittest.cc FILE: ../../../garnet/public/lib/fxl/memory/ref_counted_unittest.cc
FILE: ../../../garnet/public/lib/ftl/memory/ref_ptr.h FILE: ../../../garnet/public/lib/fxl/memory/ref_ptr.h
FILE: ../../../garnet/public/lib/ftl/memory/ref_ptr_internal.h FILE: ../../../garnet/public/lib/fxl/memory/ref_ptr_internal.h
FILE: ../../../garnet/public/lib/ftl/memory/unique_object.h FILE: ../../../garnet/public/lib/fxl/memory/unique_object.h
FILE: ../../../garnet/public/lib/ftl/memory/weak_ptr.h FILE: ../../../garnet/public/lib/fxl/memory/weak_ptr.h
FILE: ../../../garnet/public/lib/ftl/memory/weak_ptr_internal.cc FILE: ../../../garnet/public/lib/fxl/memory/weak_ptr_internal.cc
FILE: ../../../garnet/public/lib/ftl/memory/weak_ptr_internal.h FILE: ../../../garnet/public/lib/fxl/memory/weak_ptr_internal.h
FILE: ../../../garnet/public/lib/ftl/memory/weak_ptr_unittest.cc FILE: ../../../garnet/public/lib/fxl/memory/weak_ptr_unittest.cc
FILE: ../../../garnet/public/lib/ftl/random/rand.cc FILE: ../../../garnet/public/lib/fxl/random/rand.cc
FILE: ../../../garnet/public/lib/ftl/random/rand.h FILE: ../../../garnet/public/lib/fxl/random/rand.h
FILE: ../../../garnet/public/lib/ftl/random/uuid.cc FILE: ../../../garnet/public/lib/fxl/random/uuid.cc
FILE: ../../../garnet/public/lib/ftl/random/uuid.h FILE: ../../../garnet/public/lib/fxl/random/uuid.h
FILE: ../../../garnet/public/lib/ftl/strings/ascii.cc FILE: ../../../garnet/public/lib/fxl/strings/ascii.cc
FILE: ../../../garnet/public/lib/ftl/strings/ascii.h FILE: ../../../garnet/public/lib/fxl/strings/ascii.h
FILE: ../../../garnet/public/lib/ftl/strings/ascii_unittest.cc FILE: ../../../garnet/public/lib/fxl/strings/ascii_unittest.cc
FILE: ../../../garnet/public/lib/ftl/strings/concatenate.cc FILE: ../../../garnet/public/lib/fxl/strings/concatenate.cc
FILE: ../../../garnet/public/lib/ftl/strings/concatenate.h FILE: ../../../garnet/public/lib/fxl/strings/concatenate.h
FILE: ../../../garnet/public/lib/ftl/strings/concatenate_unittest.cc FILE: ../../../garnet/public/lib/fxl/strings/concatenate_unittest.cc
FILE: ../../../garnet/public/lib/ftl/strings/split_string.cc FILE: ../../../garnet/public/lib/fxl/strings/split_string.cc
FILE: ../../../garnet/public/lib/ftl/strings/split_string.h FILE: ../../../garnet/public/lib/fxl/strings/split_string.h
FILE: ../../../garnet/public/lib/ftl/strings/split_string_unittest.cc FILE: ../../../garnet/public/lib/fxl/strings/split_string_unittest.cc
FILE: ../../../garnet/public/lib/ftl/strings/string_number_conversions.cc FILE: ../../../garnet/public/lib/fxl/strings/string_number_conversions.cc
FILE: ../../../garnet/public/lib/ftl/strings/string_number_conversions.h FILE: ../../../garnet/public/lib/fxl/strings/string_number_conversions.h
FILE: ../../../garnet/public/lib/ftl/strings/string_number_conversions_unittest.cc FILE: ../../../garnet/public/lib/fxl/strings/string_number_conversions_unittest.cc
FILE: ../../../garnet/public/lib/ftl/strings/string_printf.cc FILE: ../../../garnet/public/lib/fxl/strings/string_printf.cc
FILE: ../../../garnet/public/lib/ftl/strings/string_printf.h FILE: ../../../garnet/public/lib/fxl/strings/string_printf.h
FILE: ../../../garnet/public/lib/ftl/strings/string_printf_unittest.cc FILE: ../../../garnet/public/lib/fxl/strings/string_printf_unittest.cc
FILE: ../../../garnet/public/lib/ftl/strings/string_view.cc FILE: ../../../garnet/public/lib/fxl/strings/string_view.cc
FILE: ../../../garnet/public/lib/ftl/strings/string_view.h FILE: ../../../garnet/public/lib/fxl/strings/string_view.h
FILE: ../../../garnet/public/lib/ftl/strings/string_view_unittest.cc FILE: ../../../garnet/public/lib/fxl/strings/string_view_unittest.cc
FILE: ../../../garnet/public/lib/ftl/strings/trim.cc FILE: ../../../garnet/public/lib/fxl/strings/trim.cc
FILE: ../../../garnet/public/lib/ftl/strings/trim.h FILE: ../../../garnet/public/lib/fxl/strings/trim.h
FILE: ../../../garnet/public/lib/ftl/strings/trim_unittest.cc FILE: ../../../garnet/public/lib/fxl/strings/trim_unittest.cc
FILE: ../../../garnet/public/lib/ftl/strings/utf_codecs.cc FILE: ../../../garnet/public/lib/fxl/strings/utf_codecs.cc
FILE: ../../../garnet/public/lib/ftl/strings/utf_codecs.h FILE: ../../../garnet/public/lib/fxl/strings/utf_codecs.h
FILE: ../../../garnet/public/lib/ftl/synchronization/cond_var.h FILE: ../../../garnet/public/lib/fxl/synchronization/cond_var.h
FILE: ../../../garnet/public/lib/ftl/synchronization/cond_var_posix.cc FILE: ../../../garnet/public/lib/fxl/synchronization/cond_var_posix.cc
FILE: ../../../garnet/public/lib/ftl/synchronization/cond_var_unittest.cc FILE: ../../../garnet/public/lib/fxl/synchronization/cond_var_unittest.cc
FILE: ../../../garnet/public/lib/ftl/synchronization/monitor.cc FILE: ../../../garnet/public/lib/fxl/synchronization/monitor.cc
FILE: ../../../garnet/public/lib/ftl/synchronization/monitor.h FILE: ../../../garnet/public/lib/fxl/synchronization/monitor.h
FILE: ../../../garnet/public/lib/ftl/synchronization/mutex.h FILE: ../../../garnet/public/lib/fxl/synchronization/mutex.h
FILE: ../../../garnet/public/lib/ftl/synchronization/mutex_posix.cc FILE: ../../../garnet/public/lib/fxl/synchronization/mutex_posix.cc
FILE: ../../../garnet/public/lib/ftl/synchronization/mutex_unittest.cc FILE: ../../../garnet/public/lib/fxl/synchronization/mutex_unittest.cc
FILE: ../../../garnet/public/lib/ftl/synchronization/sleep.cc FILE: ../../../garnet/public/lib/fxl/synchronization/sleep.cc
FILE: ../../../garnet/public/lib/ftl/synchronization/sleep.h FILE: ../../../garnet/public/lib/fxl/synchronization/sleep.h
FILE: ../../../garnet/public/lib/ftl/synchronization/thread_annotations.h FILE: ../../../garnet/public/lib/fxl/synchronization/thread_annotations.h
FILE: ../../../garnet/public/lib/ftl/synchronization/thread_annotations_unittest.cc FILE: ../../../garnet/public/lib/fxl/synchronization/thread_annotations_unittest.cc
FILE: ../../../garnet/public/lib/ftl/synchronization/thread_checker.h FILE: ../../../garnet/public/lib/fxl/synchronization/thread_checker.h
FILE: ../../../garnet/public/lib/ftl/synchronization/thread_checker_unittest.cc FILE: ../../../garnet/public/lib/fxl/synchronization/thread_checker_unittest.cc
FILE: ../../../garnet/public/lib/ftl/synchronization/waitable_event.cc FILE: ../../../garnet/public/lib/fxl/synchronization/waitable_event.cc
FILE: ../../../garnet/public/lib/ftl/synchronization/waitable_event.h FILE: ../../../garnet/public/lib/fxl/synchronization/waitable_event.h
FILE: ../../../garnet/public/lib/ftl/synchronization/waitable_event_unittest.cc FILE: ../../../garnet/public/lib/fxl/synchronization/waitable_event_unittest.cc
FILE: ../../../garnet/public/lib/ftl/tasks/one_shot_timer.cc FILE: ../../../garnet/public/lib/fxl/tasks/one_shot_timer.cc
FILE: ../../../garnet/public/lib/ftl/tasks/one_shot_timer.h FILE: ../../../garnet/public/lib/fxl/tasks/one_shot_timer.h
FILE: ../../../garnet/public/lib/ftl/tasks/one_shot_timer_unittest.cc FILE: ../../../garnet/public/lib/fxl/tasks/one_shot_timer_unittest.cc
FILE: ../../../garnet/public/lib/ftl/tasks/task_runner.cc FILE: ../../../garnet/public/lib/fxl/tasks/task_runner.cc
FILE: ../../../garnet/public/lib/ftl/tasks/task_runner.h FILE: ../../../garnet/public/lib/fxl/tasks/task_runner.h
FILE: ../../../garnet/public/lib/ftl/time/stopwatch.cc FILE: ../../../garnet/public/lib/fxl/time/stopwatch.cc
FILE: ../../../garnet/public/lib/ftl/time/stopwatch.h FILE: ../../../garnet/public/lib/fxl/time/stopwatch.h
FILE: ../../../garnet/public/lib/ftl/time/time_delta.h FILE: ../../../garnet/public/lib/fxl/time/time_delta.h
FILE: ../../../garnet/public/lib/ftl/time/time_point.cc FILE: ../../../garnet/public/lib/fxl/time/time_point.cc
FILE: ../../../garnet/public/lib/ftl/time/time_point.h FILE: ../../../garnet/public/lib/fxl/time/time_point.h
FILE: ../../../garnet/public/lib/ftl/time/time_printers.cc FILE: ../../../garnet/public/lib/fxl/time/time_printers.cc
FILE: ../../../garnet/public/lib/ftl/time/time_unittest.cc FILE: ../../../garnet/public/lib/fxl/time/time_unittest.cc
FILE: ../../../garnet/public/lib/zip/create_unzipper.cc FILE: ../../../garnet/public/lib/zip/create_unzipper.cc
FILE: ../../../garnet/public/lib/zip/create_unzipper.h FILE: ../../../garnet/public/lib/zip/create_unzipper.h
FILE: ../../../garnet/public/lib/zip/memory_io.cc FILE: ../../../garnet/public/lib/zip/memory_io.cc
...@@ -551,10 +551,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -551,10 +551,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
==================================================================================================== ====================================================================================================
LIBRARY: icu LIBRARY: icu
ORIGIN: ../../../garnet/public/lib/ftl/third_party/icu/LICENSE ORIGIN: ../../../garnet/public/lib/fxl/third_party/icu/LICENSE
TYPE: LicenseType.unknown TYPE: LicenseType.unknown
FILE: ../../../garnet/public/lib/ftl/third_party/icu/icu_utf.cc FILE: ../../../garnet/public/lib/fxl/third_party/icu/icu_utf.cc
FILE: ../../../garnet/public/lib/ftl/third_party/icu/icu_utf.h FILE: ../../../garnet/public/lib/fxl/third_party/icu/icu_utf.h
---------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------
ICU License - ICU 1.8.1 and later ICU License - ICU 1.8.1 and later
......
...@@ -3901,7 +3901,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ...@@ -3901,7 +3901,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
==================================================================================================== ====================================================================================================
LIBRARY: freetype2 LIBRARY: freetype2
ORIGIN: ../../../third_party/freetype2/docs/FTL.TXT ORIGIN: ../../../third_party/freetype2/docs/FXL.TXT
TYPE: LicenseType.freetype TYPE: LicenseType.freetype
FILE: ../../../third_party/freetype2/.mailmap FILE: ../../../third_party/freetype2/.mailmap
FILE: ../../../third_party/freetype2/Jamfile FILE: ../../../third_party/freetype2/Jamfile
...@@ -3936,9 +3936,9 @@ FILE: ../../../third_party/freetype2/include/ftgxval.h ...@@ -3936,9 +3936,9 @@ FILE: ../../../third_party/freetype2/include/ftgxval.h
FILE: ../../../third_party/freetype2/include/ftgzip.h FILE: ../../../third_party/freetype2/include/ftgzip.h
FILE: ../../../third_party/freetype2/include/ftimage.h FILE: ../../../third_party/freetype2/include/ftimage.h
FILE: ../../../third_party/freetype2/include/ftincrem.h FILE: ../../../third_party/freetype2/include/ftincrem.h
FILE: ../../../third_party/freetype2/include/ftlcdfil.h FILE: ../../../third_party/freetype2/include/fxlcdfil.h
FILE: ../../../third_party/freetype2/include/ftlist.h FILE: ../../../third_party/freetype2/include/fxlist.h
FILE: ../../../third_party/freetype2/include/ftlzw.h FILE: ../../../third_party/freetype2/include/fxlzw.h
FILE: ../../../third_party/freetype2/include/ftmac.h FILE: ../../../third_party/freetype2/include/ftmac.h
FILE: ../../../third_party/freetype2/include/ftmm.h FILE: ../../../third_party/freetype2/include/ftmm.h
FILE: ../../../third_party/freetype2/include/ftmodapi.h FILE: ../../../third_party/freetype2/include/ftmodapi.h
...@@ -4062,7 +4062,7 @@ FILE: ../../../third_party/freetype2/src/base/ftgloadr.c ...@@ -4062,7 +4062,7 @@ FILE: ../../../third_party/freetype2/src/base/ftgloadr.c
FILE: ../../../third_party/freetype2/src/base/ftglyph.c FILE: ../../../third_party/freetype2/src/base/ftglyph.c
FILE: ../../../third_party/freetype2/src/base/ftgxval.c FILE: ../../../third_party/freetype2/src/base/ftgxval.c
FILE: ../../../third_party/freetype2/src/base/ftinit.c FILE: ../../../third_party/freetype2/src/base/ftinit.c
FILE: ../../../third_party/freetype2/src/base/ftlcdfil.c FILE: ../../../third_party/freetype2/src/base/fxlcdfil.c
FILE: ../../../third_party/freetype2/src/base/ftmac.c FILE: ../../../third_party/freetype2/src/base/ftmac.c
FILE: ../../../third_party/freetype2/src/base/ftmm.c FILE: ../../../third_party/freetype2/src/base/ftmm.c
FILE: ../../../third_party/freetype2/src/base/ftobjs.c FILE: ../../../third_party/freetype2/src/base/ftobjs.c
...@@ -4194,7 +4194,7 @@ FILE: ../../../third_party/freetype2/src/gxvalid/gxvtrak.c ...@@ -4194,7 +4194,7 @@ FILE: ../../../third_party/freetype2/src/gxvalid/gxvtrak.c
FILE: ../../../third_party/freetype2/src/gzip/Jamfile FILE: ../../../third_party/freetype2/src/gzip/Jamfile
FILE: ../../../third_party/freetype2/src/gzip/ftgzip.c FILE: ../../../third_party/freetype2/src/gzip/ftgzip.c
FILE: ../../../third_party/freetype2/src/lzw/Jamfile FILE: ../../../third_party/freetype2/src/lzw/Jamfile
FILE: ../../../third_party/freetype2/src/lzw/ftlzw.c FILE: ../../../third_party/freetype2/src/lzw/fxlzw.c
FILE: ../../../third_party/freetype2/src/lzw/ftzopen.c FILE: ../../../third_party/freetype2/src/lzw/ftzopen.c
FILE: ../../../third_party/freetype2/src/lzw/ftzopen.h FILE: ../../../third_party/freetype2/src/lzw/ftzopen.h
FILE: ../../../third_party/freetype2/src/otvalid/Jamfile FILE: ../../../third_party/freetype2/src/otvalid/Jamfile
...@@ -4461,7 +4461,7 @@ Legal Terms ...@@ -4461,7 +4461,7 @@ Legal Terms
herein, subject to the following conditions: herein, subject to the following conditions:
o Redistribution of source code must retain this license file o Redistribution of source code must retain this license file
(`FTL.TXT') unaltered; any additions, deletions or changes to (`FXL.TXT') unaltered; any additions, deletions or changes to
the original files must be clearly indicated in accompanying the original files must be clearly indicated in accompanying
documentation. The copyright notices of the unaltered, documentation. The copyright notices of the unaltered,
original files must be preserved in all copies of source original files must be preserved in all copies of source
...@@ -4517,7 +4517,7 @@ Legal Terms ...@@ -4517,7 +4517,7 @@ Legal Terms
http://www.freetype.org http://www.freetype.org
--- end of FTL.TXT --- --- end of FXL.TXT ---
==================================================================================================== ====================================================================================================
==================================================================================================== ====================================================================================================
......
...@@ -58,7 +58,7 @@ source_set("vulkan") { ...@@ -58,7 +58,7 @@ source_set("vulkan") {
} }
deps = [ deps = [
"//garnet/public/lib/ftl", "//garnet/public/lib/fxl",
"//third_party/skia", "//third_party/skia",
"//third_party/skia:gpu", "//third_party/skia:gpu",
] ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册