Marc Gasol agreed to join the Los Angeles Lakers, ending his stint with the Toronto Raptors.