Merge to XFA: Make checkdeps --resolve-dotdot succeed.

This is just a straight-forward, partial merge. It does not
actually make checkdeps succeed.

R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1419373005 .

(cherry picked from commit 79f5a32175293620abe456554e10efb7c3f4e7c6)

Review URL: https://codereview.chromium.org/1409153007 .
diff --git a/third_party/DEPS b/third_party/DEPS
new file mode 100644
index 0000000..0b1a28f
--- /dev/null
+++ b/third_party/DEPS
@@ -0,0 +1,7 @@
+include_rules = [
+  # A lot of third_party code has been modified to use fxcrt.
+  '+core/include/fxcrt/fx_basic.h',
+  '+core/include/fxcrt/fx_coordinates.h',
+  '+core/include/fxcrt/fx_memory.h',
+  '+core/include/fxcrt/fx_system.h',
+]
diff --git a/third_party/agg23/agg_rasterizer_scanline_aa.cpp b/third_party/agg23/agg_rasterizer_scanline_aa.cpp
index 8216e60..46379f6 100644
--- a/third_party/agg23/agg_rasterizer_scanline_aa.cpp
+++ b/third_party/agg23/agg_rasterizer_scanline_aa.cpp
@@ -46,7 +46,6 @@
 // All other code is very different from the original.
 //
 //----------------------------------------------------------------------------
-#include "../../core/include/fxcrt/fx_ext.h"
 #include <limits.h>
 #include "agg_rasterizer_scanline_aa.h"
 namespace agg
diff --git a/third_party/agg23/agg_rasterizer_scanline_aa.h b/third_party/agg23/agg_rasterizer_scanline_aa.h
index da1900d..af31e0f 100644
--- a/third_party/agg23/agg_rasterizer_scanline_aa.h
+++ b/third_party/agg23/agg_rasterizer_scanline_aa.h
@@ -29,7 +29,8 @@
 //----------------------------------------------------------------------------
 #ifndef AGG_RASTERIZER_SCANLINE_AA_INCLUDED
 #define AGG_RASTERIZER_SCANLINE_AA_INCLUDED
-#include "../../core/include/fxge/fx_ge.h"
+#include "../../core/include/fxcrt/fx_coordinates.h"
+#include "../../core/include/fxcrt/fx_memory.h"
 #include "agg_basics.h"
 #include "agg_math.h"
 #include "agg_array.h"