Namespace imports with flutter (flutter/engine#44709)

For Google3, this makes it easier since we only need to make one source transform (from `#include "flutter` -> `#include "third_party` instead of requiring a source transform for every root directory in this repo.

*List which issues are fixed by this PR. You must list at least one issue.*

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
Jia Hao
2023-08-15 14:03:54 +08:00
committed by GitHub
parent a82b81e2db
commit 1f58484e28
5 changed files with 5 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
#include <android/hardware_buffer_jni.h>
#include <android/sensor.h>
#include "shell/platform/android/ndk_helpers.h"
#include "flutter/shell/platform/android/ndk_helpers.h"
namespace flutter {

View File

@@ -7,12 +7,12 @@
#include <android/hardware_buffer_jni.h>
#include <android/sensor.h>
#include "flutter/common/graphics/texture.h"
#include "flutter/shell/platform/android/ndk_helpers.h"
#include "impeller/core/formats.h"
#include "impeller/display_list/dl_image_impeller.h"
#include "impeller/renderer/backend/gles/texture_gles.h"
#include "impeller/toolkit/egl/image.h"
#include "impeller/toolkit/gles/texture.h"
#include "shell/platform/android/ndk_helpers.h"
#include "flutter/display_list/effects/dl_color_source.h"
#include "third_party/skia/include/core/SkAlphaType.h"

View File

@@ -5,7 +5,6 @@
#include "flutter/shell/platform/android/ndk_helpers.h"
#include "fml/native_library.h"
#include "shell/platform/android/ndk_helpers.h"
#include "flutter/fml/logging.h"

View File

@@ -7,19 +7,19 @@
#include <memory>
#include <utility>
#include "common/graphics/texture.h"
#include "flutter/common/graphics/texture.h"
#include "flutter/fml/synchronization/waitable_event.h"
#include "flutter/shell/common/shell_io_manager.h"
#include "flutter/shell/gpu/gpu_surface_gl_delegate.h"
#include "flutter/shell/platform/android/android_context_gl_impeller.h"
#include "flutter/shell/platform/android/android_context_gl_skia.h"
#include "flutter/shell/platform/android/android_context_vulkan_impeller.h"
#include "flutter/shell/platform/android/android_external_texture_gl.h"
#include "flutter/shell/platform/android/android_surface_gl_impeller.h"
#include "flutter/shell/platform/android/android_surface_gl_skia.h"
#include "flutter/shell/platform/android/android_surface_software.h"
#include "flutter/shell/platform/android/hardware_buffer_external_texture_gl.h"
#include "flutter/shell/platform/android/hardware_buffer_external_texture_vk.h"
#include "shell/platform/android/android_context_vulkan_impeller.h"
#if IMPELLER_ENABLE_VULKAN // b/258506856 for why this is behind an if
#include "flutter/shell/platform/android/android_surface_vulkan_impeller.h"
#endif

View File

@@ -12,8 +12,8 @@
#include <sstream>
#include <utility>
#include "flutter/shell/platform/android/ndk_helpers.h"
#include "include/android/SkImageAndroid.h"
#include "shell/platform/android/ndk_helpers.h"
#include "unicode/uchar.h"
#include "flutter/assets/directory_asset_bundle.h"