Index: ios/third_party/fishhook/BUILD.gn |
diff --git a/components/leveldb/public/interfaces/BUILD.gn b/ios/third_party/fishhook/BUILD.gn |
similarity index 50% |
copy from components/leveldb/public/interfaces/BUILD.gn |
copy to ios/third_party/fishhook/BUILD.gn |
index 0b95cf4b365afc2bf68220e01f2eca7ac41d5b35..80b10d5d4430197de2b2732cc62323b4530ea6c7 100644 |
--- a/components/leveldb/public/interfaces/BUILD.gn |
+++ b/ios/third_party/fishhook/BUILD.gn |
@@ -2,14 +2,17 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-import("//mojo/public/tools/bindings/mojom.gni") |
+config("public_config") { |
sdefresne
2016/02/24 09:46:25
rename this to fishhook_config
baxley
2016/02/24 15:29:23
Done.
|
+ include_dirs = [ "src" ] |
sdefresne
2016/02/24 09:46:25
visibility = [ ":fishhook" ]
baxley
2016/02/24 15:29:23
Done.
|
+} |
+ |
+source_set("fishhook") { |
+ testonly = true |
sdefresne
2016/02/24 09:46:25
no blank line here
baxley
2016/02/24 15:29:23
Done.
|
-mojom("interfaces") { |
sources = [ |
- "leveldb.mojom", |
+ "src/fishhook.c", |
+ "src/fishhook.h", |
] |
- deps = [ |
- "//components/filesystem/public/interfaces", |
- ] |
+ public_configs = [ ":public_config" ] |
sdefresne
2016/02/24 09:46:25
public_configs = [ ":fishhook_config" ]
baxley
2016/02/24 15:29:23
Done.
|
} |
sdefresne
2016/02/24 09:46:25
configs += [ ":fishhook_config" ]
|