web_engine_export.h 566 B

1234567891011121314151617181920
  1. // Copyright 2018 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef FUCHSIA_WEB_WEBENGINE_WEB_ENGINE_EXPORT_H_
  5. #define FUCHSIA_WEB_WEBENGINE_WEB_ENGINE_EXPORT_H_
  6. #if defined(COMPONENT_BUILD)
  7. #if defined(WEB_ENGINE_IMPLEMENTATION)
  8. #define WEB_ENGINE_EXPORT __attribute__((visibility("default")))
  9. #else
  10. #define WEB_ENGINE_EXPORT
  11. #endif
  12. #else // defined(COMPONENT_BUILD)
  13. #define WEB_ENGINE_EXPORT
  14. #endif
  15. #endif // FUCHSIA_WEB_WEBENGINE_WEB_ENGINE_EXPORT_H_