move event files to yoga/events folder

Summary: Moved events files to yoga/events for better code structure

Reviewed By: davidaurelio

Differential Revision: D15198566

fbshipit-source-id: 74d451011841d59fae5a1c637f9c33a7d2d1f87e
This commit is contained in:
Sidharth Guglani
2019-05-09 07:42:34 -07:00
committed by Facebook Github Bot
parent 5824dbda66
commit 74fc37efc8
7 changed files with 9 additions and 9 deletions

8
BUCK
View File

@@ -21,9 +21,9 @@ TEST_COMPILER_FLAGS = BASE_COMPILER_FLAGS + GMOCK_OVERRIDE_FLAGS + [
yoga_cxx_library( yoga_cxx_library(
name = "yoga", name = "yoga",
srcs = glob(["yoga/*.cpp"]), srcs = glob(["yoga/**/*.cpp"]),
header_namespace = "", header_namespace = "",
exported_headers = subdir_glob([("", "yoga/*.h")]), exported_headers = subdir_glob([("", "yoga/**/*.h")]),
compiler_flags = COMPILER_FLAGS, compiler_flags = COMPILER_FLAGS,
soname = "libyogacore.$(ext)", soname = "libyogacore.$(ext)",
tests = [":YogaTests"], tests = [":YogaTests"],
@@ -35,9 +35,9 @@ yoga_cxx_library(
yoga_cxx_library( yoga_cxx_library(
name = "yogaForDebug", name = "yogaForDebug",
srcs = glob(["yoga/*.cpp"]), srcs = glob(["yoga/**/*.cpp"]),
header_namespace = "", header_namespace = "",
exported_headers = subdir_glob([("", "yoga/*.h")]), exported_headers = subdir_glob([("", "yoga/**/*.h")]),
compiler_flags = TEST_COMPILER_FLAGS, compiler_flags = TEST_COMPILER_FLAGS,
soname = "libyogacore.$(ext)", soname = "libyogacore.$(ext)",
tests = [":YogaTests"], tests = [":YogaTests"],

View File

@@ -6,7 +6,7 @@
*/ */
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <yoga/Yoga.h> #include <yoga/Yoga.h>
#include <yoga/events.h> #include <yoga/event/event.h>
#include <yoga/YGNode.h> #include <yoga/YGNode.h>
#include <yoga/testutil/testutil.h> #include <yoga/testutil/testutil.h>

View File

@@ -7,7 +7,7 @@
#include "testutil.h" #include "testutil.h"
#include <yoga/YGNode.h> #include <yoga/YGNode.h>
#include <yoga/events.h> #include <yoga/event/event.h>
#include <utility> #include <utility>

View File

@@ -6,7 +6,7 @@
*/ */
#pragma once #pragma once
#include <yoga/events.h> #include <yoga/event/event.h>
#include <functional> #include <functional>

View File

@@ -13,7 +13,7 @@
#include "YGNode.h" #include "YGNode.h"
#include "YGNodePrint.h" #include "YGNodePrint.h"
#include "Yoga-internal.h" #include "Yoga-internal.h"
#include "events.h" #include "event/event.h"
#include "instrumentation.h" #include "instrumentation.h"
#ifdef _MSC_VER #ifdef _MSC_VER
#include <float.h> #include <float.h>

View File

@@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the LICENSE * This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree. * file in the root directory of this source tree.
*/ */
#include "events.h" #include "event.h"
#include <memory> #include <memory>
#include <stdexcept> #include <stdexcept>