diff --git a/fml/BUILD.gn b/fml/BUILD.gn index 3a720fae2f9fb5c0360dddfb560e987324062366..a8d1e699451168d39ba4f0fb1e43df4af47a2acc 100644 --- a/fml/BUILD.gn +++ b/fml/BUILD.gn @@ -15,8 +15,6 @@ source_set("fml") { "base32.h", "build_config.h", "closure.h", - "command_line.cc", - "command_line.h", "compiler_specific.h", "concurrent_message_loop.cc", "concurrent_message_loop.h", @@ -96,7 +94,7 @@ source_set("fml") { sources += [ "backtrace_stub.cc" ] } - public_deps = [] + public_deps = [ ":command_line" ] deps = [ "//third_party/dart/runtime:dart_api", @@ -224,6 +222,18 @@ source_set("fml") { } } +source_set("command_line") { + sources = [ + "command_line.cc", + "command_line.h", + ] + + public_configs = [ + "//flutter:config", + "//flutter/common:flutter_config", + ] +} + if (enable_unittests) { test_fixtures("fml_fixtures") { fixtures = []