Hash :
d7d42540
Author :
Date :
2019-08-21T15:22:49
Don't build symbol table for GLSL built-ins if on Android The GLSL + ESSL autogenerated symbol table is too large for android, and android also doesn't need desktop GL functionality If on android, compile the ESSL only symbol table Bug: chromium:996286 Change-Id: I14dfc7748dae389e78c35f82a390c67962665356 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1757372 Commit-Queue: Clemen Deng <clemendeng@google.com> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org>
// Copyright 2019 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// ParseContext_interm.h:
// Chooses ParseContext_complete_autogen.h or ParseContext_ESSL_autogen.h
// depending on whether platform is android
#ifndef COMPILER_TRANSLATOR_PARSECONTEXT_INTERM_H_
#define COMPILER_TRANSLATOR_PARSECONTEXT_INTERM_H_
#if defined(ANDROID)
# include "ParseContext_ESSL_autogen.h"
#else
# include "ParseContext_complete_autogen.h"
#endif
#endif // COMPILER_TRANSLATOR_PARSECONTEXT_INTERM_H_