From 1d13fb7be58a0909f532e4f4da572e69ecbb2c8e Mon Sep 17 00:00:00 2001 From: weili Date: Fri, 1 Jul 2016 15:59:48 -0700 Subject: Enable compiling with clang chrome plugins for GYP build For standalone build, enable the compilation with clang_use_chrome_plugins. Also remove the previous clang_use_pdfium_plugins to be consistent with chrome build, also avoid errors on chromeos_ozone build. BUG=pdfium:469 Review-Url: https://codereview.chromium.org/2115813002 --- build_gyp/standalone.gypi | 53 +++++++++++++++++++++++++++++++++++++++++++++++ pdfium.gyp | 41 +++--------------------------------- xfa.gyp | 3 +++ 3 files changed, 59 insertions(+), 38 deletions(-) diff --git a/build_gyp/standalone.gypi b/build_gyp/standalone.gypi index b2ec4b92c4..1affc3c82b 100644 --- a/build_gyp/standalone.gypi +++ b/build_gyp/standalone.gypi @@ -42,8 +42,10 @@ }, 'host_arch%': '<(host_arch)', 'target_arch%': '<(target_arch)', + 'clang_use_chrome_plugins%': 0, }, 'clang_dir%': 'third_party/llvm-build/Release+Asserts', + 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', # These two are needed by V8. 'host_arch%': '<(host_arch)', 'target_arch%': '<(target_arch)', @@ -71,6 +73,40 @@ }, { 'gomadir%': '