diff --git a/third_party/ijar/BUILD.gn b/third_party/ijar/BUILD.gn index 8dc9fe21cf8..49c50e6636f 100644 --- a/third_party/ijar/BUILD.gn +++ b/third_party/ijar/BUILD.gn @@ -4,7 +4,7 @@ # A tool that removes all non-interface-specific parts from a .jar file. -if (is_linux || is_chromeos) { +if (is_linux || is_chromeos || is_mac) { config("ijar_compiler_flags") { if (is_clang) { cflags = [ diff --git a/third_party/jdk/BUILD.gn b/third_party/jdk/BUILD.gn index e003eef94d7..ec49922942b 100644 --- a/third_party/jdk/BUILD.gn +++ b/third_party/jdk/BUILD.gn @@ -3,10 +3,12 @@ # found in the LICENSE file. config("jdk") { - include_dirs = [ - "current/include", - "current/include/linux", - ] + include_dirs = [ "current/include" ] + if (host_os == "mac") { + include_dirs += [ "current/include/darwin" ] + } else { + include_dirs += [ "current/include/linux" ] + } } group("java_data") {