Salma Hayek
Producer and cast member Salma Hayek-Pinault poses during the Los Angeles screening of Khalil Gibran's "The Prophet" at Los Angeles County Museum of Art's Bing Theater, Wednesday, July 29, 2015. The animated feature will open in New York and Los Angeles on Aug. 7. Reuters/Kevork Djansezian

Without speaking Donald Trump's name, actress Salma Hayek says the Republican presidential candidate is maliciously attacking immigrants just to “attract attention and create publicity around him.”

The Mexican-born actress discussed Trump with E! Online's Marc Malkin during the promotion of her new animated film “Kahlil Gibran's The Prophet.” "If something generates publicity, I would never be surprised about anything he does," she said.

"I'd be surprised if he did something courageous and meaningful that nobody found out about," she continued, adding that what Trump said was “not courageous and meaningful." However, "at least be brought a light to a real problem," Hayek said.

The actress looked stunning in a backless black dress and smart Gucci stilettos at the premiere of “Kahlil Gibran's The Prophet” at the Bing Theatre in the Los Angeles County Museum of Art on Wednesday. She was accompanied by her 7-year-old daughter, Valentina Paloma, who expressed her feelings in a poem after watching the movie. "My daughter came home and wrote a poem about how we are spirits and nothing can incarcerate us, not even our own bodies because our spirit is free and because we are free and we are spirits, we never die. We are eternal," Hayek told E!

Hayek produced the movie as well. Other voice actors in it are Quvenzhané Wallis and Liam Neeson.

“Kahlil Gibran's The Prophet” hits U.S. theaters on Aug. 7.