Skip to content

Commit

Permalink
Fix include paths to help building flutter runner for Fuchsia in Goog…
Browse files Browse the repository at this point in the history
…le3. (flutter#18840)

Include header file without absolute path if the header file belongs to
the same directory as source file.
  • Loading branch information
pguruji authored Jun 6, 2020
1 parent c0365be commit 6734ab3
Show file tree
Hide file tree
Showing 37 changed files with 77 additions and 78 deletions.
6 changes: 3 additions & 3 deletions flow/layers/child_scene_layer.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#ifndef FLUTTER_FLOW_LAYERS_CHILD_SCENE_LAYER_H_
#define FLUTTER_FLOW_LAYERS_CHILD_SCENE_LAYER_H_

#include <third_party/skia/include/core/SkMatrix.h>
#include <third_party/skia/include/core/SkPoint.h>
#include <third_party/skia/include/core/SkSize.h>
#include "third_party/skia/include/core/SkMatrix.h"
#include "third_party/skia/include/core/SkPoint.h"
#include "third_party/skia/include/core/SkSize.h"

#include "flutter/flow/layers/layer.h"
#include "flutter/flow/scene_update_context.h"
Expand Down
6 changes: 3 additions & 3 deletions flow/view_holder.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
#include <fuchsia/ui/views/cpp/fidl.h>
#include <lib/ui/scenic/cpp/id.h>
#include <lib/ui/scenic/cpp/resources.h>
#include <third_party/skia/include/core/SkMatrix.h>
#include <third_party/skia/include/core/SkPoint.h>
#include <third_party/skia/include/core/SkSize.h>
#include <zircon/types.h>
#include "third_party/skia/include/core/SkMatrix.h"
#include "third_party/skia/include/core/SkPoint.h"
#include "third_party/skia/include/core/SkSize.h"

#include <memory>

Expand Down
6 changes: 3 additions & 3 deletions shell/platform/fuchsia/runtime/dart/utils/files.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "runtime/dart/utils/files.h"
#include "files.h"

#include <fcntl.h>
#include <stdint.h>

#include "runtime/dart/utils/inlines.h"
#include "runtime/dart/utils/logging.h"
#include "inlines.h"
#include "logging.h"

namespace dart_utils {

Expand Down
4 changes: 2 additions & 2 deletions shell/platform/fuchsia/runtime/dart/utils/handle_exception.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "runtime/dart/utils/handle_exception.h"
#include "handle_exception.h"

#include <fuchsia/feedback/cpp/fidl.h>
#include <fuchsia/mem/cpp/fidl.h>
Expand All @@ -14,7 +14,7 @@

#include <string>

#include "runtime/dart/utils/logging.h"
#include "logging.h"

namespace {
static bool SetStackTrace(const std::string& data,
Expand Down
5 changes: 2 additions & 3 deletions shell/platform/fuchsia/runtime/dart/utils/mapped_resource.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@
#include <zircon/dlfcn.h>
#include <zircon/status.h>

#include "inlines.h"
#include "logging.h"
#include "runtime/dart/utils/inlines.h"
#include "runtime/dart/utils/logging.h"
#include "runtime/dart/utils/vmo.h"
#include "third_party/dart/runtime/include/dart_api.h"
#include "vmo.h"

namespace dart_utils {

Expand Down
4 changes: 2 additions & 2 deletions shell/platform/fuchsia/runtime/dart/utils/tempfs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "runtime/dart/utils/tempfs.h"
#include "tempfs.h"

#include <future>
#include <string>
Expand All @@ -18,7 +18,7 @@
#include <zircon/status.h>
#include <zircon/syscalls.h>

#include "runtime/dart/utils/logging.h"
#include "logging.h"

namespace {

Expand Down
4 changes: 2 additions & 2 deletions shell/platform/fuchsia/runtime/dart/utils/vmo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "runtime/dart/utils/vmo.h"
#include "vmo.h"

#include <fcntl.h>
#include <sys/stat.h>
Expand All @@ -14,7 +14,7 @@
#include <lib/syslog/global.h>
#include <zircon/status.h>

#include "runtime/dart/utils/logging.h"
#include "logging.h"

namespace {

Expand Down
4 changes: 2 additions & 2 deletions shell/platform/fuchsia/runtime/dart/utils/vmservice_object.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "runtime/dart/utils/vmservice_object.h"
#include "vmservice_object.h"

#include <dirent.h>
#include <errno.h>
Expand All @@ -12,7 +12,7 @@
#include <lib/syslog/global.h>
#include <zircon/status.h>

#include "runtime/dart/utils/logging.h"
#include "logging.h"

namespace {

Expand Down
8 changes: 4 additions & 4 deletions vulkan/vulkan_application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "flutter/vulkan/vulkan_application.h"
#include "vulkan_application.h"

#include <utility>
#include <vector>

#include "flutter/vulkan/vulkan_device.h"
#include "flutter/vulkan/vulkan_proc_table.h"
#include "flutter/vulkan/vulkan_utilities.h"
#include "vulkan_device.h"
#include "vulkan_proc_table.h"
#include "vulkan_utilities.h"

namespace vulkan {

Expand Down
4 changes: 2 additions & 2 deletions vulkan/vulkan_application.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include <string>
#include <vector>
#include "flutter/fml/macros.h"
#include "flutter/vulkan/vulkan_debug_report.h"
#include "flutter/vulkan/vulkan_handle.h"
#include "vulkan_debug_report.h"
#include "vulkan_handle.h"

namespace vulkan {

Expand Down
4 changes: 2 additions & 2 deletions vulkan/vulkan_backbuffer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "flutter/vulkan/vulkan_backbuffer.h"
#include "vulkan_backbuffer.h"

#include <limits>

#include "flutter/vulkan/vulkan_proc_table.h"
#include "third_party/skia/include/gpu/vk/GrVkTypes.h"
#include "vulkan/vulkan.h"
#include "vulkan_proc_table.h"

namespace vulkan {

Expand Down
4 changes: 2 additions & 2 deletions vulkan/vulkan_backbuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

#include "flutter/fml/compiler_specific.h"
#include "flutter/fml/macros.h"
#include "flutter/vulkan/vulkan_command_buffer.h"
#include "flutter/vulkan/vulkan_handle.h"
#include "third_party/skia/include/core/SkSize.h"
#include "third_party/skia/include/core/SkSurface.h"
#include "vulkan_command_buffer.h"
#include "vulkan_handle.h"

namespace vulkan {

Expand Down
4 changes: 2 additions & 2 deletions vulkan/vulkan_command_buffer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "flutter/vulkan/vulkan_command_buffer.h"
#include "vulkan_command_buffer.h"

#include "flutter/vulkan/vulkan_proc_table.h"
#include "vulkan_proc_table.h"

namespace vulkan {

Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkan_command_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "flutter/fml/compiler_specific.h"
#include "flutter/fml/macros.h"
#include "flutter/vulkan/vulkan_handle.h"
#include "vulkan_handle.h"

namespace vulkan {

Expand Down
4 changes: 2 additions & 2 deletions vulkan/vulkan_debug_report.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "flutter/vulkan/vulkan_debug_report.h"
#include "vulkan_debug_report.h"

#include <iomanip>
#include <vector>

#include "flutter/fml/compiler_specific.h"
#include "flutter/vulkan/vulkan_utilities.h"
#include "vulkan_utilities.h"

namespace vulkan {

Expand Down
6 changes: 3 additions & 3 deletions vulkan/vulkan_debug_report.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#define FLUTTER_VULKAN_VULKAN_DEBUG_REPORT_H_

#include "flutter/fml/macros.h"
#include "flutter/vulkan/vulkan_handle.h"
#include "flutter/vulkan/vulkan_interface.h"
#include "flutter/vulkan/vulkan_proc_table.h"
#include "vulkan_handle.h"
#include "vulkan_interface.h"
#include "vulkan_proc_table.h"

namespace vulkan {

Expand Down
8 changes: 4 additions & 4 deletions vulkan/vulkan_device.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "flutter/vulkan/vulkan_device.h"
#include "vulkan_device.h"

#include <limits>
#include <map>
#include <vector>

#include "flutter/vulkan/vulkan_proc_table.h"
#include "flutter/vulkan/vulkan_surface.h"
#include "flutter/vulkan/vulkan_utilities.h"
#include "third_party/skia/include/gpu/vk/GrVkBackendContext.h"
#include "vulkan_proc_table.h"
#include "vulkan_surface.h"
#include "vulkan_utilities.h"

namespace vulkan {

Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkan_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include "flutter/fml/compiler_specific.h"
#include "flutter/fml/macros.h"
#include "flutter/vulkan/vulkan_handle.h"
#include "vulkan_handle.h"

namespace vulkan {

Expand Down
6 changes: 3 additions & 3 deletions vulkan/vulkan_image.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "flutter/vulkan/vulkan_image.h"
#include "vulkan_image.h"

#include "flutter/vulkan/vulkan_command_buffer.h"
#include "flutter/vulkan/vulkan_proc_table.h"
#include "vulkan_command_buffer.h"
#include "vulkan_proc_table.h"

namespace vulkan {

Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkan_image.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "flutter/fml/compiler_specific.h"
#include "flutter/fml/macros.h"
#include "flutter/vulkan/vulkan_handle.h"
#include "vulkan_handle.h"

namespace vulkan {

Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkan_interface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "flutter/vulkan/vulkan_interface.h"
#include "vulkan_interface.h"

namespace vulkan {

Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkan_native_surface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "flutter/vulkan/vulkan_native_surface.h"
#include "vulkan_native_surface.h"

namespace vulkan {

Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkan_native_surface_android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "flutter/vulkan/vulkan_native_surface_android.h"
#include "vulkan_native_surface_android.h"

#include <android/native_window.h>

Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkan_native_surface_android.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define FLUTTER_VULKAN_VULKAN_NATIVE_SURFACE_ANDROID_H_

#include "flutter/fml/macros.h"
#include "flutter/vulkan/vulkan_native_surface.h"
#include "vulkan_native_surface.h"

struct ANativeWindow;
typedef struct ANativeWindow ANativeWindow;
Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkan_proc_table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "flutter/vulkan/vulkan_proc_table.h"
#include "vulkan_proc_table.h"

#include <dlfcn.h>

Expand Down
4 changes: 2 additions & 2 deletions vulkan/vulkan_proc_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
#include "flutter/fml/macros.h"
#include "flutter/fml/memory/ref_counted.h"
#include "flutter/fml/memory/ref_ptr.h"
#include "flutter/vulkan/vulkan_handle.h"
#include "flutter/vulkan/vulkan_interface.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "third_party/skia/include/gpu/vk/GrVkBackendContext.h"
#include "vulkan_handle.h"
#include "vulkan_interface.h"

namespace vulkan {

Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkan_provider.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "flutter/vulkan/vulkan_provider.h"
#include "vulkan_provider.h"

namespace vulkan {

Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkan_provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef FLUTTER_VULKAN_VULKAN_PROVIDER_H_
#define FLUTTER_VULKAN_VULKAN_PROVIDER_H_

#include "flutter/vulkan/vulkan_handle.h"
#include "vulkan_handle.h"

namespace vulkan {

Expand Down
6 changes: 3 additions & 3 deletions vulkan/vulkan_surface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "flutter/vulkan/vulkan_surface.h"
#include "vulkan_surface.h"

#include "flutter/vulkan/vulkan_application.h"
#include "flutter/vulkan/vulkan_native_surface.h"
#include "vulkan_application.h"
#include "vulkan_native_surface.h"

namespace vulkan {

Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkan_surface.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#define FLUTTER_VULKAN_VULKAN_SURFACE_H_

#include "flutter/fml/macros.h"
#include "flutter/vulkan/vulkan_handle.h"
#include "third_party/skia/include/core/SkSize.h"
#include "vulkan_handle.h"

namespace vulkan {

Expand Down
Loading

0 comments on commit 6734ab3

Please sign in to comment.